Skip to content
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

feat(auth): logout route #96

Closed
wants to merge 3 commits into from
Closed

feat(auth): logout route #96

wants to merge 3 commits into from

Conversation

antonengelhardt
Copy link
Owner

Adds another Config option which clears the cookies that have been set by the plugin.

  • If the OIDC provider supports the end_session_endpoint the user will be redirected to this location. This clears all plugin and auth server cookies. The session will be fully terminated!
  • If the auth server does not support this, then the user will be redirected to /. In this case, the cookies from the auth server might still be set which automatically generates a new code. This results in a token reset and not in an actual logout.

OpenID Spec: https://arc.net/l/quote/inktedyu

Closes #94

@antonengelhardt antonengelhardt added semver:minor Release in the next minor version feature New Feature or enhancement labels Aug 29, 2024
@antonengelhardt antonengelhardt self-assigned this Aug 29, 2024
Signed-off-by: Anton Engelhardt <[email protected]>
@antonengelhardt
Copy link
Owner Author

also part of #99, closing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New Feature or enhancement semver:minor Release in the next minor version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logout Route to clear cookies
2 participants