jwt
Decode JWTs to inspect header, payload, and expiry, or create new HMAC-signed tokens with chosen algorithm and expiration.
Instructions
Decode a JWT to inspect header/payload/expiry, or create a new HMAC-signed JWT [PRO - 3 free trials]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | (decode) The JWT string to decode | |
| action | Yes | decode: inspect a JWT | create: generate a new JWT | |
| secret | No | (create) HMAC secret for signing | |
| payload | No | (create) Claims object for the JWT payload | |
| algorithm | No | (create) Signing algorithm, default HS256 | |
| expires_in | No | (create) Seconds until expiration |