Connecting Amazon Cognito to an external IdP – SAML
Now that we have a user pool configured with attributes that match those found in our external IdP, we need to put some users inside it. We do not want users created directly inside the user pool as that would bypass the external IdP as the authoritative source of identity information for our users. To connect the external IdP with the user pool, we will need to configure our external IdP as an IdP for the user pool, as follows:
- From the user pool, we can select the type of federated provider we want to add under the Federation menu. We will select the SAML option, as illustrated in the following screenshot:
- The configuration options are very sparse since it wants to import a metadata file. We will come back to the form shown in the following screenshot since we will need to build this connection on the external IdP side in order to create that metadata file...