通过社交网络获取认证链接。该链接的有效期为10分钟。
您可以通过此调用获取链接并将其添加到通过社交网络进行认证的按钮。
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值并激活此调用生成的值。可以是以下值:
|
phone_only | boolean Default: false Arrange xsolla wallet form behaivior values:
|
确定
错误的请求
错误的请求
未找到
无法处理的实体
请求过多
curl --request GET \ --url 'https://login.xsolla.com/api/social/{provider_name}/login_url?projectId=SOME_STRING_VALUE&login_url=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&payload=SOME_STRING_VALUE&with_logout=0&phone_only=false'
{
}