Skip to content

Google OAuth2 flow with JWT access token and refresh token generation with protected route sample

Notifications You must be signed in to change notification settings

prashant2018/Google-Oauth2-Jwt-Nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJs Http Rest Google Oauth2 with JWT

  1. Login using Google with auth/login-google
  2. Get user details and generate AccessToken and RefreshToken
  3. Access protected route users/ with AccessToken
  4. auth/refreshtoken to generate new AccessToken
  5. auth/logout to logout user

Note:

Replace the values in '.env' file to your application specific values



If you find this helpful, then you can show me some love by buying a coffee for me :) Buy me a coffee! ☕

Buy Me A Coffee

About

Google OAuth2 flow with JWT access token and refresh token generation with protected route sample

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published