I have written a Json Web token (JWT) implementation for Xojo’s iOS framework. Additionally within this project I also created a Base64URL function that uses @Jason_King’s EncodeBase64 base function.
Now this is an example that I generically made from my working project. Please extend the JWT Payload to meet the needs you may have as I left this with “secret” and “iss” only as the example.
Also please see App.Open() as you begin through this example.
(Great troubleshooting Tool for validating JWT Signatures: https://jwt.io/#debugger-io)
Hopes this helps,
// DOWN LOAD EXAMPLE JWT PROJECT