gpt4 book ai didi

linkedin-api - linkedin : Invalid redirect_uri. 该值必须与使用 API key 注册的 URL 匹配

转载 作者:行者123 更新时间:2023-12-02 14:27:39 24 4
gpt4 key购买 nike

我正在使用“omniauth-linkedin-oauth2”。

当我使用 linkedin 登录时,我收到此错误

Invalid redirect_uri. This value must match a URL registered with the API Key.

这是我的设置:

Screenshot

最佳答案

返回 LinkedIn 开发者网站 (https://www.linkedin.com/secure/developer) 再次检查我的设置。一切都与 API key 、 key 和 OAuth 2.0 重定向 URL 匹配。

搜索网络寻找一些线索。找不到一个。
疯狂的问题:

Then I saw that in the URL Owin was appending some extra string to the redirect_uri “signin-linkedin”.
When I decoded the URL I saw this http://localhost:54307/signin-linkedin .
I took this URL and placed it in the OAuth 2.0 Redirect URLs field in the LinkedIn developer site.

这个链接对我有帮助
https://naveengopisetty.wordpress.com/2014/09/15/linkedin-oauth-2-0-issue-invalid-redirect_uri-this-value-must-match-a-url-registered-with-the-api-key/

关于linkedin-api - linkedin : Invalid redirect_uri. 该值必须与使用 API key 注册的 URL 匹配,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26570194/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com