commit | d04028783cf159bebfcd4fa66741a2193e2138a9 | [log] [tgz] |
---|---|---|
author | Shin Fan <shinfan@google.com> | Tue Jun 15 18:57:26 2021 +0000 |
committer | Shin Fan <shinfan@google.com> | Tue Jun 15 19:07:21 2021 +0000 |
tree | 75b0f446a11aed9f1d36beb780d5eb81e556a783 | |
parent | f6687ab2804cbebdfdeef385bee94918b1ce83de [diff] |
google: support scopes for JWT access token Change-Id: I11acd87a56cd003fdb68a5a687e37df450c400d1 GitHub-Last-Rev: efb2e8a08a8db0dc654298b90b814b3b7cb4d83d GitHub-Pull-Request: golang/oauth2#504 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/327929 Trust: Shin Fan <shinfan@google.com> Trust: Cody Oss <codyoss@google.com> Run-TryBot: Shin Fan <shinfan@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cody Oss <codyoss@google.com>
oauth2 package contains a client implementation for OAuth 2.0 spec.
go get golang.org/x/oauth2
Or you can manually git clone the repository to $(go env GOPATH)/src/golang.org/x/oauth2
.
See pkg.go.dev for further documentation and examples.
We no longer accept new provider-specific packages in this repo if all they do is add a single endpoint variable. If you just want to add a single endpoint, add it to the pkg.go.dev/golang.org/x/oauth2/endpoints package.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the oauth2 repository is located at https://github.com/golang/oauth2/issues.