Answer the question
In order to leave comments, you need to log in
Why use JWT?
In fact, after digging into the projects, I noticed that any project that uses Doctrine 2 and DDD uses JWT, and writes custom authorization, recovery, user registration.
Why and why?
For example, in Laravel + Doctrine, it is clear that the standard Auth and Guard package will not work as it should with Doctrine, because those packages are on Eloquent.
What about Symfony? I see that JWT packages are used and where there is no FOSUserBundle, why? Is there really no or no standard Symfony packages for developing a user authorization system?
Package example:
https://github.com/lexik/LexikJWTAuthenticationBundle
Answer the question
In order to leave comments, you need to log in
Why don't you like JWT? This method of saving and passing state, in particular authentication data, is more versatile than the standard session entry.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question