Skip to main content
Version: 3.x


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!]! @deprecated
errors: [AccountError!]!


RefreshToken.token ● String scalar

JWT token, required to authenticate.

RefreshToken.user ● User object

A user instance.

RefreshToken.accountErrors ● [AccountError!]! deprecated non-null object


This field will be removed in Saleor 4.0. Use errors field instead.

RefreshToken.errors ● [AccountError!]! non-null object

Returned by

tokenRefresh mutation

Was this page helpful?