commit | 9095a51613032fc4f54e91b3c67c0a922d990bfb | [log] [tgz] |
---|---|---|
author | M Hickford <mirth.hickford@gmail.com> | Fri Sep 22 14:28:09 2023 +0000 |
committer | Gopher Robot <gobot@golang.org> | Fri Sep 22 16:24:29 2023 +0000 |
tree | e84f2e3570ad439f3f32c3e3243ddadf2c5a1211 | |
parent | 2d9e4a2adf33fc3ce68d77995fadda7234520e5c [diff] |
oauth2: clarify error if endpoint missing DeviceAuthURL Change-Id: I36eb5eb66099161785160f4f39ea1c7f64ad6e74 GitHub-Last-Rev: 31cfe8150fa630b67b8e0a75d5ebb8890f979a6d GitHub-Pull-Request: golang/oauth2#664 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/526302 Reviewed-by: Matthew Dempsky <mdempsky@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Bryan Mills <bcmills@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.
The main issue tracker for the oauth2 repository is located at https://github.com/golang/oauth2/issues.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. In particular: