In my app, I have to store user’s account password. As far as I understand, there is no other alternatives, but to use local storage. I’ve done some research and it seems that local storage is not completely secure yet.
I guess, I could encrypt the password, but where would I store the encryption key?
Besides that, are there any other security best practices? Besides the obvious “send everything over HTTPS” one.
If the data is not critical, store encrypted password on app, local storage is not completely secure but is enough for many app. If you need high grade of security, then change the backend api (or add a layer in the middle to manage jwt).