【问题标题】:Linkedin authentication using auth0 Firebase and Ionic使用 auth0 Firebase 和 Ionic 进行 Linkedin 身份验证
【发布时间】: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/2357091http://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


    【解决方案1】:

    使用LinkedIn时,您应该按照this link关于如何配置为电子邮件提供商的说明进行操作

    重要的是您必须在您创建的 LinkedIn 应用程序中将 https://{accountName}.auth0.com/login/callback 设置为回调 URL。你这样做了吗?

    这有帮助吗?

    谢谢!

    【讨论】:

      猜你喜欢
      • 2017-12-17
      • 1970-01-01
      • 2016-04-08
      • 2015-04-10
      • 2021-07-17
      • 1970-01-01
      • 2016-04-22
      • 1970-01-01
      • 2019-02-14
      相关资源
      最近更新 更多