Skip to main content
GET
/
v1
/
customer
/
auth
/
github
/
callback
GitHub OAuth callback for backend-mediated flow
curl --request GET \
  --url https://api.example.com/v1/customer/auth/github/callback

Query Parameters

code
string
required

Authorization code from GitHub

state
string
required

Base64-encoded state payload

error
string

OAuth error code if authorization failed

error_description
string
required

Response

Redirects to client with auth code