POC: Create and sign a JWT with iRule
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.
This snippet creates and signes a JWT. Signing algorithm is RS256.
Problem solved by this Code Snippet
This is a simple way to create a valid JWT for testing purposes.
How to use this Code Snippet
- Add a private key
- Assign it to a VS and request "/jwt" to get a signed token
Code Snippet Meta Information
- Version: POC
- Coding Language: TCL
Full Code Snippet
Updated Jan 19, 2024Version 3.0