-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Logging out the client from the identity provider #3104
Comments
Not sure how similar my solution is to yours, but just in case here is what I have done:
In my case there is only one oidc provider, so there's a bit of hardcoding. If you know the logout route of each provider enabled in your app you can improve this accordingly. What it's doing is logging the user out of the oidc provider, if applicable, and then using The |
Question:
What is the recommended way of logging a user out from the identity provider using the allauth library?
Background
https://{KEYCLOAK_URL}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect/auth/?cleint_id=my_cleint&redirect_uri=https%3A%F2%F2my_domain.com
The problem
What I hope would happen
https://{KEYCLOAK_URL}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect/logout/?cleint_id=my_cleint&redirect_uri=https%3A%F2%F2my_domain.com
(note the 'logout' path in the url)How I have made it work
The text was updated successfully, but these errors were encountered: