POST
/v1/auth/validate

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\>

Try it

/v1/auth/validate

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/auth/validate" \
  -d '{}'

{
  "parsedJWT": {}
}

Was this helpful?