Open MykytaKryvenko opened 5 years ago
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.
if I reload the page after logging in, it shows as not logged in
@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 local-storage
is a good example of how to persist things in localStorage 😄
also see: #4904 and #4851.
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