Implementation steps
1. JSON Web Token (JWT) configuration
No custom claims to show... Signature
Secret key
(min. 16 bytes long)
2. Configure the corresponding action
Create a submit action (tipically a screen action) to handle the JWT generation.
To generate a JWT based on a plain secret key:
Open the submit action (GenerateJWT) created previously and drag the following action:
Fill in the action parameters, with the values configured for the JWT from the previous step.
To generate a JWT based on a PEM private key:
Open the submit action (
GenerateJWT) created previously and drag the following action:
Fill in the action parameters, with the values configured for the JWT in the previous step.
3. Validate the generated token
Verify the success parameter. An encoded token is returned, and can be separated to obtain the header, payload and the signature individually using a
String_Split action.