Integrate the solution on the application side

There are the following possible ways of integration:

  • via the widget,
  • via API calls if you use your own UI for user authentication.

Integrating via the Login widget

To integrate Xsolla Login with Widget 2.0, connect Xsolla Login Widget SDK. If you use the previous version of the widget and want to switch to version 2.0, contact your Account Manager.

Integrating via API calls

  1. Go to Publisher Account > your Login project > General Settings > URL and fill in the Allowed origins (CORS) field. The URL for calling the API requests is passed in CORS. The field is required if the browser is used for sending the requests to API.
  2. Implement the callback of the API calls:
    1. Register new user,
    2. Auth by username and password,
    3. Auth via social network,
    4. Reset password.

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.