Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.


Authentication & Authorization: OAuth

via Udacity


As a Python programmer, leveraging Flask allows you to quickly and easily build your own web applications. But before you share your apps on the Internet you should protect your users' data, ensuring information stored on your site is safe from unwanted manipulation. You could implement web security and permissions on your own, but relying on trusted providers is a faster, safer, and easier way to allow users to login to your application - without having to create and maintain another account, profile, and password.

In this course, you will learn to implement the OAuth 2.0 framework to allow users to securely login to your web applications. You'll be provided a restaurant menu application created in Flask. By the end of this course, you will write the necessary code to implement Google+ Sign-In and Facebook Login in options so users can create restaurant menus that are viewable by everyone but only modifiable by the original creator.


  • Authentication vs. Authorization
    • Learn the difference between authentication and authorization.,Learn how OAuth 2.0 makes implementing security easier for developers and users.,See OAuth 2.0 in action as you make API requests using Google's OAuth 2.0 Playground.
  • Creating a Google+ Sign-In
    • Learn about the different types of security flows your application can implement.,See how security can be handled by your server and your user's browser.,Add a Google+ Sign-In to an existing web application and implement a hybridized client/server flow.
  • Local Permission Systems
    • Add python code to create server-side rules that will constitute a permission system.,Limit access of the database for each logged in user based on how the developer designs this code.,Add a User model model to your database to store the credentials collected from the OAuth provider's API.
  • Adding Facebook & Other Providers
    • Learn to implement multiple OAuth providers on your web application.,Add Facebook Login as an alternative sign in option for your users.,Understand how to use OAuth provider documentation to add as many providers as you see fit.

Taught by

Lorenzo Brown


4.0 rating, based on 3 Class Central reviews

Start your review of Authentication & Authorization: OAuth

    For me that never implemented oauth before it's is very good because it goes step by step through an implementation of oauth2 authentication via Google. I recommend this course if you want to understand the concepts besides with working on the real code via Vagrant environment and Python code!
  • Klaas Naaijkens
  • Shashank Sharma

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.