-
Notifications
You must be signed in to change notification settings - Fork 1k
authhandler: Add support for 3-legged-OAuth #419
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
Conversation
Add OAuthClientTokenSource in google/google.go Add DefaultAuthorizationHandler in authhandler.go
|
This PR (HEAD: ceaa866) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/232238 to see it. Tip: You can toggle comments from me using the |
|
Message from Gobot Gobot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Chris Broadfoot: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Chris Broadfoot: Patch Set 1: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Gobot Gobot: Patch Set 1: TryBots beginning. Status page: https://farmer.golang.org/try?commit=5ccda342 Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Gobot Gobot: Patch Set 1: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
This PR (HEAD: 04f020b) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/232238 to see it. Tip: You can toggle comments from me using the |
|
Message from Go Bot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Go Bot: Patch Set 1: TryBots beginning. Status page: https://farmer.golang.org/try?commit=5ccda342 Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Go Bot: Patch Set 1: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
Added authhandler.go, which implements a TokenSource to support "three-legged OAuth 2.0" via a custom AuthorizationHandler. Added default_authhandler.go to provide a command line implementation for AuthorizationHandler.
|
This PR (HEAD: 1105999) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/232238 to see it. Tip: You can toggle comments from me using the |
|
Message from Shin Fan: Patch Set 5: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Shin Fan: Patch Set 5: Run-TryBot+1 Trust+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Go Bot: Patch Set 5: TryBots beginning. Status page: https://farmer.golang.org/try?commit=49eca181 Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Go Bot: Patch Set 5: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Tyler Bui-Palsulich: Patch Set 5: (7 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Tyler Bui-Palsulich: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
This PR (HEAD: cde11fb) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/232238 to see it. Tip: You can toggle comments from me using the |
|
This PR (HEAD: 7c28922) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/232238 to see it. Tip: You can toggle comments from me using the |
|
Message from Andy Zhao: Patch Set 7: (10 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Cody Oss: Patch Set 7: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
This PR (HEAD: 8a926e1) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/232238 to see it. Tip: You can toggle comments from me using the |
|
Message from Andy Zhao: Patch Set 8: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Cody Oss: Patch Set 9: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
This PR (HEAD: ab12fee) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/232238 to see it. Tip: You can toggle comments from me using the |
|
Message from Andy Zhao: Patch Set 10: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Cody Oss: Patch Set 10: Run-TryBot+1 Code-Review+2 Trust+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Go Bot: Patch Set 10: TryBots beginning. Status page: https://farmer.golang.org/try?commit=82950d3a Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Go Bot: Patch Set 10: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
This PR (HEAD: fcaf078) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/232238 to see it. Tip: You can toggle comments from me using the |
|
Message from Andy Zhao: Patch Set 12: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Tyler Bui-Palsulich: Patch Set 12: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
This PR (HEAD: 48fc036) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/232238 to see it. Tip: You can toggle comments from me using the |
|
Message from Andy Zhao: Patch Set 13: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
Message from Tyler Bui-Palsulich: Patch Set 13: Code-Review+2 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
Added authhandler.go, which implements a TokenSource to support "three-legged OAuth 2.0" via a custom AuthorizationHandler. Added example_test.go with a sample command line implementation for AuthorizationHandler. This patch adds support for 3-legged-OAuth flow using an OAuth Client ID file downloaded from Google Cloud Console. Change-Id: Iefe54494d6f3ee326a6b1b2a81a7d5d1a7ba3331 GitHub-Last-Rev: 48fc036 GitHub-Pull-Request: #419 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/232238 Reviewed-by: Tyler Bui-Palsulich <tbp@google.com> Reviewed-by: Shin Fan <shinfan@google.com> Reviewed-by: Cody Oss <codyoss@google.com> Trust: Shin Fan <shinfan@google.com> Trust: Cody Oss <codyoss@google.com>
|
Message from Shin Fan: Patch Set 13: Code-Review+2 Trust+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/232238. |
|
This PR is being closed because golang.org/cl/232238 has been merged. |
Added authhandler.go, which implements a TokenSource to support "three-legged OAuth 2.0" via a custom AuthorizationHandler.
Added example_test.go with a sample command line implementation for AuthorizationHandler.
This patch adds support for 3-legged-OAuth flow using an OAuth Client ID file downloaded from Google Cloud Console.