Exchanges the user JWT from Steam, Xbox, Abyss to the JWT in your project (projectId
).
To enable silent authentication, use the instruction.
client_id required | integer Your application ID. Get it after creating an OAuth 2.0 client. |
response_type required | string Grant type used in your project that has the enabled OAuth 2.0 protocol. Must be |
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. |
redirect_uri | string URL to redirect the user to after account confirmation, successful authentication, or password reset confirmation. To set up this parameter, please contact your Account Manager. |
app_id | string Your app ID in the platform. |
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 |
session_ticket | string Session ticket received from the platform. |
code | string Code received from the platform. |
is_redirect | boolean Default: true Shows how the Xsolla Login server should respond. If you set:
|
OK
Redirection
Bad Request
Not Found
Unprocessable Entity
Too Many Requests
curl -i -X GET \ 'https://login.xsolla.com/api/oauth2/social/{oauth2_cross_social_provider_name}/cross_auth?client_id=0&response_type=string&state=string&redirect_uri=string&app_id=string&scope=string&session_ticket=string&code=string&is_redirect=true'
{- "login_url": "string"
}