将用户重定向到通过指定社交网络进行认证的页面。
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 |
projectId required | string <uuid> 发布商帐户中的登录管理器项目ID。 |
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. For the scenario of a login error, the value should be identical to the the Error callback URL specified in the URL block of Publisher Account. To find the settings, go to Login > your Login project and select the Callback URLs section in the upper block. Required if there are several Callback URLs. |
fields | |
payload | string Your custom data. The value of the parameter will be returned in the |
with_logout | string Default: "0" 显示是否停用现有用户JWT值并激活此调用生成的值。可以是以下值:
|
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/social/{provider_name}/login_redirect?projectId=SOME_STRING_VALUE&login_url=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&payload=SOME_STRING_VALUE&with_logout=0&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.