Go OAuth2 packages

Clone this repo:

Branches

  1. bf48bf1 README, endpoints: fix a typo, update README to point people at endpoints by Brad Fitzpatrick · 3 months ago master
  2. eca8207 endpoints: add new package for oauth2.Endpoint values by Mark Wolfe · 3 months ago
  3. 858c2ad oauth2: turn Transport.CancelRequest into a no-op by Tim Cooper · 1 year, 9 months ago
  4. 5d9234d jira: update jira JWT subject per Atlassian's recent GDPR changes by Shaun Dunning · 4 months ago
  5. 0f29369 google: add some metadata to GCE tokens to identify the token's source by Chris Broadfoot · 11 months ago

OAuth2 for Go

Build Status GoDoc

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 godoc 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 godoc.org/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.