Generate JSON Web Token (JWT) from within Knack


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, or maybe like this:, 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!