Store sensitive user data like password


#1

I need to save user password for next time auto login

so can I call Windows Data Protection API within Electron

https://msdn.microsoft.com/en-us/library/ms995355.aspx

or there are some other best practice for such case?

Thanks


#2

You can use https://github.com/atom/node-keytar