You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tim Cooper 858c2ad4c8 oauth2: turn Transport.CancelRequest into a no-op 1 year ago
amazon amazon: add amazon endpoints 2 years ago
bitbucket bitbucket: add end points 4 years ago
cern cern: add CERN OAuth endpoint 1 year ago
clientcredentials oauth2: auto-detect auth style by default, add Endpoint.AuthStyle 10 months ago
facebook internal: remove fallback parsing for expires_in 8 months ago
fitbit fitbit: add Fitbit API endpoints 3 years ago
foursquare oauth2: add Foursquare's Endpoint 3 years ago
github all: change copyright to 'Go Authors' 4 years ago
gitlab gitlab: Use correct endpoint URLs 1 year ago
google google: add some metadata to GCE tokens to identify the token's source 6 months ago
heroku heroku: Add Heroku's endpoints 3 years ago
hipchat hipchat: Generate Config for Connect integrations 3 years ago
instagram instagram: add Instagram endpoints 1 year ago
internal internal: remove fallback parsing for expires_in 8 months ago
jira jira: update jira JWT subject per Atlassian's recent GDPR changes 2 weeks ago
jws oauth2, jws, internal: more style fixes for bad test messages 3 years ago
jwt jwt: support PrivateClaims in Config 6 months ago
kakao kakao: Add new endpoint of Kakao 1 year ago
linkedin oauth2: auto-detect auth style by default, add Endpoint.AuthStyle 10 months ago
mailchimp mailchimp: add MailChimp provider 1 year ago
mailru mailru: add Mail.Ru OAuth2 endpoint 2 years ago
mediamath mediamath: add MediaMath endpoints 3 years ago
microsoft microsoft: improve azure active directory endpoint 2 years ago
nokiahealth nokiehealth: add endpoint for Nokia Health Mate 1 year ago
odnoklassniki all: change copyright to 'Go Authors' 4 years ago
paypal all: change copyright to 'Go Authors' 4 years ago
slack slack: new package with Slack's endpoints 3 years ago
spotify spotify: add Spotify endpoints 1 year ago
stackoverflow stackoverflow: add stackoverflow oauth2 endpoints. 1 year ago
twitch twitch: update to new endpoint 1 year ago
uber uber: Add Uber API endpoints 3 years ago
vk all: change copyright to 'Go Authors' 4 years ago
yahoo yahoo: add Yahoo OAuth2 endpoint 2 years ago
yandex oauth2: add Yandex endpoint 2 years ago
.travis.yml travis: always build against tip 3 years ago
AUTHORS Reverting the license back to the original. 5 years ago
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 1 year ago
CONTRIBUTORS Reverting the license back to the original. 5 years ago
LICENSE LICENSE: attribute to the Go authors 2 years ago
README.md google: remove legacy App Engine context stuff 10 months ago
example_test.go oauth2: improve the custom HTTP client example 2 years ago
go.mod oauth2: add module definition 11 months ago
go.sum oauth2: add module definition 11 months ago
oauth2.go google: update ApprovalForce to use openid connect friendly prompt=consent 6 months ago
oauth2_test.go google: update ApprovalForce to use openid connect friendly prompt=consent 6 months ago
token.go oauth2: auto-detect auth style by default, add Endpoint.AuthStyle 10 months ago
token_test.go oauth2: deflake test relying on time.Now values 11 months ago
transport.go oauth2: turn Transport.CancelRequest into a no-op 1 week ago
transport_test.go oauth2: close request body if errors occur before base RoundTripper is invoked 1 year ago

README.md

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. For defining provider endpoints and provider-specific OAuth2 behavior, we encourage you to create packages elsewhere. We’ll keep the existing packages for compatibility.

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.