Skip to content
storefronts / Social authentication
GET/auth/{provider}/callback

Handle Auth callback

Handles the OAuth callback for a configured social login provider, exchanges the authorization code for a profile, creates or links the storefront user session, and redirects back to the storefront.

GET

Authentication

Requirement
Not specified
Credential type
Not specified
Scopes
Not specified

Permissions

  • No authenticated session is required; the request must present a valid OAuth authorization code and state for a configured provider.

Headers

NameRequiredTypeDetails
HostYesNot specified
Description: Value used by this operation.
X-Forwarded-ForYesNot specified
Description: Value used by this operation.
X-Real-IPYesNot specified
Description: Value used by this operation.
User-AgentYesNot specified
Description: Value used by this operation.

Path Parameters

NameRequiredTypeDetails
providerYesNot specified
Description: Value used by this operation.

Query Parameters

NameRequiredTypeDetails
errorNostring
Description: Text value.
codeNostring
Description: Text value.
stateNostring
Description: Text value.

Request Body

Response Body

Errors

400 bad_request500 INTERNAL_SERVER_ERROR

Availability

Available in
v0.1.0
Available since
v0.1.0
Implementation
Available
Deprecation
Not specified
Rate limits
Not specified