【发布时间】: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