Exchanges a platform-specific authentication credential (a session ticket/exchange code/authorization token) from Epic Games, Steam, or Xbox for the JWT in your project (projectId
).
You will get the link to redirect the user to your project.
To enable silent authentication, use the instruction.
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 | Array of strings non-empty ユーザーまたはソーシャルネットワークから追加で要求され、JWTに書き込まれる必要があるパラメータのリスト。パラメータはカンマで区切る必要があります。例えば、
メールアドレスが入力された後、ユーザーはメールアドレス確認メッセージを受け取ります。メール確認を無効にする場合は、カスタマーサクセスマネージャーまでお問い合わせください。 |
session_ticket | string Required. A credential received from a platform during user authentication, encoded according to the Base64 standard. Depending on the social provider, it can be: - an exchange code for Epic Games - a session ticket for Steam - an Xbox authorization token in the following format: |
payload | string Your custom data. The value of the parameter will be returned in the |
with_logout | string Default: "0" 既存のユーザーJWT値を非アクティブ化し、このコールによって生成されたものをアクティブ化するかどうかを示します。次の値を指定できます。
|
app_id | string Your app ID on the platform. Required if the platform where the user is authorized is Steam. |
code | string プラットフォームから受け取ったコード。 |
is_redirect | boolean Default: true エクソラログインサーバーがどのように応答すべきかを示します。以下の値を設定した場合:
|
no_user_creation | boolean Default: false Do not create new user if they not exist yet. Existing users will be authorized as usual |
deployment_id | string The deployment ID that the client is trying to authenticate with in Epic Games. This will impact interactions with other services that require a deployment. If the deployment is not public, only users who have been entitled will be able to log in. For more information on deployments and deployment IDs see Product, Sandbox, and Deployment IDs. Note: You must use this unique identifier to use the Ecommerce APIs, and to request access tokens used by game clients. |
OK
リダイレクション
無効なリクエスト
見つかりません
処理不可能なエンティティー
リクエストの回数が多すぎます
curl --request GET \ --url 'https://login.xsolla.com/api/social/{cross_social_provider_name}/cross_auth?projectId=SOME_STRING_VALUE&login_url=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&session_ticket=SOME_STRING_VALUE&payload=SOME_STRING_VALUE&with_logout=0&app_id=SOME_STRING_VALUE&code=SOME_STRING_VALUE&is_redirect=true&no_user_creation=false&deployment_id=SOME_STRING_VALUE'
{- "login_url": "string"
}