Skip to main content
POST

Body

application/json
provider
enum<string>
required
Available options:
google,
facebook,
apple
code
string
required

OAuth authorization code returned by the provider.

state
string

Server-issued, one-time OAuth state (validated and consumed for Google/Apple).

fluid_shop
string

Shop context for the login; falls back to the verified state or the request domain.

user
string

JSON string of user data Apple posts on first authorization.

id_token
string

Apple ID token; decoded to extract the sub claim.

Response

Success

multi_factor_authentication
object
required
auth_type
enum<string>
required
Available options:
user,
customer,
rep
user
object

The user or customer resolved from a social-auth callback.

customer
object

The user or customer resolved from a social-auth callback.

meta
object