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

POST /logout should be useable without a session #692

Open
sebadob opened this issue Jan 8, 2025 · 0 comments
Open

POST /logout should be useable without a session #692

sebadob opened this issue Jan 8, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@sebadob
Copy link
Owner

sebadob commented Jan 8, 2025

The POST /auth/v1/oidc/logout currently does not work when an RP is using it directly with a POST. It requires an active session to be useable. It needs a small rework.

If should accept a url encoded body and as long as an id_token_hint is given, it should not require a valid session. In that case, extract the user information from the (validated) id_token and perform the logout procedure.

This will also fix a bug with the location header not being set properly with the given state.

@sebadob sebadob added the enhancement New feature or request label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant