Skip to content

Conversation

@rgisiger
Copy link

@rgisiger rgisiger commented Nov 2, 2025

Mainly to add the logout parameters from the OpenID Connect specs (client_id, id_token_hint, state, ui_locales, logout_hint).

But other parameters could be added too since it seems to be different for some OpenID Providers, cf. Amazon Cognito.

I am using Keycloak and it seems to require the id_token_hint when the post_logout_redirect_uri is passed.

PS: I tried to use the patch from #149 but it didn't work since I am using the Authorization Code flow and I couldn't access the access_token afterwards, so I will pass it as a request parameter of the logout path.

PS 2: I didn't understand the purpose of the id_token_hint option within the library, so I totally skip using it. By the way, when I search for it, it was only defined as an optional parameter for Rack::OAuth2 in the Server part (and not the Client part which this library is for).

Mainly to add the ones from the OpenID Connect specs (client_id, id_token_hint, state, ui_locales, logout_hint), but others could be added too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant