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

egghead.io

Add Github Login to Your Web App with OAuth 2.0

via egghead.io

Overview

Every developer who has attempted to demystify OAuth 2.0 must be presented with mind-bugging complicated flow diagrams. It becomes worse when you try to understand all the terminologies of OAuth 2.0 and Open ID protocols.
There is no getting around the OAuth 2.0 flow being complicated with back and forth between your browser, the service you are authenticating with, and the application you want to access.
This course gets straight to the point without any application code distracting you from the core takeaway -- You will learn how to authenticate and authorize yourself using GitHub as your Auth Server.
We'll first cover the OAuth 2.0 flow for authentication and then integrate the Open ID protocol for authorization.

Syllabus

  • Get a GitHub client ID and Secret for an OAuth Application
  • Add GitHub Authorization to an OAuth Client App
  • Create an OAuth Client-Server for code/token exchange
  • Parse for the Auth Code in a Query before Sending It to a Server
  • Exchange Auth Code in a Request for an Access Token
  • Fetch Protected Data from a Resource Server with an Access Token
  • Encode User Data with JSON Web Token (JWT)
  • Identify Users with JWT
  • Use JWT to Make a Protected Request
  • Handle a Protected Request with JWT

Taught by

Christian Nwamba

Reviews

Start your review of Add Github Login to Your Web App with OAuth 2.0

Never Stop Learning.

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

Someone learning on their laptop while sitting on the floor.