SAML Authentication Test Fails

Running sonaqube:9.9-community LTS container behind AWS ALB.
When I test SAML authentication it fails with this message:

ERROR web[AYkNdaDPPOsbMDviAABN][c.o.s.a.SamlResponse] The response was received at http://localhost:9000/oauth2/callback/saml instead of https://mydomain.com/oauth2/callback/saml

Any thoughts on this?

Hey there.

While I’m not familiar with the specifics of Amazon ALB, this typically means the original Host header is not preserved (as mydomain.com) and X-Forwarderd-Proto is not set to https.