API reference
POSTPublic
Social login
/api/v1/social-auth
Exchange a Google or Facebook OAuth access token for a DKBSign session. Same success shape as password login without MFA (user + access_token).
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
provider Required | string | google or facebook.e.g. "google" |
access_token Required | string | OAuth access token from the provider. e.g. "ya29.a0AfH6SMB..." |
Responses
| Status | Meaning |
|---|---|
| 200 | Logged in successfully |
| 401 | Missing or invalid Bearer token. |