-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
DELETE /oauth2/auth/sessions/login/{user}
returns 404
#1168
Comments
Which database are you using, MySQL or PostgreSQL? It's possible that the row check isn't working properly. |
Postgres 10.5 |
Interesting. Are you sure this happens every time? The code is written in a way that would only throw a 404 if no session exists. It might make sense to always return 200/201 here though. |
However, it seems like there is no proper test for this - putting it on the list for investigation. |
Closes #1168 Signed-off-by: arekkas <[email protected]>
Closes #1168 Signed-off-by: arekkas <[email protected]>
Closes #1168 Signed-off-by: arekkas <[email protected]>
Closes #1168 Signed-off-by: arekkas <[email protected]>
I have this exact issue with postgres 9.5. I didn't see a list of version compatibility. Is that located somewhere? |
looks like hydra expect subject as query argument |
Describe the bug
Unable to remove users session, where {user} is the subject. In our case, we set
subject
to be the user's UUID.To Reproduce
Make a DELETE request to
/oauth2/auth/sessions/login/{user}
Expected behavior
Invalidates a user's authentication session
Actual Behaviour
Version:
The text was updated successfully, but these errors were encountered: