Skip to main content
Version: 3.x

tokenCreate

Create JWT token.

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

Arguments

tokenCreate.audience ● String scalar

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

Added in Saleor 3.8

tokenCreate.email ● String! non-null scalar

Email of a user.

tokenCreate.password ● String! non-null scalar

Password of a user.

Type

CreateToken object

Create JWT token.


Was this page helpful?