Complete linking an OAuth provider to the current account
POST/auth/oauth/:provider/link/callback
Complete an authenticated account-linking flow started via the link authorize endpoint. Attaches the resolved provider identity to the current end user. Rejects if the provider identity is already linked to a different account, if the provider did not verify the email, or if the linking session does not belong to the authenticated user.
Request
Responses
- 200
- 400
- 409
- 500
Provider linked to the account
Invalid callback or validation error
Provider identity already linked to another account, or email unverified
Internal server error