ethitter/Authy-for-WP

Improve login screen

Closed this issue · 4 comments

#1 Is probably more confusing.

#2 Could work, but it will feel "odd". That said, if you couple the right JS effect(fan out) etc to create the right experience it might be OK.

#3. Does this mean that first login is going to be failed and subsequent logins are going to include the field?

My intention was the implement all three changes as part of a general reworking of the login experience.

For the click, I planned on having a link that ready something like "Using Authy? Click to enter your token." or some such text. I'm open to input on the wording, as I generally struggle to come up with something that makes sense to end users. Hopefully this will be apparent enough to users who've taken the steps to enable Authy on their accounts.

As for my third point, hopefully implementing the first two points won't mean that the first auth attempt fails. I was specifically thinking of the cases where a user fails to enter a token but needs to, or where the password or token are invalid.

At this time, given that WordPress doesn't have an official way to add screens to the login flow, this is the best solution I'm comfortable with. Hacking in a solution is something I'm unwilling to do because it sets a bad example and is prone to breaking too many things. I really want to this plugin to adhere to WordPress coding standards and best practices whenever possible, as an example of how these things should be done.

Gotcha. Look at: authy.com/signin

See the request SMS link under the token? I think if you build a form that says:

Username:
Password:
link: click here to enter the token if you are using two-factor authentication.

Then the user click the link a small dialog pops up to enter the token. You could also add a link to this dialog to request an SMS.

Make sense on #1. Or it should show the second step with Authy authorization only when the user has activated with Authy and leave the activation part in User profile.

Our users were pretty confused with the extra field on Wordpress login so I have to disable it until #1 is implemented.