如何将AWS Cognito用作身份提供者?
我想将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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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).
使用SAML提供商使用联合AUTH创建身份池。
https://docs.aws.amazon.com/ cognito/最新/developerguide/saml-nidentity-provider.html
Create an identity pool using federated auth through the SAML provider.
https://docs.aws.amazon.com/cognito/latest/developerguide/saml-identity-provider.html