Cabinet Account Linking

Link Provider Callback

Handle OAuth callback for linking a provider to the current account.

post/cabinet/auth/account/link/{provider}/callback

Request

Path parameters

provider'google' | 'yandex' | 'discord' | 'vk' required

Request body

codestring required

Authorization code from provider

statestring required

CSRF state token

device_idstring nullable

Device ID from VK ID callback

Response

Successful Response

successboolean required
messagestring nullable
merge_requiredboolean
merge_tokenstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.