WordPress / two-factor

Two-Factor Authentication for WordPress.
https://wordpress.org/plugins/two-factor/
GNU General Public License v2.0
728 stars 153 forks source link

Clarify TOTP setup instructions #486

Open iandunn opened 2 years ago

iandunn commented 2 years ago

I think the current instructions will confuse many folks who are new to TOTP or 2FA in general.

Screen Shot 2022-10-25 at 7 36 10 AM

They assume that folks have setup TOTP before, so they several steps of the process. The introduction feels like a run-on sentence, which could overwhelm folks who need to go slower. The secret isn't labeled, so it could also be confusing to folks who haven't seen one before.

Breaking it into steps could help a lot. Here's a very rough sketch of what that could look like:

Screen Shot 2022-10-25 at 7 34 45 AM

That still needs a lot of visual formatting and refinement, but hopefully it conveys the general idea.

pbiron commented 2 years ago

In general, I think the direction of the "rough sketch" is great.

One minor quibble: authenticator apps do not have to be on a phone. For example, Authy has a desktop version (which can sync accounts to their mobile version)...that's what I use.

So, I'd suggest something like:

Step 1: Install an authenticator app on your desktop/laptop and/or phone....

iandunn commented 2 years ago

Yeah, that's a fair point 👍🏻

r-a-y commented 2 years ago

Yeah, I agree with this.

On our two-factor install, we modified the first line to:

Please scan the QR code or manually enter the key into your authenticator app. Next, enter the authentication code from your app to complete set up.

We also prefixed the key with <strong>Key: </strong> and changed the "Submit" button text to "Complete Set Up".

dd32 commented 2 years ago

It's worth noting that step 2 of "Install a QR code scanner app" in the rough sketch above isn't normally a separate step, it's built in to most (all?) of the authenticator apps.

With the addition of #487 it might be also worth noting that Mobile users (and I guess desktop app users..) can click the QR to load their app usually.

dd32 commented 2 years ago

For comparison of what users may be accustomed to already, I'm including some Screenshots of other platforms where TOTP is implemented.

Notably

WordPress.com GitHub Microsoft Google Amazon
Screen Shot 2022-11-09 at 12 40 47 pm Screen Shot 2022-11-09 at 12 36 29 pm Screen Shot 2022-11-09 at 12 49 43 pm Screen Shot 2022-11-09 at 1 08 52 pm Screen Shot 2022-11-09 at 1 14 38 pm Screen Shot 2022-11-09 at 1 00 13 pm
Screen Shot 2022-11-09 at 1 00 13 pm Screen Shot 2022-11-09 at 12 59 12 pm Screen Shot 2022-11-09 at 12 58 07 pm Screen Shot 2022-11-09 at 1 09 29 pm Screen Shot 2022-11-09 at 1 15 26 pm