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

Error "Invalid device flow scope" with googlesource.com #38

Open
hickford opened this issue Sep 14, 2023 · 2 comments
Open

Error "Invalid device flow scope" with googlesource.com #38

hickford opened this issue Sep 14, 2023 · 2 comments
Labels

Comments

@hickford
Copy link
Owner

If you use the -device flag with googlesource.com you get the following error:

2023/09/14 06:50:19 oauth2: cannot fetch token: 400 Bad Request
Response: {
  "error": "invalid_scope",
  "error_description": "Invalid device flow scope: https://www.googleapis.com/auth/gerritcodereview"
}
@hickford
Copy link
Owner Author

hickford commented Sep 14, 2023

This is blocked by Google support. It's necessary to add https://www.googleapis.com/auth/gerritcodereview to the allowed list of device flow scopes at https://developers.google.com/identity/protocols/oauth2/limited-input-device#allowedscopes

@hickford
Copy link
Owner Author

hickford commented Sep 15, 2023

Reported upstream https://issues.gerritcodereview.com/issues/300279941 please vote for it there

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

No branches or pull requests

1 participant