-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[All] Add post_logout_redirect_uri configuration #531
base: main
Are you sure you want to change the base?
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
for more information, see https://pre-commit.ci
…token_hint_redirect # Conflicts: # oauthenticator/oauth2.py
for more information, see https://pre-commit.ci
Note that you need to request the 'openid' scope to get an 'id_token'
|
@GeorgianaElena Any update on this? :) |
Quick workaround without the need of |
# Conflicts: # oauthenticator/generic.py
for more information, see https://pre-commit.ci
For some reason, extra_params with client_id and secret needs to be present in your config file.
|
To logout, the openid specs requires a id_token_hint as parameter which is provided along with the access_token. So I added that value to the auth_state. After logout, it is possible to provide a URI where the user is redirected. This URI can be set with the traitlets post_logout_redirect_uri.
https://openid.net/specs/openid-connect-rpinitiated-1_0.html#RPLogout