key requiredThe secret signing key, the same key that was passed to jwtencode when the token was created. jwtdecode verifies the Bearer token against it. Required - an empty key always returns an empty string.
add_validity optionalOptional revocation check. An alias or AA expression evaluated for the authenticated user; jwtdecode compares the result against the aaValid claim stored in the token (set by jwtencode) and rejects the token if they differ. This lets you invalidate older tokens - for example by updating a logout-time field on logout. Works only for Reader Management users (those with a long id); for other users this extra check is skipped.
[{jwtdecode:}]
[{jwtdecode:my-secret-key}]
{jwtdecode:my-secret-key}
{if:{jwtdecode:my-secret-key}:Welcome back:Please sign in}
{jwtdecode:my-secret-key:_#EXITTIME}