Making two-factor authentication more user-friendly through trusted devices

As a follow-up to my previous article on two-factor authentication, I needed to figure out a way to make 2FA more user-friendly, as entering an extra code every time you login can be quite cumbersome.

As you will see if you enable 2FA on big sites such as Google or Github, the 2FA code will be asked only once, and then you will have the possibility to save the device you just used as a “trusted” device, avoiding for a new code to be asked every time you login. If however you log in from a new browser or…