1# OAuth2 for Go
2
3[![Build Status](https://travis-ci.org/golang/oauth2.svg?branch=master)](https://travis-ci.org/golang/oauth2)
4[![GoDoc](https://godoc.org/golang.org/x/oauth2?status.svg)](https://godoc.org/golang.org/x/oauth2)
5
6oauth2 package contains a client implementation for OAuth 2.0 spec.
7
8## Installation
9
10~~~~
11go get golang.org/x/oauth2
12~~~~
13
14Or you can manually git clone the repository to
15`$(go env GOPATH)/src/golang.org/x/oauth2`.
16
17See godoc for further documentation and examples.
18
19* [godoc.org/golang.org/x/oauth2](http://godoc.org/golang.org/x/oauth2)
20* [godoc.org/golang.org/x/oauth2/google](http://godoc.org/golang.org/x/oauth2/google)
21
22## Policy for new packages
23
24We no longer accept new provider-specific packages in this repo. For
25defining provider endpoints and provider-specific OAuth2 behavior, we
26encourage you to create packages elsewhere. We'll keep the existing
27packages for compatibility.
28
29## Report Issues / Send Patches
30
31This repository uses Gerrit for code changes. To learn how to submit changes to
32this repository, see https://golang.org/doc/contribute.html.
33
34The main issue tracker for the oauth2 repository is located at
35https://github.com/golang/oauth2/issues.
36