mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
facebook: update facebook oauth2 endpoints
Fixes #309 Change-Id: I8a97db6cb51ae6c0799adc4d171f49e77f8ec2e6 GitHub-Last-Rev: fc6fb2a0e4ff07d940ac170df47fa7d6452c860b GitHub-Pull-Request: golang/oauth2#308 Reviewed-on: https://go-review.googlesource.com/c/127575 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
232e455483
commit
28156e2561
@ -11,6 +11,6 @@ import (
|
||||
|
||||
// Endpoint is Facebook's OAuth 2.0 endpoint.
|
||||
var Endpoint = oauth2.Endpoint{
|
||||
AuthURL: "https://www.facebook.com/dialog/oauth",
|
||||
TokenURL: "https://graph.facebook.com/oauth/access_token",
|
||||
AuthURL: "https://www.facebook.com/v3.1/dialog/oauth",
|
||||
TokenURL: "https://graph.facebook.com/v3.1/oauth/access_token",
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user