OpenID Connect with Amazon Cognito

Configure the OpenID Connect plugin with Amazon Cognito User Pools. User Pools are a multi-tenant LDAP-like user repository combined with an OAuth2 and an OpenID Connect interface.

Prerequisites

  • Set up an Amazon Cognito User Pool and Application Definition before configuring the plugin.

Environment variables

  • ISSUER: The issuer authentication URL for your IdP. For Amazon Cognito, that typically looks like this: https://cognito-idp.$REGION.amazonaws.com/$REGION_$POOL_ID/.well-known/openid-configuration

  • CLIENT_ID: The client ID that the plugin uses when it calls authenticated endpoints of the IdP.

  • CLIENT_SECRET: The client secret needed to connect to your IdP.

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!