Update Facebook endpoints

Per official documentation here: https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow
This commit is contained in:
Filip Stanis 2018-08-02 14:56:03 +01:00 committed by GitHub
parent 3d292e4d0c
commit fc6fb2a0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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",
} }