Secret base 64 encoded in JWT.io debugger

Hello,

I can’t understand what the “Secret base64 encoded” in the JWT.io debugger do.

With php-jwt library I can generate the same tokens of the JWT.io debugger if I don’t use “Secret base64 encoded” in the debugger. But when I base64encode my secret in php-jwt the result aren’t the same: the JWT.io debugger with the “Secret base64 encoded” flag generate the correct tokens I need for my application, my code doesn’t.

I noticed this isn’t the first time this issue is brought to light but I found no answers in the previous topics.

Someone can tell me what is the correct way to replicate the “secret base64 encoded” output of the JWT.io debugger? I can provide key and code if useful. Thank you!

Best regards

G

Hey there!

I think it will be useful to tackle that directly with the tool maintainers. Would you be able to reach out to Sam Bego one of our developer advocates (who maintains jwt.io) via Twitter or Linkedin? Thank you!