npm / www

community space for the npm website
https://npm.community
69 stars 48 forks source link

Issue with 2FA flow #341

Open billyjanitsch opened 6 years ago

billyjanitsch commented 6 years ago

Link to the page

https://www.npmjs.com/settings/$username/tfa

Logged in or logged out?

Logged in.

Expected behavior

I want to switch from using one 2FA authenticator to another. I click "Change / Modify 2FA" which takes me to a page where I enter my password, then a page where I select "Authorization and Publishing", then I expect to be taken to a page with a QR code that my authenticator can scan.

Actual behavior

Instead, (presumably because I already had 2FA configured) the QR page gets skipped and I'm taken back to the settings homepage with a confirmation message.

Steps to reproduce the problem

See above.

Browser with version

Chrome 65.0.3325.162

Any error message?

No.

aearly commented 6 years ago

You will have to disable 2FA, then re-enable it to get a new QR code to use another authenticator.

You can swap between auth-only and auth-and-writes without doing the QR code dance.