Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Learning to dance the OAuth (without stepping o...

Avatar for Anabella Anabella
December 11, 2018

Learning to dance the OAuth (without stepping on anyone's toes)

This talk is a brief explanation about what OAuth is and how it works in simple terms that I hope anyone will be able to understand. It's told from the perspective of my own experience trying to learn about it and implement it for the first time, using Typeform's developer documentation and platform.

Avatar for Anabella

Anabella

December 11, 2018

Other Decks in Technology

Transcript

  1. @deutschevita OAuth stands for Open Authorization. It's a framework that

    enables a third-party application to obtain limited access to an HTTP service on behalf of a resource owner by orchestrating an approval interaction between the resource owner and the HTTP service. Smart definition
  2. @deutschevita Easy definition It's a set of instructions for two

    apps to interact with the purpose of granting access to protected user data.
  3. @deutschevita Hey Typeform, it's me! I want to access this

    information on this user's account, can you ask them for me? Then let me know at this address. Thanks! My app Authorize
  4. Ok! Here's my client secret and that code you just

    sent me, also my redirect URI so you know I'm 100% legit. My app Token Can I have a token now? @deutschevita
  5. @deutschevita • The OAuth 2.0 specification • Typeform's OAuth docs

    • The beginner's guide to OAuth dancing • The most basic OAuth app repo • The Net Ninja's OAuth tutorial with PassportJS Useful resources to read on