PHP JWT token flow in Symfony
I am working on an app with separate front-end and backend. I need to create API routes which are protected by a JWT token.
On login/register the user gets back a JWT token(short lived) and refresh token(long lived). Refresh token is store…