Hey there, we are trying to deploy and run sonarqube 8.4 with saml integration ( w okta ) and we are running into an error
The response was received at http://sonar.url/oauth2/callback/saml instead of https://sonar.url/oauth2/callback/saml
The same configuration works on 8.3.
How and where is sonarqube deployed:
- We are deploying sonarqube using a helm chart on a k8s cluster (charts/charts/sonarqube at master · Oteemo/charts · GitHub)
- We are terminating SSL on the LoadBalancer ( HTTPS → LoadBalancer → (http)nginx-ingress-controller → (http)sonarqube )
- Relevant section of our values override:
image:
tag: 8.4-enterprise
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: <nginx-ingress-controller>
hosts:
- name: sonar.url
path: /
sonarProperties:
sonar.auth.saml.enabled: true
sonar.auth.saml.applicationId: sonarqube
sonar.auth.saml.providerName: <ProviderNameFromOkta>
sonar.auth.saml.providerId: http://okta.url/<providerID>
sonar.auth.saml.loginUrl: https://okta.url/sso/saml
sonar.auth.saml.user.login: login
sonar.auth.saml.user.name: name
sonar.auth.saml.user.email: email
sonar.auth.saml.group.name: groups
sonar.auth.saml.certificate.secured: <CERT>
sonar.core.serverBaseURL: https://sonar.url