I am Developing a user module with Laravel 5 as backend with passport and Angular 4 is front end client.
In this Module After authenticating the user in server side passport issues a access_token , and refresh_token and i am storing both Tokens in Client side Local storage, and working fine.
My questions is what is the better way to store the user Auth token in client side "Local Storage" or "Cookies".
Can anyone Please suggest the better way to store the sensitive data from vulnerability.
Thanks in Advance.