简体   繁体   中英

How to use AWS Cognito as Identity Provider?

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?

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

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM