Does FusionAuth support paseto tokens?
-
Does FusionAuth support paseto tokens? JWTs have some settings which can be insecure (
"alg":"none
), whereas Pasetos are secure by default. -
No, currently FusionAuth does not support paseto tokens. We do have an open feature request in our issue tracker, though.
Please upvote it if this is important to you.
-
In my opinion, JWTs aren't insecure by default. Rather, they have the ability to be insecure via the
none
algorithm, while in practice, no one ever uses thenone
algorithm and FusionAuth doesn't even support it. In most cases, JWTs are only signed and there is an entirely separate specification for encryption, which is quite complex.Paseto on the other hand is always secure via signing or encryption. Having signing and encryption baked into a simpler specification is a plus. That doesn't necessarily mean that JWTs are bad though. And certainly FusionAuth's support for JWTs is always secure via signing.
-
Also, if you are interested in building a more secure JWT, this article may be of interest: https://fusionauth.io/learn/expert-advice/tokens/building-a-secure-jwt/