linkedin: Update to new endpoint

LinkedIn API documentation states that this are the correct URLs:
https://developer.linkedin.com/docs/oauth2

Fixes #253

Change-Id: I4fe292a1d85d73e184adf6fe6b23af6eb47d8c23
Reviewed-on: https://go-review.googlesource.com/114355
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Getulio Sánchez 2018-05-23 18:35:42 -04:00 committed by Brad Fitzpatrick
parent dd5f5d8e78
commit 770e5ebd4a
1 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,6 @@ import (
// Endpoint is LinkedIn's OAuth 2.0 endpoint. // Endpoint is LinkedIn's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{ var Endpoint = oauth2.Endpoint{
AuthURL: "https://www.linkedin.com/uas/oauth2/authorization", AuthURL: "https://www.linkedin.com/oauth/v2/authorization",
TokenURL: "https://www.linkedin.com/uas/oauth2/accessToken", TokenURL: "https://www.linkedin.com/oauth/v2/accessToken",
} }