Login (v2.0.0)

Login a user and return JWT:s.

New version found

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

Overview

This command in the Authentication adapter, is used to generate JWT

from credentials. The user is also logged in in Cognito.

Architecture diagram

Payload example

Payload example
{
"User": "john@doe.com",
"Secret": "exampleSecret"
}

JSON Schema

2 properties
User string <email>
required

User name

Secret stringnull

Password or secret if it exists.