back

by rvz·6y ago·view on hn ↗
Honestly, I find that PASETO [0] is a better candidate to replace JWTs since it supports encrypting these tokens and doesn't have multiple ciphers to choose from, unlike JWTs. They can be used just like them for signing, etc just without the weak cryptography in the token.

Fernet [1] was close to being an alternative but I've seen that even Branca [2] tokens look much more like a saner alternative for replacing JWTs.

[0] - https://paseto.io

[1] - https://github.com/fernet/spec

[2] - https://branca.io