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

Authorize after logout receives invalid_grant error #6959

Open
ecampoBilbomatica opened this issue Feb 18, 2021 · 4 comments
Open

Authorize after logout receives invalid_grant error #6959

ecampoBilbomatica opened this issue Feb 18, 2021 · 4 comments

Comments

@ecampoBilbomatica
Copy link

ecampoBilbomatica commented Feb 18, 2021

  • OS: Windows 10
  • Browser: Firefox
  • Version: 85.0.2
  • Method of installation: npm
  • Swagger-UI version: 3.43.0
  • Swagger/OpenAPI version: Swagger 2.0

When logging out after a successful logging, if the dialog window is not closed I receive a invalid_grant error from the server. It appears that the code is not being reset after logging out. The payload of the request seems to be the same

Steps to reproduce the behavior:

  1. Authorize
  2. Logout
  3. Try to authorize again without closing the dialog

Expected behavior
The API logging completes without error if the dialog is not closed.

Screenshots

The first code accepted
2021-02-18_15h35_51

The second code is not changed if the popup is not closed
image

@beatach
Copy link

beatach commented Feb 24, 2021

Possibly the same as #5172

@rwb196884
Copy link

Yeah, something is wrong here.

With Swagger and a client set up for code+PKCE I was getting invalid_grant but it worked in a private window.

@patrickmichalina
Copy link

Seeing this as well after logging out via the SwaggerUI OIDC window.

@nedcerneckis
Copy link

Getting this issue aswell

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

5 participants