Skip to content

App for handling sessions with passport and google-oauth20 in typescript

Notifications You must be signed in to change notification settings

victorgmp/google-oauth20-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Clone this project and install depencies

$ npm install

ENV configuration

Create a .env in the root of the project with this structure:

PORT='PORT'
googleClientID='CLIENTID'
googleClientSecret='SSHHHH'
MONGODB_URI='mongodb://HOSTNAME/DATABASE'
cookiekey='COOKIEKEY'

Based in the in the OAuth Login tutorial by the NetNinjaTeen: https://www.youtube.com/watch?v=sakQbeRjgwg&list=PL4cUxeGkcC9jdm7QX143aMLAqyM-jTZ2x

About

App for handling sessions with passport and google-oauth20 in typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published