如何将AWS Cognito用作身份提供者?

发布于 2025-02-05 06:56:45 字数 199 浏览 1 评论 0原文

我想将AWS Cognito用作IDP。我的应用程序名为“ XYZ”具有一个登录屏幕,该屏幕获取用户凭据并命中Cognito,以使用基于SAML的实现来验证用户的身份。我确实有一个AWS Cognito作为服务提供商的SAML Meta数据文件,但我需要基于SAML的元数据文件作为AWS Cognito作为身份提供商。在这种情况下,我甚至可以使用SAML实现,还是必须使用OIDC?

I want to use AWS Cognito as an IdP. My app named "XYZ" has a login screen, which takes user credentials and hits cognito to verify the user's identity using SAML based implementation. I do have a SAML meta data file for AWS Cognito as a service provider but i need the SAML based metadata file for AWS Cognito as an identity provider. Can i even use SAML implementation in this case or do i have to use OIDC?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

逆光飞翔i 2025-02-12 06:56:46

AWS Cognito不支持SAML IDP,只是OIDC IDP,您可以使用 auth0 作为cognito之间的中层和sp。

SAML XML元数据文件将由Auth0(在Application/addons/usage/Identity提供商元数据)生成。

AWS Cognito does not support SAML IDP, and is just an OIDC IDP, you can use Auth0 as a middle layer between cognito and the SP.

the SAML XML metadata file will be generated by Auth0 (under Application/Addons/Usage/Identity Provider Metadata).

风启觞 2025-02-12 06:56:45

Create an identity pool using federated auth through the SAML provider.

https://docs.aws.amazon.com/cognito/latest/developerguide/saml-identity-provider.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文