thephpleague / oauth2-github

GitHub Provider for the OAuth 2.0 Client
MIT License
109 stars 29 forks source link

GitHub Device Authorization Flow #16

Open dpi opened 3 years ago

dpi commented 3 years ago

Github device flow was introduced recently @ https://github.blog/changelog/2020-07-27-oauth-2-0-device-authorization-flow/

Docs @ https://docs.github.com/en/free-pro-team@latest/developers/apps/authorizing-oauth-apps#device-flow

What is necessary to support this flow?

shadowhand commented 3 years ago

The device authorization flow is quite different than the flow that most league/oauth2 packages support, so it would probably require a number of changes in an extended Github class.