Start linking an OAuth provider to the current account
GET/auth/oauth/:provider/link
Begin an authenticated account-linking flow. Unlike the sign-in authorize endpoint, this binds the current end user into the OAuth state so the matching link callback attaches the returned provider identity to THIS account instead of finding-or-creating a user. Requires an end-user token.
Request
Responses
- 200
- 400
- 500
Authorization URL generated
Invalid provider or validation error
Internal server error