In-game user authentication

How it works

Launcher sends the data of the users, authenticated via the desktop app, to the game in the --xsolla-login-token parameter in the JWT format. You can use this parameter to set up automatic in-game user authentication.

Who can use it

Partners who have Launcher integrated.

How to get it

  1. Decode the JWT, the structure of which is described in the Login API documentation.
  2. Get the following user data:
    • the unique user ID passed in the sub parameter,
    • the user session ID passed in the xsolla-login-access-key parameter.
  3. Set up parameter processing for the game to authenticate users automatically.

If you set up PlayFab as a storage for user data in Xsolla Login, user authentication data is passed in additional JWT claims.
Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Rate this page
Rate this page
Is there anything we can improve?

Don’t want to answer

Thank you for your feedback!
Last updated: October 24, 2022

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!