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. |
phone_only | boolean Default: false Arrange xsolla wallet form behaivior values:
|
locale | string >= 2 characters Region in the
The list of social networks will be sorted from most to least used, according to the variable value. |
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&phone_only=false&locale=SOME_STRING_VALUE' \ --header 'Authorization: Bearer BEARER_TOKEN'
{- "error": {
- "code": "003-061",
- "description": "Object not found.",
- "details": { }
}
}