Zum Hauptinhalt springen

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.

POST /api/social-account
Authorization: Bearer {token}
{
"provider": "google",
"providerId": "google-user-id",
"providerAccountId": "account-id"
}
DELETE /api/social-account/:id
Authorization: Bearer {token}

Supported Providers​

ProviderOAuth Flow
GoogleOAuth 2.0
GitHubOAuth 2.0
FacebookOAuth 2.0
TwitterOAuth 1.0a
LinkedInOAuth 2.0
MicrosoftOAuth 2.0