Quantcast
Viewing all articles
Browse latest Browse all 5

JWT Token Generation

Sure thing, Ryan. I’m ultimately trying to create an API call using Xano. I have a function setup that generates a token using the Ghost admin API documentation within the Xano interface.

However, since I’ve been continually getting that invalid signature response no matter how I tweak the function, I am now using JWT Debugger to manually try to create a token. That’s the first screenshot above - I manually entered the Header, Payload, and Signing Key (Ghost Admin Key in byte binary array) and then copy the JWT string that is created and pass it along in a test API call using Xano.

The goal of using JWT Debugger is just so that I can understand what component of the token my Xano function isn’t delivering correctly. Ultimately I will be generating it within that function in production, but since it’s not working need to figure out what part is wrong.

Read full topic


Viewing all articles
Browse latest Browse all 5

Trending Articles