By using AWS re:Post, you agree to the Terms of Use

Where's the documentation about Cognito User Pools as Open ID Connect (OIDC) providers by themselves?


Official Cognito documentation says a lot about how to federate other OIDC providers in a user User Pool, but I cannot find proper documentation explaining how to use the User Pool as an OIDC provider by itself. This is for scenarios where Clients will authenticate against the Cognito User Pool with the OIDC protocol without involving any other Identity Providers.

It seems to be compatible, for the following endpoint exists: https://cognito-idp.<region><user pool id>/.well-known/openid-configuration

Where's the documentation for that?

I can only find third-party articles about this, but no proper documentation from AWS.

1 Answer
Accepted Answer


Here is the documentation for cognito oauth2 endpoints, this blog post also describes the supported oauth2 flows with Cognito and this recording has a basic demo of creating an OpenID provider with Cognito and testing the basic flows from Postman.

answered 6 months ago
  • I submitted some feedback via GitHub. The fact that it supports OIDC should be displayed more prominently and at a higher level in the page tree. It was difficult to find it without asking.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions