Links the social network, which is used by the player for authentication, to the user account.
The linking flow:
providerName required | string Name of the social network connected to Login in Publisher Account. Can be: If you store user data in PlayFab, only |
login_url | string URL to redirect the user to after account confirmation, successful authentication, two-factor authentication configuration, or password reset confirmation. Must be identical to the Callback URL specified in the URL block of Publisher Account. To find it, go to Login > your Login project > General settings. Required if there are several Callback URLs. |
redirect_uri | string URL to redirect the user to after account confirmation, successful authentication, or password reset confirmation. To set up this parameter, contact your Customer Success Manager or email to csm@xsolla.com. Notice
The parameter is required if you have more than one redirect URI in your project settings. |
Redirection
Forbidden
Not Found
curl --request GET \ --url 'https://login.xsolla.com/api/users/me/social_providers/{providerName}/login_redirect?login_url=SOME_STRING_VALUE&redirect_uri=SOME_STRING_VALUE' \ --header 'Authorization: Bearer BEARER_TOKEN'
{- "error": {
- "code": "003-061",
- "description": "Object not found.",
- "details": { }
}
}