emissary icon indicating copy to clipboard operation
emissary copied to clipboard

Logout using Ambassador and Keycloak does not redirect to redirect_uri on Keycloak.

Open ashmlk opened this issue 3 years ago • 1 comments

Ambassador and Keycloak logout cannot set redirect_uri on initiating RP logout

I have set up logging out via Ambassador and the Keycloak however, I recently noticed there is no way to set the redirect_uri in the javascript. According to Ambassador I currently use RP-initiated logout: https://www.getambassador.io/docs/latest/topics/using/filters/oauth2/#rp-initiated-logout

After this ir redirects me to: http://auth-server/auth/realms/{realm-name}/protocol/openid-connect/logout

However, according to Keycloak, we need to set up a redirect_uri=encodedRedirectUri

Is there a certain way that this can be done?

ashmlk avatar Mar 20 '21 02:03 ashmlk

It seems Keycloak supports this as of about March 2022, although it's unclear whether this would be enough. Leaving open as a feature request.

cindymullins-dw avatar Jul 16 '22 02:07 cindymullins-dw