We are trying to set up the authentication with SAML using Okta but we are not able to access SonarQube after authentication due to an error.
Must-share information (formatted with Markdown):
- which versions are you using:Sonarqube Enterprise 10.5.1
- how is SonarQube deployed: It is an onprem installation
- what are you trying to achieve: Okta integration
- what have you tried so far to achieve this: The Okta authentication is working, but we receive an error after the response:
"You’re not authorized to access this page. Please contact the administrator.
Reason:
The response was received at hxxp://sonarqube.domain.com/oauth2/callback/saml instead of hxxps://sonarqube.domain.com/oauth2/callback/saml"
I’ve seen some other topics on how to solve this issue with a reverse proxy and we did try to use an IIS reverse proxy on the same server without luck. The traffic is redirected from the internal server through Kemp. We are looking for any possible help or clues that can help us identify the issue. The logs also don’t mention anything else except this error.
Thank you in advance.