Validate Session

Validate and parse a user's session JWT.

This endpoint is used to validate a users session using the Project ID and the user's session JWT. Upon successful validate of the user, you will receive the parsed JWT.

When posting to this endpoint from an application, you get the JWT from local or cookie storage, and prepend it with project ID and use that as the bearer.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer <Project ID:Session JWT>

SecurityAuthProjectIdSessionJwt
Request
Request Body schema: application/json
required
object (onetimev1.ValidateSessionRequest)
Responses
200

OK

post/v1/auth/validate
Request samples
Response samples
application/json
{
  • "parsedJWT": { }
}