You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6543 d1353e1f7c
Vendor Update (#14496)
* update code.gitea.io/sdk/gitea v0.13.1 -> v0.13.2

* update github.com/go-swagger/go-swagger v0.25.0 -> v0.26.0

* update github.com/google/uuid v1.1.2 -> v1.2.0

* update github.com/klauspost/compress v1.11.3 -> v1.11.7

* update github.com/lib/pq 083382b7e6fc -> v1.9.0

* update github.com/markbates/goth v1.65.0 -> v1.66.1

* update github.com/mattn/go-sqlite3 v1.14.4 -> v1.14.6

* update github.com/mgechev/revive 246eac737dc7 -> v1.0.3

* update github.com/minio/minio-go/v7 v7.0.6 -> v7.0.7

* update github.com/niklasfasching/go-org v1.3.2 -> v1.4.0

* update github.com/olivere/elastic/v7 v7.0.21 -> v7.0.22

* update github.com/pquerna/otp v1.2.0 -> v1.3.0

* update github.com/xanzy/go-gitlab v0.39.0 -> v0.42.0

* update github.com/yuin/goldmark v1.2.1 -> v1.3.1
3 years ago
..
google Vendor Update (#14496) 3 years ago
internal Update swagger to 0.20.1 (#8010) 5 years ago
jws migrate gplus to google oauth2 provider (#7885) 5 years ago
jwt migrate gplus to google oauth2 provider (#7885) 5 years ago
.travis.yml Use Go1.11 module (#5743) 5 years ago
AUTHORS Oauth2 consumer (#679) 7 years ago
CONTRIBUTING.md Use Go1.11 module (#5743) 5 years ago
CONTRIBUTORS Oauth2 consumer (#679) 7 years ago
LICENSE Remove x/net/context vendor by using std package (#5202) 6 years ago
README.md Vendor Update (#14496) 3 years ago
go.mod Vendor Update Go Libs (#13166) 4 years ago
go.sum Vendor Update Go Libs (#13166) 4 years ago
oauth2.go Update swagger to 0.20.1 (#8010) 5 years ago
token.go Move status table to cron package (#7370) 5 years ago
transport.go Vendor Update: go-gitlab v0.22.1 -> v0.31.0 (#11136) 4 years ago

README.md

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.