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

logs.zip (4.3 MB)

Hi,

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?

 
:sweat_smile:
Ann

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|192.168.0.254:59956][login|]

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

Hi,

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

 
Ann

Yes I did, multiple times.

1 Like

Hi,

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

 
Ann

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.