Connecting Amazon Cognito to an external IdP – OIDC
Amazon Cognito user pools support the use of multiple external IdPs. It would be unusual, though not necessarily ill-advised, to connect the same external IdP to an Amazon Cognito user pool using both SAML and OIDC. We will connect our external IdP to OIDC in the interest of demonstrating how both protocols operate when used with an external IdP with a user pool. We'll proceed as follows:
- From the user pool, we can select the type of federated provider we want to add under the Federations menu. We will select the OpenID Connect option. We can see a marker on the SAML option indicating an existing connection, as illustrated in the following screenshot:
- In the following screenshot, we see the required fields for configuring the new OIDC IdP. As we do not have all of these values yet, this means that we will need to create a client that the Amazon Cognito...