forked from Mirrors/oauth2
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:
parent
dd5f5d8e78
commit
770e5ebd4a
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue