You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use keycloak 19 for integrating to an external identity provider by saml. If I click 'cancel' in external IDP authentication, it send to keycloak saml response with following error:
...
saml2p:Status
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Requester">
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:AuthnFailed" />
</saml2p:StatusCode>
saml2p:StatusMessageAn error occurred.</saml2p:StatusMessage>
</saml2p:Status>
</saml2p:Response>
Keycloak shows 'We are sorry...' page with 'An error occurred' text. Preferred functionality is to get directly back to application where started authentication flow.
If I configure in keycloak admin console realm -> clients -> -> Home URL url where I want get after clicking 'cancel', keycloak still opens 'We are sorry..." page, this time with link to correct place.This is a bit better, but not what I want.
How I configure keycloak so that it can redirect back to application without showing 'We are sorry...' page?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I use keycloak 19 for integrating to an external identity provider by saml. If I click 'cancel' in external IDP authentication, it send to keycloak saml response with following error:
...
saml2p:Status
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Requester">
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:AuthnFailed" />
</saml2p:StatusCode>
saml2p:StatusMessageAn error occurred.</saml2p:StatusMessage>
</saml2p:Status>
</saml2p:Response>
Keycloak shows 'We are sorry...' page with 'An error occurred' text. Preferred functionality is to get directly back to application where started authentication flow.
If I configure in keycloak admin console realm -> clients -> -> Home URL url where I want get after clicking 'cancel', keycloak still opens 'We are sorry..." page, this time with link to correct place.This is a bit better, but not what I want.
How I configure keycloak so that it can redirect back to application without showing 'We are sorry...' page?
regards, Matti
All reactions
Replies: 1 comment
Uh oh!
There was an error while loading. Please reload this page.
Anyone dealing with identity provider saml response with other status code than success?
All reactions