Skip to content

JWT - Inspect Token

Overview

Inspects a JWT token and returns its claims as a Data Structure

Claims are the data that is stored in the JWT token.
This block is useful if you have a JWT that has passed your trigger Authentication and you want to inspect the claims.

It does not validate the JWT as that will have already been done in a Trigger, however you can run further authorization checks on the claims using logic.
If you want to fail authorization you can return appropriate content and an appropriate status code (eg. 403 Forbidden)

Returns
Data Structure

Parameters

ParameterParameterValid BlocksRequired
JWT Token The JWT token to inspect - usually in an incoming request header (eg. Authorization: Bearer <token>) Text Block Group Yes