Authorization with OAuth 2.0 in JavaScript

Gain insights into OAuth 2.0 in JavaScript. Learn to set up Google Cloud, create credentials, and access user resources on Google and Facebook using OAuth tokens.

Beginner

12 Lessons

3h

Certificate of Completion

Gain insights into OAuth 2.0 in JavaScript. Learn to set up Google Cloud, create credentials, and access user resources on Google and Facebook using OAuth tokens.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

10 Playgrounds

This course includes

10 Playgrounds

Course Overview

OAuth 2.0, also known as Open Authorization 2.0, is an authorization protocol that grants applications with fine-grained access to resources on another host. In this course, you'll first get an introduction to the OAuth 2.0 protocol, its components, the different kinds of access the resource owner can provide to the client, and different types of OAuth workflows. Then, you will learn to set up a project on the Google Cloud Platform and create authorization credentials. You'll also look at a guide on how t...Show More

What You'll Learn

An understanding of the OAuth 2.0 protocol including its components, roles, scopes, and grant types

A working knowledge of using OAuth to access Google resources, including media files stored on the Google Drive

Hands-on experience accessing the resources of Facebook users with the help of access tokens

What You'll Learn

An understanding of the OAuth 2.0 protocol including its components, roles, scopes, and grant types

Show more

Course Content

1.

Introduction

Get familiar with OAuth 2.0, its basics, grant types, client registration, and workflows.
2.

Case Study: Access Google Resources

Discover the logic behind integrating Google APIs securely with OAuth 2.0 in JavaScript.

Build an Online Video Player in React and YouTube Data API

Project

3.

Case Study: Access Facebook Resources

Examine setting up OAuth 2.0 with Facebook, generating tokens, and accessing resources.
4.

Conclusion

Find out about OAuth 2.0 integration, security guidelines, and the importance of consulting RFCs.

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor