将用户重定向到通过指定社交网络进行认证的页面。
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 您的应用程序ID。在创建OAuth 2.0客户端后获取。 |
state required | string 用于额外用户验证的值。通常用于抵御CSRF攻击。该值将在响应中返回。必须长于8个符号。 |
response_type required | string 启用了OAuth 2.0协议项目中使用的授权类型。必须是 |
redirect_uri | string 在帐户确认、成功认证或密码重置确认后将用户重定向到的URL。要设置此参数,请联系您的客户成功经理或发送邮件至csm@xsolla.com。 注:
如果项目设置中有多个重定向URI,则该参数为必需。 |
scope | string 范围是OAuth 2.0中的一种机制,用于限制应用程序对用户帐户的访问。 可以是:
如果处理上面未提及的自己的 当请求了 输入邮箱地址后,用户会收到一封邮箱确认消息。要禁用邮箱确认,请联系您的客户成功经理。 |
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:
|
重定向
错误的请求
错误的请求
未找到
无法处理的实体
请求过多
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": { }
}
}
You can change or withdraw your consent at any time by going back to Privacy settings.
By clicking "Accept all", you give us consent to process your personal data and set all cookies. Alternatively, you can customize your preferences in Settings.