commit | 770e5ebd4ab27c4d70b0983674d138217f5e2c72 | [log] [tgz] |
---|---|---|
author | Getulio Sánchez <valentin2507@gmail.com> | Wed May 23 18:35:42 2018 -0400 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Wed May 23 22:41:58 2018 +0000 |
tree | a8f3255284220b0e2bf05b9c82c1f308a3eb751e | |
parent | dd5f5d8e78ce062a4aa881dff95a94f2a0fd405a [diff] |
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>
diff --git a/linkedin/linkedin.go b/linkedin/linkedin.go index b619f93..62d1de8 100644 --- a/linkedin/linkedin.go +++ b/linkedin/linkedin.go
@@ -11,6 +11,6 @@ // Endpoint is LinkedIn's OAuth 2.0 endpoint. var Endpoint = oauth2.Endpoint{ - AuthURL: "https://www.linkedin.com/uas/oauth2/authorization", - TokenURL: "https://www.linkedin.com/uas/oauth2/accessToken", + AuthURL: "https://www.linkedin.com/oauth/v2/authorization", + TokenURL: "https://www.linkedin.com/oauth/v2/accessToken", }