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. To get user data, decode JWT:
    • the unique user ID is in the sub parameter,
    • the user session ID is in the xsolla-login-access-key parameter.
  2. Set up parameter processing for the game to authenticate users automatically.

Note
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.