[英]How to use AWS Cognito as Identity Provider?
I want to use AWS Cognito as an IdP.我想使用 AWS Cognito 作为 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.我的名为“XYZ”的应用程序有一个登录屏幕,它获取用户凭据并点击 cognito 以使用基于 SAML 的实现来验证用户的身份。 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.我确实有 AWS Cognito 作为服务提供商的 SAML 元数据文件,但我需要 AWS Cognito 作为身份提供商的基于 SAML 的元数据文件。 Can i even use SAML implementation in this case or do i have to use OIDC?在这种情况下我什至可以使用 SAML 实现还是必须使用 OIDC?
Create an identity pool using federated auth through the SAML provider.通过 SAML 提供程序使用联合身份验证创建身份池。
https://docs.aws.amazon.com/cognito/latest/developerguide/saml-identity-provider.html https://docs.aws.amazon.com/cognito/latest/developerguide/saml-identity-provider.html
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. AWS Cognito 不支持 SAML IDP,只是一个 OIDC IDP,您可以使用Auth0作为 cognito 和 SP 之间的中间层。
this should work , where the SAML XML metadata file will be generated by Auth0 (under Application/Addons/Usage/Identity Provider Metadata). 这应该可以工作,其中 SAML XML 元数据文件将由 Auth0 生成(在 Application/Addons/Usage/Identity Provider Metadata 下)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.