How to decrypt JWT?

What function decrypts JWT? eyJhbGciOiJ*********

It’s 3 sections of base64 data separated by dots, the first 2 are cleartext, the last one is a signature so you cannot read it.

That is correct. I need to extract data from the decoded token.

Is there a function that works similar like http://jwt.io/?

Split the token by using a parse block in LR mode. To get the first chunk you can use an empty left string and a dot as right string, for the middle chunk use a dot for both left and right string. Then simply use a base64 to utf8 block to convert it back to human-readable data.

1 Like

Perfect! You never fail to amaze me, boss.