【发布时间】:2015-06-29 16:54:51
【问题描述】:
我正在使用 auth0.com 创建一个带有 Firebase 和 Ionic 的种子项目(在 Apps / APIs 下)。
但是,我遇到了这个问题Invalid redirect_uri. This value must match a URL registered with the API Key。我做了以下研究:
linkedin : Invalid redirect_uri. This value must match a URL registered with the API Key
(尝试在OAuth 2.0 Redirect URLs 中使用http://localhost:8100/auth/linkedin/callback 并不起作用)
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/(http://localhost:8100/signin-linkedin 不工作)
https://www.drupal.org/node/2357091(http://localhost:8100/linkedin/company/token 不能正常工作)
无论我在 Linkedin 应用中更改了什么,登录弹出 url 总是有redirect_uri=https%3A%2F%2Fmyproject.auth0.com%2Flogin%2Fcallback
这意味着由于某种原因我的重定向 url 没有得到更改,并且 auth0 以某种方式强制其中包含“错误”的 url?
有人知道如何解决这个问题吗?还是 auth0.com 的 bug?
【问题讨论】:
标签: oauth firebase ionic-framework linkedin auth0