Code[ish]

Designing a Better 2FA Mobile App


Listen Later

Chris Castle, a developer advocate at Salesforce, is joined by Evan Grim, a software architect at Salesforce responsible for the Salesforce Authenticator mobile app. Salesforce Authenticator is a component of a two-factor authentication flow. After a user signs in to their Salesforce organization, the mobile app will generate a secure code which is used to provide additional verification. This guarantees that even if a user's password is compromised, a hacker won't be able to login unless they have access to your phone, too.

Experiencing a flow like this has become commonplace, with banks and other websites taking a security-first approach to their user experience. What's starting to change is the way these 2FA apps work. For example, Evan has built a flow where the Salesforce Authenticator uses geolocation to identify where you are. If you log in to a website from the same location enough times to establish a pattern, the app can send the security code automatically, without you needing to type anything in. Evan is very interested in exploring further trends where safety is not compromised for the sake of usability.

For the remainder of the episode, Chris and Evan discuss the fundamentals of the technologies and systems used to build the app. Evan believes that keeping things simple is paramount to any software project. For many years, the Salesforce Authenticator backend was situated in one region, and it served them well. Now that the app has become more popular, they are considering the complexities of multi-region support, including sharding their Postgres database. Their trade-off for focusing on adoption over sophistication has paid off, as it often does. Now that their idea has been validated, they can plan to rearchitect their app to support increased volume from a growing security-conscious user base.

Links from this episode
  • Wikpedia's article on Multi-factor authentication
  • Salesforce Authenticator is an intelligent two-factor authentication app
  • Let's Encrypt provides free and automated SSL certificates for any website
  • Securing the Web with Let's Encrypt podcast
  • Heroku Postgres
...more
View all episodesView all episodes
Download on the App Store

Code[ish]By Heroku from Salesforce

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

18 ratings


More shows like Code[ish]

View all
TED Radio Hour by NPR

TED Radio Hour

21,998 Listeners

Planet Money by NPR

Planet Money

30,647 Listeners

Global News Podcast by BBC World Service

Global News Podcast

7,685 Listeners

Economist Podcasts by The Economist

Economist Podcasts

4,181 Listeners

This Week in Startups by Jason Calacanis

This Week in Startups

1,289 Listeners

Accidental Tech Podcast by Marco Arment, Casey Liss, John Siracusa

Accidental Tech Podcast

2,126 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

625 Listeners

Science Vs by Spotify Studios

Science Vs

12,193 Listeners

The Salesforce Admins Podcast by Mike Gerholdt

The Salesforce Admins Podcast

205 Listeners

The Daily by The New York Times

The Daily

112,489 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

986 Listeners

The Diary Of A CEO with Steven Bartlett by DOAC

The Diary Of A CEO with Steven Bartlett

8,530 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,010 Listeners

All-In with Chamath, Jason, Sacks  Friedberg by All-In Podcast, LLC

All-In with Chamath, Jason, Sacks Friedberg

9,830 Listeners

Plain English with Derek Thompson by The Ringer

Plain English with Derek Thompson

2,287 Listeners