amazon-web-servicesaws-api-gatewayamazon-cognitoaws-userpoolsibm-api-management

What is the server discovery endpoint (well-known url) of a AWS Cognito Userpool?


OpenID providers publish their metadata at a well-known URL. In Okta it looks something like this: https://dev-599740.okta.com/oauth2/default/.well-known/oauth-authorization-server Is there a similar URL for a AWS Cognito user pool? if not how do I find out the following endpoints of a AWS Cognito userpool?

  1. Client Registration Endpoint
  2. Introspection Endpoint
  3. Token Revoke Endpoint

Solution

  • Format of a well-know URL for a specific AWS Cognito Userpool is as follows : https://cognito-idp.[region].amazonaws.com/[userPoolId]/.well-known/openid-configuration