WhoBuilt

Authentication: Security Deep-Dive With Okta

Jul 2, 2024· 48 min· 491 views·Watch on YouTube

Speakers

Peter Fernandez, Principal Developer Advocate at Auth0 by Okta, discusses authentication with host Ania Jaffra on the Callstack podcast.

How authentication evolved

Fernandez traces his path from early home computers such as the ZX81 to mainframe security systems. Mainframes relied on user IDs and passwords, a model that later carried over to personal computers. As software and services became more connected, that simple approach faced more complex security needs.

Users, services, and sign-in models

Fernandez distinguishes consumer, business, and internal employee authentication, and describes single sign-on as a way to sign in once across multiple applications. He also explains machine authentication, where a background service identifies itself to another service instead of acting as a user. Mobile apps can use social login, passwords, biometrics, and passkeys, balancing user convenience with protection.

Passkeys and mobile devices

Fernandez describes passkeys as passwordless credentials based on public and private keys, with the private key kept on the user's device. He says this helps protect against phishing and means a compromised backend database cannot be used to recreate passkeys. Discoverable credentials and device pairing can help users sign in across devices.

Choose authentication tools carefully

Fernandez recommends using an established authentication service unless authentication is the product being built, since standards and customer needs keep changing. He clarifies that OpenID Connect is for application authentication, while OAuth 2.0 is for API access and authorization. Auth0 was built with developers and B2C and B2B applications in mind, while Okta also serves enterprise workforce needs.

Options for growing applications

For consumer apps, Fernandez suggests considering passwords, passkeys, social authentication, and multi-factor authentication. Step-up authentication can add a security check for sensitive actions such as financial transactions. As an app grows into B2B use, enterprise federation and single sign-on can let employees access it through their company identity system.

Takeaways

  • Use an established authentication provider unless authentication is central to your business.
  • Use OpenID Connect for user authentication and OAuth 2.0 for API access.
  • Offer sign-in methods that balance user convenience and security, including passkeys where appropriate.
  • Add multi-factor or step-up authentication for higher-risk actions.
  • Plan for enterprise single sign-on if a consumer app may expand into B2B.

Mentioned in this talk

Search inside this talk

What was claimed 5

  • acquired
    Okta acquired Auth0
    “Auth0 ... owned by Okta”
    YouTube
    Unverified1 source· Talk
  • role at
    Peter Fernandez is Principal Developer Advocate at Auth0
    “Principal Developer Advocate for Auth0”
    YouTube
    Unverified1 source· Talk
  • feature
    Auth0: Implements passkey technology in supported browsers and mobile devices
    Implements passkey technology in supported browsers and mobile devices
    “We have an implementation of passkeys.”
    YouTube
    Unverified1 source· Talk
  • feature
    Okta: Enterprise federation and SSO can be enabled for applications
    Enterprise federation and SSO can be enabled for applications
    “Okta makes it easy to integrate enterprise federation and provide SSO”
    YouTube
    Unverified1 source· Talk
  • metric
    Okta: Free tier supports up to 7,500 users authenticating each month
    “Up to 7,500 users can authenticate each month, and we don’t charge you anything.”
    YouTube
    Unverified1 source· Talk

Related talks