I am having trouble successfully generating a JWT token. I suspect it’s the way that I’m converting the admin secret key. I’ve tried decoding the key in a number of different conversions (binary, binary byte array, etc.) and I can’t get anything to work. Example screenshot of most recent attempt:
No matter what I try, the generated token returns this error when I try to load it in an API call:
message: Invalid token: invalid signature,
context: null,
type: UnauthorizedError,
details: null,
property: null,
help: null,
code: INVALID_JWT,
id: 2b86b3d0-684e-11ee-b6af-0197ef128098,
ghostErrorCode: null
Any suggestions as to what I may be doing wrong?
Thanks,