django-two-factor-auth icon indicating copy to clipboard operation
django-two-factor-auth copied to clipboard

Ability to add a second device

Open claudep opened this issue 6 years ago • 4 comments

Imagine I have two phones and I want to setup 2FA with both phones (I'm not talking about backup phones here). Does that make sense or did I miss some 2FA concept? Is this currently possible?

claudep avatar May 21 '19 18:05 claudep

It's possible, but you'd have to subclass the SetupView and bypass the check for the user having a device already.

You'd only be required to use one of the phones to authenticate at a time though, so this wouldn't add any security.

moggers87 avatar May 21 '19 23:05 moggers87

Thanks for your answer. It does work. It would be great to be able to name the devices (both will be named default) and then manage them separately. I let you decide if you want to close the ticket or if it would be worth adding some documentation about that.

claudep avatar May 23 '19 18:05 claudep

I'm all open to this package gain support for multiple devices simultaneously. Especially useful when we would support FIDO U2F keys, where it is becoming practice to require the user to setup two devices (one for backup).

Bouke avatar Jul 07 '19 06:07 Bouke