Skip to content
Start free in Cloud

Validate social provider callback REST API

GET
/api/auth/social/{provider}/callback
curl --request GET \
--url 'http://127.0.0.1:25737/api/auth/social/google/callback?state=example'

Consumes the state once, exchanges the code, validates the immutable provider identity and required claims, discards provider tokens, and redirects with a short-lived completion token in the URL fragment. Upstream responses are never exposed.

provider
required
string
Allowed values: google github microsoft
state
required
string
code
string
error
string

Redirects to the bound local flow with a fragment completion token or stable error code