Go OAuth2 packages

Clone this repo:
  1. e07593a oauth2: remove direct dependency on golang.org/x/net by Eric Chiang · 4 weeks ago master
  2. 34ffb07 go.mod: update golang.org/x dependencies by Gopher Robot · 5 weeks ago v0.4.0
  3. b177c21 go.mod: update golang.org/x dependencies by Gopher Robot · 9 weeks ago v0.3.0
  4. 510acbc google/internal/externalaccount: Added check for aws region and security credential environment variables before aws metadata call by aeitzman · 10 weeks ago
  5. ec4a9b2 google/internal/externalaccount: Adding metadata verification by Ryan Kohler · 3 months ago

OAuth2 for Go

Go Reference Build Status

oauth2 package contains a client implementation for OAuth 2.0 spec.

Installation

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.

Policy for new packages

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.

Report Issues / Send Patches

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.