Skip to main content
Version: Canary 🚧


Obtain external access tokens for user by custom plugin.

type ExternalObtainAccessTokens {
token: String
refreshToken: String
csrfToken: String
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!


ExternalObtainAccessTokens.token ● String scalar

The token, required to authenticate.

ExternalObtainAccessTokens.refreshToken ● String scalar

The refresh token, required to re-generate external access token.

ExternalObtainAccessTokens.csrfToken ● String scalar

CSRF token required to re-generate external access token.

ExternalObtainAccessTokens.user ● User object

A user instance.

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


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

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

Returned by

externalObtainAccessTokens mutation

Was this page helpful?