Skip to main content
Version: 3.x

RefreshToken

Refresh JWT token. Mutation tries to take refreshToken from the input.If it fails it will try to take refreshToken from the http-only cookie -refreshToken. csrfToken is required when refreshToken is provided as a cookie.

type RefreshToken {
token: String
user: User
accountErrors: [AccountError!]!
errors: [AccountError!]!
}

Fields

token (String)

JWT token, required to authenticate.

user (User)

A user instance.

accountErrors ([AccountError!]!)

errors ([AccountError!]!)