Invalid signature

Hey @Pausonbigi , we have an official SDK for Javascript.

You are more than welcome to use that one.
If you’re still curios on how we generate the JWT using our SDK, you may use our logic in our official SDK: