Skip to content

wpcodevo/JWT_Authentication_React

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google OAuth Authentication with React.js and Node.js (No Passport)

In this article, you'll learn how to implement Google OAuth Authentication with React.js and Node.js without using Passport. You'll also learn how to send JWT access and refresh tokens after the user has been authenticated.

Google OAuth Authentication with React.js and Node.js (No Passport)

Topics Covered

  • Create Google client ID and client secret
    • Create a New Node.js Project
    • Create an OAuth Consent Screen
    • Create the OAuth Credentials
  • Build the Consent Screen URL
  • Build the Google OAuth Login Page with React and MUI
  • Implement the OAuth Authentication on the Node.js Server
    • Get Google OAuth Access Token and User's Profile
    • Update the User Model
    • Add a Service to Update the User
    • Create the Google OAuth Controller
    • Create the Route
    • Register the Session Router

Read the entire article here: https://codevoweb.com/google-oauth-authentication-react-and-node/

Articles in this series:

1. Node.js + TypeScript + MongoDB: JWT Authentication

Node.js + TypeScript + MongoDB: JWT Authentication

2. Node.js + TypeScript + MongoDB: JWT Refresh Token

Node.js + TypeScript + MongoDB: JWT Refresh Token

3. Google OAuth Authentication with React.js and Node.js (No Passport)

Google OAuth Authentication with React.js and Node.js (No Passport)

4. GitHub OAuth Authentication React.js and Node.js(No Passport)

GitHub OAuth Authentication React.js and Node.js(No Passport)

About

JWT Authentication and Authorization with React, RTK Query, Material UI, React Hook Form and Zod.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages