forked from Mirrors/oauth2
Update Facebook endpoints
Per official documentation here: https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow
This commit is contained in:
parent
3d292e4d0c
commit
fc6fb2a0e4
|
@ -11,6 +11,6 @@ import (
|
||||||
|
|
||||||
// Endpoint is Facebook's OAuth 2.0 endpoint.
|
// Endpoint is Facebook's OAuth 2.0 endpoint.
|
||||||
var Endpoint = oauth2.Endpoint{
|
var Endpoint = oauth2.Endpoint{
|
||||||
AuthURL: "https://www.facebook.com/dialog/oauth",
|
AuthURL: "https://www.facebook.com/v3.1/dialog/oauth",
|
||||||
TokenURL: "https://graph.facebook.com/oauth/access_token",
|
TokenURL: "https://graph.facebook.com/v3.1/oauth/access_token",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue