Customers > Customers > storefrontCustomersOauth
Storefront APICustomersCustomersstorefrontCustomersOauth
storefrontCustomersOauth
POST:storefront/customers/oauth.json

Description

Enable OAuth2 login for yourself.

Topic: Customers

Arguments

code: String

OAuth2 authorization code provided by the provider


provider: CustomerOAuthProviderKind!

OAuth provider kind for customer login


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


token: String

OAuth1 token provided by the provider


verifier: String

OAuth1 verifier provided by the provider


Result

Boolean

Preview (typescript)

Loading module