Correct HTML markup and authentication flow for compatibility with password manager?

I am working on a webapp written in angular, which seems to have problems interacting with the various password managers (Dashlane, LastPass, etc.) that are there. Are there any recommendations regarding HTML markup and authentication flow for compatibility? This is not only an input stream, but also includes things like reset password, username changes, etc.

+7
html angularjs authentication passwords lastpass
source share
1 answer

It seems like this question has already been asked , but not in the context of AngularJS.

From https://lastpass.com/support.php?cmd=showfaq&id=3385

Although LastPass can work with most websites, if you are developing your own website, you can help make it compatible with LastPass by using a simple submit form with username, password, and submit.

Here is an example:

<form action="https://mypage.com/blah" method="post"> <input type="text" name="username" id="username" value=""/> <input type="password" name="password" id="password" value=""/> <input type="submit" value="LOGIN"/> </form> 

As for what to avoid - always create a form on the page load, even if you hide and show it to people who log in, it is better to be there on the page load. Avoid ajax to login and avoid the = GET method

So, in addition to the name attributes for your controls, LastPass recommends having the HTML login form markup when it is first loaded. This is ma

+3
source share

All Articles