【问题标题】:aws-amplify with Auth0使用 Auth0 进行 aws-amplify
【发布时间】:2018-07-16 14:18:05
【问题描述】:

我们让 Auth0 和 aws-amplify 分别为我们的 React Native 应用程序工作。但是,下一步(甚至遵循 Auth0 和 AWS 文档)让身份验证从 Auth0 流向 Cognito/User-Pools 并没有奏效。

然而,我们还没有找到关于堆栈溢出、Auth0 或其他有相同问题的讨论。有没有可能我们遗漏了什么?

aws-amplify 确实暗示 OpenID Connect 和 Federated Identities 正在运行,但库可能还不支持此流程。

参考:https://github.com/aws/aws-amplify/issues/58 https://auth0.com/docs/integrations/integrating-auth0-amazon-cognito-mobile-apps https://docs.aws.amazon.com/cognito/latest/developerguide/open-id.html

有没有人有我们可以用来调试流程的工作示例或其他文档?现在它在 Auth0 和 aws-amplify 通信后默认使用 guest/unauth 路由,而不是启用身份验证流程并将我们的策略应用于用户。

【问题讨论】:

    标签: amazon-web-services react-native auth0


    【解决方案1】:

    您好,我们在 repo 中有此功能请求。 https://github.com/aws/aws-amplify/issues/239

    【讨论】:

    • 试图关注您的文档aws-amplify.github.io/docs/js/… 让我感到困惑。您能否提供一个示例工作代码来添加按钮以使用 auth0 登录,同时保持标准登录流程?主要是因为这就是我在 App.js export default connect()(withAuthenticator(withStyles(styles)(App), { signUpConfig })); 中导出的方式
    猜你喜欢
    • 2019-01-11
    • 2021-10-01
    • 2021-01-01
    • 2023-03-04
    • 2020-12-21
    • 2020-01-01
    • 1970-01-01
    • 2023-02-24
    • 2021-04-08
    相关资源
    最近更新 更多