Generate JSON Web Token (JWT) from within Knack

Hi!

I need to generate a JWT (JSON Web Token) with a payload from Knack fields, and send it in a GET request.

Could this be possible to do from within Knack via custom code?

Would I need to connect to an external library or API to do it?

Can I use something like jwt.io, or maybe like this: https://codepen.io/jpetitcolas/pen/zxGxKN, or could it be done all via inline JS?

Would Auth0 play any role here?

Could Zapier, Integromat or a similar service help me?

The payload would look something like this:

{
"usrId": "12345",
"usrName": "Name",
“isPaid”: “true”
}

Being on the no-code space, I have no idea how to do this.

Any help or ideas will be greatly appreciated!

-David.