I am using Symfony for the back end and this for authenticating the user. When I close the browser, and open the application and make a call to web service, the token is invalid.
How do I make the token remain valid even after closing the browser.
I am using Symfony for the back end and this for authenticating the user. When I close the browser, and open the application and make a call to web service, the token is invalid.
How do I make the token remain valid even after closing the browser.
for reason of security, i image the token was linked to your ip, or any kind of information or simply the token expire, so you need to refresh this token, for example, autologin, or similar, if you are using JWT see this docs and using JWTRefreshTokenBundle.