linkedin oauth 授权失败 "Bummer, something went wrong"
linkedin oauth authorization fails with "Bummer, something went wrong"
Bummer, something went wrong
当我使用上述 url 时,我收到“糟糕,出了点问题。
我们无法连接。"
2018 年 12 月 15 日后重新创建应用程序解决了我的问题。
(2018 年 12 月 15 日之后通过 LinkedIn Developer Portal 创建的任何开发者应用程序都自动有权访问 v2 API。)https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq?context=linkedin/consumer/context
你好,我遇到了类似的问题,我通过这样做解决了它;
您必须确保您的应用程序页面中的所有内容 ( https://www.linkedin.com/developer/apps ) matches the parameters in your authorization URL . SO for example in your case , https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=test&redirect_uri=http://test.custom.com/abc/linkedin&state=DCEeFWf45A53sdfKef424asgTyhgTR5 ;
您必须确保您在授权 URL 中的 client_id 与您的 APP 页面上的 Client-Id 匹配,并确保您在授权中指定的 redirect_uri URL 已在您的应用页面上获得授权,如下所示。如果您也传入范围,还要确保它们完全匹配。如下图所示,我的 redirect_uri 已从我的应用程序页面获得授权。
我 运行 遇到了同样的问题。
将 linkedin 应用中 redirect_uri
的值从 http
更改为 https
有助于解决问题。见下图:
在您的情况下,url 应该是:
https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=test&redirect_uri=https://test.custom.com/abc/linkedin&state=DCEeFWf45A53sdfKef424asgTyhgTR5 ;
您需要在产品选项卡中添加使用 LinkedIn 登录权限
从应用程序设置页面转到产品选项卡并添加在 linkedin 上分享和使用 linkedin 登录以获得以下权限 r_emailaddress、r_liteprofile、w_member_social
最好检查一下 linkedin 开发者工具是如何为你生成的 link 然后你只需要改变重定向 url
https://www.linkedin.com/developers/tools/oauth
然后“创建令牌”然后 select 所有权限并单击“请求访问令牌”
如果你有开发 window 打开你可以看到查询授权已经完成,那么你可以只复制这个 url 并更改 redirect_url.
]1
Bummer, something went wrong
当我使用上述 url 时,我收到“糟糕,出了点问题。 我们无法连接。"
2018 年 12 月 15 日后重新创建应用程序解决了我的问题。 (2018 年 12 月 15 日之后通过 LinkedIn Developer Portal 创建的任何开发者应用程序都自动有权访问 v2 API。)https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq?context=linkedin/consumer/context
你好,我遇到了类似的问题,我通过这样做解决了它;
您必须确保您的应用程序页面中的所有内容 ( https://www.linkedin.com/developer/apps ) matches the parameters in your authorization URL . SO for example in your case , https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=test&redirect_uri=http://test.custom.com/abc/linkedin&state=DCEeFWf45A53sdfKef424asgTyhgTR5 ;
您必须确保您在授权 URL 中的 client_id 与您的 APP 页面上的 Client-Id 匹配,并确保您在授权中指定的 redirect_uri URL 已在您的应用页面上获得授权,如下所示。如果您也传入范围,还要确保它们完全匹配。如下图所示,我的 redirect_uri 已从我的应用程序页面获得授权。
我 运行 遇到了同样的问题。
将 linkedin 应用中 redirect_uri
的值从 http
更改为 https
有助于解决问题。见下图:
在您的情况下,url 应该是:
https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=test&redirect_uri=https://test.custom.com/abc/linkedin&state=DCEeFWf45A53sdfKef424asgTyhgTR5 ;
您需要在产品选项卡中添加使用 LinkedIn 登录权限 从应用程序设置页面转到产品选项卡并添加在 linkedin 上分享和使用 linkedin 登录以获得以下权限 r_emailaddress、r_liteprofile、w_member_social
最好检查一下 linkedin 开发者工具是如何为你生成的 link 然后你只需要改变重定向 url
https://www.linkedin.com/developers/tools/oauth
然后“创建令牌”然后 select 所有权限并单击“请求访问令牌” 如果你有开发 window 打开你可以看到查询授权已经完成,那么你可以只复制这个 url 并更改 redirect_url.