Token refresh (v2.0.0)

Command that will create a new JWT for access and identity.

New version found

You are looking at a previous version of the command Token refresh. The latest version of this command is v2.1.0

Overview

This command in the Authentication adapter, can be used to refresh the access and identity tokens for a user. The refresh token is not renewed.

Architecture diagram

Payload example

Request

Payload example
{
"token": "eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwia2lkIjoiY2xvbmVkX2tleSIsImFsZyI6IkEyNTZHQ00ifQ.eyJzdWIiOiIxMjM0NTY3ODkwIiwiaXNzIjoiY29nbml0by5pZGVudGl0eSIsImV4cCI6MTYwOTQ5MjAwMCwiaWF0IjoxNjA5NDg4NDAwfQ.4VZ7K5y6y8z9A0B1C2D3E4F5G6H7I8J9K0L1M2N3O4P5Q6R7S8T9U0V1W2X3Y4Z5"
}

JSON Schema

1 property
token string
required

Refresh token from AWS Cognito