如何在没有应用程序集成的情况下设置 Cognito 联合注册和登录

How to set up Cognito federation signup and login without app integration

我正在尝试使用 Cognito 用户池、Facebook 和 Google 设置用户注册和登录。我已经能够创建一个注册页面(通过关注 this guide) with the app integration in Cognito but would like to host the signup page along with the rest of my app. This 有点帮助但缺乏细节。我真的找不到任何好的示例或文档。

您可以尝试使用授权端点执行此操作,但看起来这可能无法完全实现。第一次应用程序授权似乎需要内置 UI。参见 to a similar question