JWT Implementation for iOS

Hi all,

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.

image

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,

Mike

// DOWN LOAD EXAMPLE JWT PROJECT
https://www.dropbox.com/sh/ebg9g2bl6j4jxbe/AAAT0pOuct-T8XE9yUCp9I-Ga?dl=1

5 Likes