JWT Decode
Last updated
Was this helpful?
Last updated
Was this helpful?
This operation is used to decode JSON Web Tokens (JWTs). JWTs are commonly used for authentication and data exchange in web applications, and they consist of three parts:
Header - Encoded metadata about the token.
Payload - Encoded claims or data being transmitted.
Signature - A cryptographic signature to verify the token’s integrity.
This operation helps decode and inspect the header and payload of a JWT without verifying the signature.
These are the input/output expected data types for this operation:
- JWT string you want to decode.
- Decoded JWT strings
Suppose you want to decode a series of events in the Base64 encoding scheme:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose JWT Decode.
Give your Output field a name and click Save. The values in your input field will be decoded.
For example, the following JWT:
will be decoded as:
You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.