[Jitsi As A Service] IFrame JWT doesn't work

I am following the quickstart guide for JAAS and generating a token properly that matches that of the example.

I know I am signing the JWT properly but even if I copy the options from top to bottom with my tenant name and kid, it still says the token is invalid.

Any help would be appreciated.

For debugging this open the dev console before opening the link and go to the Network tab, then open the link and there should be xmmp-websocket destination with messages you can find on the right, probably the last XMPP error message there will be written what is the problem with the token.
It is common problem passing string values where an integer is expected … or a string instead of boolean …