Documentation Index
Fetch the complete documentation index at: https://docs.tktchurch.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint requires authentication.
Request Body
The ID token obtained from the provider (Google, Apple, or Facebook)
Response
A successful request returns HTTP 200 OK status. The provider is linked to the current user’s account.
Error Responses
Error details when the request fails
Error message explaining why the request failed
Common error cases:
- 400 Bad Request: Invalid or missing ID token
- 400 Bad Request: Email mismatch between accounts
- 400 Bad Request: Provider already linked to this account
- 401 Unauthorized: Missing or invalid access token
- 409 Conflict: Provider already linked to another account
curl -X POST "https://api.tktchurch.com/v1/auth/link-provider" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..." \
-H "Content-Type: application/json" \
-d '{
"idToken": "eyJhbGciOiJSUzI1NiIs..."
}'