Redirects the user to the page for authentication via the specified social network.
provider_name required | string Name of the social network connected to Login in Publisher Account. Can be: If you store user data in PlayFab, only |
client_id required | integer Your application ID. Get it after creating an OAuth 2.0 client. |
state required | string Value used for additional user verification. Often used to mitigate CSRF Attacks. The value will be returned in the response. Must be longer than 8 symbols. |
response_type required | string Grant type used in your project that has the enabled OAuth 2.0 protocol. Must be |
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. |
scope | string Scope is a mechanism in OAuth 2.0 to limit an application’s access to a user’s account. Can be:
If you process your own values of the When the
After the email is inputted, the user receives an email confirmation message. To disable email confirmation, please contact your Customer Success Manager. |
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. |
phone_only | boolean Default: false Arrange xsolla wallet form behaivior values:
|
Redirection
Bad Request
Bad Request
Not Found
Unprocessable Entity
Too Many Requests
curl --request GET \ --url 'https://login.xsolla.com/api/oauth2/social/{provider_name}/login_redirect?redirect_uri=SOME_STRING_VALUE&client_id=SOME_INTEGER_VALUE&scope=SOME_STRING_VALUE&state=SOME_STRING_VALUE&response_type=SOME_STRING_VALUE&locale=SOME_STRING_VALUE&phone_only=false'
{- "error": {
- "code": "003-061",
- "description": "Object not found.",
- "details": { }
}
}