SonarQube authentication with GitHub | Page just refreshes

The situation

Hello everyone, I am trying to delegate SonarQube authentication to GitHub.

The problem

I did everything as in the documentations, but when I open SonarQube and click on “Log in with GitHub”, the page refreshes and nothing happens.

What I have

  • Windows Server 2016 Standard
  • SonarQube Community Edition 9.6.1
  • Microsoft SQL Server 2019
  • OpenJDK 11

The logs (4.3 MB)


You’re most likely to find something about what’s going on in web.log, but 42k lines of debug logging is a bit much to get through. Instead, can you tail -f web.log and watch what happens while you’re trying to log in, and capture & forward that logging?


Thanks for answering Ann,

this is the line that appears (4 times) when I try to login:

2022.09.12 16:10:01 DEBUG web[AYMyCG0DoT635v0OAAAK][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|0:0:0:0:0:0:0:1|][login|]

The logs I sent before were in TRACE mode. Let me know if you need them in DEBUG or only in INFO.


Thanks for narrowing it down. Just to check, you’ve followed all the steps in the docs?


Yes I did, multiple times.

1 Like


Thanks for verifying. I’ve flagged this for more expert attention.


I resolved the issue.
The problem was the active flag of “Reverse rewrite host in response headers” on IIS.

Thanks for your attention Ann

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.