Security

oAuth

How OAuth lets an app use your account without your password: the authorisation code flow, scopes, access tokens, and how OpenID Connect adds sign-in.

  • 3 min read
  • 3 questions
  • +25 XP
Transcript

OAuth explained by cats. Kitty wants to go club. Bouncer asks for ID. Too much info. Kitty not comfy. Kitty goes to reception. Reception safe. Kitty trusts. Reception checks ID. ID is valid. Gives Kitty a token. Token says, Kitty allowed.

Kitty shows token to Bouncer. Bouncer checks. Token valid. Bouncer lets Kitty in. Party time. Kitty is the user. Reception is the identity provider. Bouncer is the app security. Club is the app. That's OAuth Flow.