This page is a work in progress.You can help improve it. →

Intro to OAuth

Learning Objectives

  • be able to describe authentication
  • be able to describe authorization
  • understand the OAuth work flow
  • Read and understand client side code that uses OAuth

This lecture aims at giving a basic overview of authentication and authorization. This covers token based authentication and serves as the students first look into the aspects of user authentication. This lessons focuses on OAuth 2.

This lecture should be given toward the later part of unit-iii - full stack fundamentals.


Full Code Samples

Lecture notes

  • Begin with intro to the problem of authentication and authorization

  • use the slides as a guide

  • the flow is

    • what is authentication
    • what is authorization
    • cookie vs token
    • OAuth
  • Watch this video with pausing at times to reviewing and re-explaining concepts

  • break -

  • walk over react code samples

  • lunch -

  • walk over back-end language samples

Possible Assignments

  • recovery blog

Additional Resources

Next Lectures

  • This should be towards the end of full stack fundamentals, so the next lecture should be more practice, with possibly adding auth to an existing app
© 2017 - 2021; Built with ♥ in St. Petersburg, Florida.