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

Cannot Poll more than one time for access token device code flow #627

Closed
dairoca90 opened this issue Jul 22, 2023 · 0 comments · Fixed by #670
Closed

Cannot Poll more than one time for access token device code flow #627

dairoca90 opened this issue Jul 22, 2023 · 0 comments · Fixed by #670
Assignees

Comments

@dairoca90
Copy link

Describe the bug
After polling more than one time for the access token returns an error in the device code flow, even do the user haven't submit the the user code yet.

{
"error_description": "The user has declined authorization",
"error": "authorization_declined"
}

To Reproduce
Steps to reproduce the behavior:

  1. Create an OAuth2Provider Service
  2. Create OAuth2 Client
  3. Request for device code
  4. poll more than once without submit the user code

Expected behavior
should give the following error
{
"error": "authorization_pending",
"error_description": "The user has not yet completed authorization"
}

This issue was closed.
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

Successfully merging a pull request may close this issue.

2 participants