Y
Hacker News
new
|
ask
|
show
|
jobs
by
ponytech
3383 days ago
I agree. I've read the whole article and still wonder why I should stop using JWT.
1 comments
slau
3383 days ago
You shouldn't. Simply check that the hash algorithm specified by the client is the one you used when issuing the token. In a side project, I simply hard code the algorithm [1].
[1]:
https://github.com/teotwaki/grace-calendar/blob/develop/app/...
Edit: DYAC.
link
[1]: https://github.com/teotwaki/grace-calendar/blob/develop/app/...
Edit: DYAC.