Amazon Cognito
Developer Guide

Accessing Resources After a Successful User Pool Authentication

Your app users can sign in either directly through a user pool, or federate through a third-party identity provider (IdP). The user pool manages the overhead of handling the tokens that are returned from social sign-in through Facebook, Google, and Amazon, and from OpenID Connect (OIDC) and SAML IdPs. For more information see Using Tokens with User Pools.

After a successful authentication, your app will receive user pool tokens from Amazon Cognito. You can use those tokens to retrieve AWS credentials that allow your app to access other AWS services, or you might choose to use them to control access to your own server-side resources, or to the Amazon API Gateway.

For more information, see User Pool Authentication Flow and Using Tokens with User Pools.


      Authentication overview