Sending token to another box

50 views
Skip to first unread message

jason

unread,
Sep 28, 2017, 2:14:21 PM9/28/17
to ruby-jwt
I'm working on an application that has a staff side and a member side application... A staff person can add a member which generates an email with a JWT for the member to be able to sign into the member side.  I'm running into an issue with not being able to verify the signature because the token was generated on a different box than where it's being decoded, even though I'm using the same secret key.  Is there a better way to do this so that I can still verify the signature?  Is this not possible with HS512?

excpt

unread,
Sep 28, 2017, 2:37:22 PM9/28/17
to ruby-jwt
Hey Jason,

Encoding and decoding on different machines should not cause any issues. That's what JWT was designed to do.

Do both machines use Ruby or a different language?
Reply all
Reply to author
Forward
0 new messages