Invalid signature

HI, please can anyone help confirm what’s missing in my configuration, I keep getting invalid signature error. Currently using API setup in Nestjs. Thanks.

data: { message: ‘invalid signature’, code: -1 }

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: