Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
slau
on March 14, 2017
|
parent
|
context
|
favorite
| on:
JSON Web Tokens should be avoided
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1]: https://github.com/teotwaki/grace-calendar/blob/develop/app/...
Edit: DYAC.