parsin string to JWT token format in Ruby

前端 未结 0 1200
情书的邮戳
情书的邮戳 2021-01-11 18:57

I have a payload that I encode as:

token = JWT.encode payload, ENV[\'JWT_SECRET\'], \'HS256\'

This gives me a proper token w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题