Xsolla-logo
  • 문서화
  • 계정 생성

Validate Server JWTClient-side

post/server/token/validate

Validates a server JWT. Checks the following criteria:

  • the lifetime of the token
  • existence of the Login project
  • presence of an authentic signature from the login.xsolla.com server
  • value of the request_type field: gateway_token
Request
query Parameters
projectId
required
string <uuid>

게시자 계정의 로그인 프로젝트 ID입니다.

Request Body schema: application/json
token
required
string

The server token that is sent by the Xsolla Login server to your server in response to the authentication, user registration, or password reset request when using a custom data storage.

Responses
204

확인

400

잘못된 요청

401

인증되지 않음

404

찾을 수 없음

422

처리할 수 없는 엔터티

429

요청이 너무 많음

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