commit | 4b407cace19798644a9f928c0b8b8f2f6a887517 | [log] [tgz] |
---|---|---|
author | Burcu Dogan <jbd@google.com> | Tue Oct 21 10:43:33 2014 -0700 |
committer | Burcu Dogan <jbd@google.com> | Tue Oct 21 10:43:33 2014 -0700 |
tree | 7ccb23aaa59032eeaddb45257558a29a185ed6a1 | |
parent | 7e2b7b4a7937369f2130c173ebc2ebc9ac2eb0f4 [diff] |
Support token expiration for Facebook OAuth 2.0. Facebook's OAuth 2.0 implementation seems to be broken and returns expires_in value in expires. Fallback to expires field to handle the expiration time for Facebook.
oauth2 package contains a client implementation for OAuth 2.0 spec.
go get github.com/golang/oauth2
See godoc for further documentation and examples.
Fork the repo, make changes, run the tests and open a pull request.
Before we can accept any pull requests we have to jump through a couple of legal hurdles, primarily a Contributor License Agreement (CLA):
You can sign these electronically (just scroll to the bottom). After that, we'll be able to accept your pull requests.