Set up user authentication

Subscriptions can only be sold to authorized users. To sell subscriptions, you can use either your own authentication system or Xsolla Login:

  • If you don’t have your own backend or want a ready-to-use solution for sign-in and data storage, use Xsolla Login.
  • If you already have your own authentication system, you can continue using it by passing user data via the Xsolla API.
Note
To correctly link subscription purchase, renewal, or cancellation to a game account, authentication must be unified across all points where the subscription can be purchased or used.

You can implement subscription sales in your own UI (application or website) or create a website using Xsolla site builder:

  • When selling subscriptions through your own UI, use the Xsolla API to request data about available and active subscriptions.
  • When using Xsolla site builder, you only need to handle retrieving subscription information on your side to use it in the game.
Note
On sites created with Xsolla site builder, you can only sell subscriptions of the Regular plan type — i.e., subscriptions with recurring billing cycles.

Choose an authentication option for subscription purchases:

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.
Last updated: December 12, 2025

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!
We couldn't send your feedback
Try again later or contact us at doc_feedback@xsolla.com.