Auth Callback

GET/store/:storeCode/auth/:method/callback
publishable key

Complete an OAuth callback and exchange it for a JWT.

Path Parameters
storeCoderequiredstring

Store slug in the URL (first argument to every SDK store method).

methodrequiredstring

Auth provider (e.g. `google`).

Query Parameters
codestring

Authorization code from the provider.

statestring

OAuth state parameter.

Response

Status

200OK
tokenrequiredstring

JWT issued after successful callback.