Xsolla-logo

Validate user JWTClient-side

post/token/validate

Validates a user JWT based on the following criteria:

  • the lifetime of the token
  • existence of the Login project
  • presence of an authentic signature from the login.xsolla.com server
  • user existence
  • Validates the user JWT.
Request
Request Body schema: application/json
token
required
string

User JWT.

Responses
204

OK

400

Bad Request

404

Not Found

422

Unprocessable Entity

429

Too Many Requests

Request samples
application/json
{
  • "token": "jwtToken"
}
Response samples
{
  • "error": {
    }
}