Social Account Endpoints
Manage linked social/OAuth accounts for users.
Base Pathβ
/api/social-account
Endpointsβ
List Social Accountsβ
GET /api/social-account
Authorization: Bearer {token}
Returns all linked social accounts for the current user.
Link Social Accountβ
POST /api/social-account
Authorization: Bearer {token}
{
"provider": "google",
"providerId": "google-user-id",
"providerAccountId": "account-id"
}
Unlink Social Accountβ
DELETE /api/social-account/:id
Authorization: Bearer {token}
Supported Providersβ
| Provider | OAuth Flow |
|---|---|
| OAuth 2.0 | |
| GitHub | OAuth 2.0 |
| OAuth 2.0 | |
| OAuth 1.0a | |
| OAuth 2.0 | |
| Microsoft | OAuth 2.0 |
Related Pagesβ
- Auth Endpoints β authentication
- SSO/SAML Integration β SSO setup