14

I know services such as Auth0 can act as both SAML IdPs and integrate with third party IdPs. It would seem that Cognito can only integrate with other third party IdPs as a service provider, it can actually perform the role of an IdP.

The use case is we have our apps creating users in Cognito. We'd like to use a third party application which can integrate with a SAML IdP to support SSO. Is this possible with Cognito or would we need to use something like Auth0?

NightWolf
  • 7,694
  • 9
  • 74
  • 121

2 Answers2

6

Currenlty, Cognito is an OIDC IdP and not a SAML IdP. If an application supports OIDC, you can use Cognito to connect to that.

We have recently released in public beta a new feature that allows you to federated identity from another SAML IdP. Here's the blog entry https://aws.amazon.com/blogs/mobile/amazon-cognito-user-pools-supports-federation-with-saml/

We will consider your request for future releases.

Vasileios Lekakis
  • 5,492
  • 2
  • 15
  • 17
  • 13
    Is it still not possible to make Cognito/IAM as IdP? – vs4vijay Oct 11 '17 at 09:23
  • 5
    its 2020 and the answer is still no – Marvin Zumbado Jul 28 '20 at 21:50
  • 1
    even in 2021 AWS is still not supporting SAML IdP use-case. However Auth0 can be used as a middle layer to meet this requirement. Here's the reference https://aws.amazon.com/premiumsupport/knowledge-center/auth0-saml-cognito-user-pool/ – Mahesh Nov 23 '21 at 07:00
1

A Cognito user pool by itself is not an SAML provider yet. But if you would like to use a Cognito user pool, and also use it as a SAML provider, you'll have to allow users to sign in through a real external SAML federated identity provider, such as AWS SSO, by integrating Cognito user pool with the external SAML IdP:

enter image description here

And your app should not directly add a user to the Cognito user pool, but you will need to add users to your external SAML IdP, such as AWS SSO. During the sign-in process, Cognito will automatically add the external user to your user pool.

enter image description here (See https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-saml-idp-authentication.html)

Yuci
  • 27,235
  • 10
  • 114
  • 113