Authenticates a user via a particular device ID.
| client_id required | integer Your application ID. Get it after creating an OAuth 2.0 client. |
| response_type required | string Grant type used in your project that has the enabled OAuth 2.0 protocol. Must be |
| state required | string Value used for additional user verification. Often used to mitigate CSRF Attacks. The value will be returned in the response. Must be longer than 8 symbols. |
| redirect_uri | string URL to redirect the user to after account confirmation, successful authentication, or password reset confirmation. To set up this parameter, contact your Customer Success Manager or email to csm@xsolla.com. Notice
The parameter is required if you have more than one redirect URI in your project settings. |
| scope | string Scope is a mechanism in OAuth 2.0 to limit an application’s access to a user’s account. Can be:
If you process your own values of the |
| device required | string <= 100 characters Manufacturer and model name of the device. |
| device_id required | string [ 16 .. 36 ] characters Device ID:
|
OK
Bad Request
Unauthorized
Not Found
Unprocessable Entity
Too Many Requests
{- "device": "ONEPLUS A6003",
- "device_id": "1AF516EFACD646F6"
}{- "login_url": "string"
}