Appearance
Link Account Provider
Link an external authentication provider (e.g., Google, Microsoft) to the current user's account. This is a public endpoint that does not require authentication.
Parameters
| name * are required parameters | data type | description |
|---|---|---|
body.idToken* | string | The ID token from the external authentication provider |
body.provider* | string | The authentication provider identifier (e.g., google.com) |
Return Value
json
{
"statusCode": 200,
"data": null,
"message": "Account provider linked successfully"
}Examples
bash
curl -X POST "https://app.wombat.software/api/link-account-provider" \
-H "Content-Type: application/json" \
-d '{"idToken": "...", "provider": "google.com"}'ENDPOINTS
post
/api/link-account-provider