Skip to main content

tokenCreate

Create JWT token.

tokenCreate(
audience: String
email: String!
password: String!
): CreateToken

Arguments

tokenCreate.audience ● String scalar miscellaneous

The audience that will be included to JWT tokens with prefix custom:.

Added in Saleor 3.8

tokenCreate.email ● String! non-null scalar miscellaneous

Email of a user.

tokenCreate.password ● String! non-null scalar miscellaneous

Password of a user.

Type

CreateToken object authentication

Create JWT token.