Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Lock the encryption to RS512 and the standard is fine. I do a test against that and I also include a key relevant to and content I send with the token. This make the signature per request and considerably more difficult to forge. Maybe using JWTs for sessions is bad, using them for APIs is awesome with the specific caveats.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: