At work, I am building a simple login form in ReactJs. This form has a "remember me" checkbox, which when checked must auto-fill the form next time.
I am a bit worried about this feature since browsers already have built-in features for that. However, I am not seeing how to trigger this functionality when the user checks "remember me" checkbox.
A simple way to do this is using localStorage, however, I think this is not secure. Is there another way to do this using browser APIs?
I have looked to Credential Management API, but this is experimental yet and not well supported by browsers.
I am building this form on client side, using ReactJs. After the form is submitted an AJAX request is done to the server.
Thanks
Aucun commentaire:
Enregistrer un commentaire