January 2019
Intermediate to advanced
490 pages
15h 37m
English
An identity token (ID token) is used to authenticate requests to the backend (for example, the API gateway). For example, to send a request to an API gateway API with Cognito Authorizer, we use the authorization type Bearer Token and pass the ID token. This will be demonstrated later, in the recipe on Integrating Cognito with the API gateway. The ID token will also contain additional information, such as the user ID and any other user attributes that we provide while generating it. We will demonstrate this in a later recipe.
The access token is used within Cognito APIs, in order to authorize updates to the users' parameters. The Cognito API commands that accept access tokens include associate-software-token ...
Read now
Unlock full access