-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Oauth2 Authorization Code flow, can't log in after log out #5172
Comments
I'm having the same issue. Also, if I reload the page after logging in, it shows as not logged in. |
Yeah, seems like we should be flushing the data between logins.
@cgenin7 this is expected behavior, we don't store auth information between refreshes. Feel free to write a plugin that achieves this, Swagger Editor's |
#5316 might solve this, cc @leggsimon |
I am having the same issue. Looks like #5316 solves it for api_key authorization, but not for OAuth2. |
When logging out using authorization code with PKCE it keeps returning invalid_grant (seems to not be clearing the authorization code). Only working if closing the popup. Detailed in #6959. |
Q&A (please complete the following information)
Describe the bug you're encountering
It seems that log out functionality does not flushes authorization code received after successful Oauth2 log in. When you log out and logging in again token request sent again with the same code, not with the new one.
To reproduce...
Expected behavior
You can successfully log out and authorize again with Authorization Code flow
The text was updated successfully, but these errors were encountered: