-
Notifications
You must be signed in to change notification settings - Fork 999
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
Support OAuth2 Device Flow #418
Comments
I think this is the last actual PR #578 |
Is there any known alternative until this topic is resolved? Edit: Found https://github.com/zitadel/oidc/blob/main/example/client/device/device.go |
https://github.com/cli/oauth and https://github.com/int128/oauth2dev |
Proposal accepted, implementation ready for review at https://go-review.googlesource.com/c/oauth2/+/450155 |
Device Authorization Grant following RFC 8628 https://datatracker.ietf.org/doc/html/rfc8628 Tested with GitHub Fixes golang#418 Fixes golang/go#58126 Co-authored-by: cmP <[email protected]> Change-Id: Id588867110c6a5289bf1026da5d7ead88f9c7d14 GitHub-Last-Rev: 9a126d7 GitHub-Pull-Request: golang#609 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/450155 Commit-Queue: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Than McIntosh <[email protected]> Auto-Submit: Bryan Mills <[email protected]> Run-TryBot: Matt Hickford <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Run-TryBot: Bryan Mills <[email protected]>
I'm building an application for a limited-input device: https://developers.google.com/identity/sign-in/devices
I am building most of the "machinery" myself - clients to call the endpoint, sending a request for the ID and Refresh tokens. I'm able to crib a few things from
oauth2/google
like the refreshingTokenSource
and theConfigFromJSON
but have been unable to useNewClient
etc.It would be ideal if some combination of
oauth2
andoauth2/google
supported this workflow, so the code would be more-reviewed and have an API that fits nicely into the rest of the oauth2 package. It is an OAuth2 standard extension: https://www.oauth.com/oauth2-servers/device-flow/There is an open pull request that hasn't received a response: #356
Who is the Google maintainer for this package? I know @bradfitz no longer manages it.
The text was updated successfully, but these errors were encountered: