auth0 尝试按钮 linkedin 正在使用 v1:此资源在 v1 API 下不再可用

auth0 try button linkedin is using v1: This resource is no longer available under v1 APIs

当我在 auth0 上使用尝试按钮时。

菜单 'Connections' -> 'Social'

然后我在 Linkedin

上使用 'try' link

Linkedin 用于测试 v1 版本,而不是 linkedin 的 v2 版本,所以当我尝试登录 linkedin 时,我收到错误消息:

{
  "error": "invalid_request",
  "error_description": "InternalOAuthError: failed to fetch user profile (status: 410 data: {\n  \"errorCode\": 0,\n  \"message\": \"This resource is no longer available under v1 APIs\",\n  \"requestId\": \"RN0AITTUWB\",\n  \"status\": 410,\n  \"timestamp\": 1545991044990\n})"
}

try linkedin 按钮正在使用这样的 link(旧的 link v1 方法):

https://www.linkedin.com/uas/login?session_redirect=...

来自 linkedin 的 accord 文档,这对新闻应用程序无效

是 auth0 的错误吗?

Githubhere and a pull request open here 中似乎存在问题。我建议对这些发表评论,以便将其带到

All developer applications created on the LinkedIn Developer Portal after January 14, 2019 have access to the LinkedIn v2 API by default. Alternatively, if your developer application has made a successful LinkedIn v1 API request from September 1, 2018 to December 17, 2018, your developer application has immediate access to the v2 API.

来源:https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq?context=linkedin/consumer/context

更新:问题是 auth0 中的一个错误,遗憾的是 auth0 隐藏了这个信息几个月,造成了很大的混乱,几个月前解决了这个问题

旧: 我已经解决了这个问题,只是创建了一个新的链接端应用程序(2018 年 12 月 31 日)。

转到 linkedin 开发人员,然后单击 'Create app':

https://www.linkedin.com/developers# 应用名称:test1linkedin

选项卡'auth': OAuth2 设置,重定向 URL 的:

    https://yourdomain.auth0.com/login/callback

(使用 aut0 非常重要)