I need help to authenticate User with user credentials.
We are using Angular 5 as a front-end & need to store user's email and password if user checks on remember Me. autofill user credentials after logout and refreshing the browser.
There are several ways to store user credentials(Cookies, Local Storage, Session Storage, IndexedDB, WebSQL). but these all are not secure.
we thought about storing user credentials in localStorage by encrypting it. but anyone can decrypt it so, this way is not secure.
Our targeted browser includes Internet Explorer, MS Edge, Safari, Google Chrome, Opera, Mozilla Firefox.