Waits until the user follows the link provided via email or SMS and returns the confirmation code for authentication. If you sent this call and after 20 seconds you didn't get the code, there was an error. In this case, resend the call immediately. The code lifetime is 3 minutes.
The workflow of using this call:
- The application opens an authentication form so the user can enter their email address.
- The user enters their email address.
- The application sends the Start auth by email or phone number (JWT or OAuth 2.0) request to the Xsolla Login server: a. If the parameter
send_linkistrue, after this request, you should send this same request to make email or SMS contain the confirmation code and link. b. If the parametersend_linkisfalseor not passed, the email will contain the confirmation code only. - The Xsolla Login server sends an email or SMS to the user and returns the ID of the confirmation code.
- The application shows a field so the user can fill in the confirmation code.
- The user enters the received confirmation code or follows the link.
- The application sends the Complete auth by email or phone number (JWT or OAuth 2.0) request with the received ID to the Xsolla Login server.
- The user is considered as authorized.
Example of a method with client-side authentication: 
Claims that are contained in the token after authentication via a social network. Presence of these claims does not depend on the user database.
provideridis_cross_authsocial_access_tokenaccess_tokenparameter used for authentication. Contact your Account Manager to set up the feature.picturebirthdaygendername