Brad Frost

The UX of login codes

I could do a deep dive into the UX of login codes, but I'll do my best to keep it short. If your product texts/emails login codes, the experience better be amazing. 6 text fields on a web form meant for a login security code. A blue focus ring is on the first box. Bad

Better

Best The best experience is for this whole nightmare flow not to exist at all. I know I know, security blah blah blah, but zooming all the way out, this experience is rough. It's death by 1000 paper cuts for everyone. It feels like punishment. Other two-factor authentication methods exist, but each method introduces its own pain. Authenticator apps introduce a "YOU HAVE TO DEFUSE THIS BOMB IN 10...9...8..." level of stressful bullshit into an already-painful experience. Passkeys are relatively new and seem promising in theory. But holy shit the current UX around them is really painful. I find myself clicking random purple buttons between Chrome, 1Password, and my phone. I really don't know what's going on, but eventually I click enough that it lets me in? Perhaps I don't have things set up right, but it doesn't match the magic that's been pitched to me. Anyways, there's a real friction between great UX and great security, and I can appreciate a lot of the challenges and compromise required to strike a balance. But please for the love of all that is holy, try. Try to make this experience good. This awful-yet-currently-necessary experience is a critical touchpoint for your brand, so get it right. I know it's not the sexiest flow, but it's something that all of your users have to endure again and again and again.