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

Oauth2 Authorization Code flow, can't log in after log out #115

Closed
MykytaKryvenko opened this issue Feb 12, 2019 · 2 comments
Closed

Oauth2 Authorization Code flow, can't log in after log out #115

MykytaKryvenko opened this issue Feb 12, 2019 · 2 comments

Comments

@MykytaKryvenko
Copy link

Steps to reproduce:

  1. Authorize with Oauth2 Authorization Code flow
  2. Press Log Out
  3. Try to authorize again

Expected result:
You can successfully log out and authorize again

Actual result:
Authorization after log out is failed

It seems that log out functionality does not flushes authorization code received after successful auth. When you log out and logging in again token request sent again with the same code, not with the new one.

@scottie1984
Copy link
Owner

This is likely an issue with swagger-ui (which is a dependency of this module). I can see a similar issue here but don't see a solution swagger-api/swagger-ui#3368

I suggest creating an issue with swagger-ui.

@MykytaKryvenko
Copy link
Author

@scottie1984 thanks!
Here is the link on created issue swagger-api/swagger-ui#5172 in case if someone experience the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants