Anyone with experience getting SSO on Atlassian Datacenter products to work with Keycloak
I've added a new client with Keycloak, however the AuthnRequest keeps failing.
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="ONELOGIN_fa70f13e-5058-411b-9b57-787ac254cbfb" Version="2.0" IssueInstant="2020-02-17T17:51:16Z" Destination="https://URL/realms/corp/protocol/saml" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" AssertionConsumerServiceURL="https://URL/bitbucket/plugins/servlet/samlconsumer"><saml:Issuer>https://URL/bitbucket</saml:Issuer></samlp:AuthnRequest>
The error l see in the Keycloak logs is
error=invalid_authn_request, reason=invalid_destination
I would suggest try changing your destination URL to match your POST binding URL (i.e. the Atlassian product URL, not the Keycloak Realms URL)
Hi Richard,
Thank you for your quick response and my apologies for not replying sooner. I've tried setting both the Assertion Consumer Service POST Binding URL and Assertion Consumer Service Redirect Binding URL in keycloak. It still wouldn't work.
Please share your keycloak client config and the SSO config.
Hey, @esk , have you managed to resolve the issue? If yes, could you please share the solution?
It looks like you're new here. Sign in or register to get started.