Skip to content

Conversation

stevenh
Copy link
Contributor

@stevenh stevenh commented Oct 6, 2025

Correct the name of POST variable sent during OAuth device flow as documented in the GitHub API docs. This allows custom scopes to be requested, which were previously ignored.

https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps#step-1-app-requests-the-device-and-user-verification-codes-from-github

@stevenh stevenh force-pushed the fix/device-scopes branch from 8cee8ec to 45c83db Compare October 6, 2025 22:56
@stevenh stevenh marked this pull request as ready for review October 6, 2025 23:04
Correct the name of POST variable sent during OAuth device flow as
documented in the GitHub API docs. This allows custom scopes to be
requested, which were previously ignored.

https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps#step-1-app-requests-the-device-and-user-verification-codes-from-github
@stevenh stevenh force-pushed the fix/device-scopes branch from 45c83db to 71f649b Compare October 6, 2025 23:06
@yanyongyu yanyongyu added bug Something isn't working Rest API GraphQL labels Oct 7, 2025
@yanyongyu yanyongyu changed the title fix: oauth device flow scopes Fix: oauth device flow scopes param name error Oct 7, 2025
Copy link
Owner

@yanyongyu yanyongyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! LGTM

@yanyongyu yanyongyu merged commit 1b75c0b into yanyongyu:master Oct 7, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working GraphQL Rest API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants