3 ms·
I too love the best tool for the job, which is why blanket statements saying session IDs should always be used for authentication are very puzzling to me. HTTP
by s_y_n_t_a_x 7y ago
I too love the best tool for the job, which is why blanket statements saying session IDs should always be used for authentication are very puzzling to me.
HTTPS, HMAC and asymmetric keys are battle tested and proven to work as well, that was one major point of the article.
- miguelmota 7y agoI didn't say that they should "always" be used for authentication but that session IDs fulfills most web app user authentication needs. Most devs that implement JWT treat them as stateful which defeats the purpose of them. JWT has it's use cases when done correctly.
- s_y_n_t_a_x 7y agoYou said "JWTs just aren't good for authentication" which is pretty definitive. I'm not sure you read the article because the points you are making were addressed.