Skip to content

This is an example code for authentication with local, Google and Facebook. Sit back and copy the code. 😊

Notifications You must be signed in to change notification settings

ratnani1996/o-auth-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

o-auth-authentication

handles local, google and facebook authentication

This example shows local, google as well as facebook authentication. Want to make your application more secure and with easy logins and sign ups. Sit back and copy the code, let google and facebook handle authentication also know as o-authentication.

Install

With yarn installed, run

$ yarn install

Make sure to create a variables.env file in the root directory with contents as follows :

PORT = 
SESSION_SECRET = 
MONGO_URL = 
FACEBOOK_APP_ID = 
FACEBOOK_APP_SECRET = 
GOOGLE_CLIENT_ID = 
GOOGLE_CLIENT_SECRET = 

Usage

$ yarn start

This will start the application at port 3000

See Also

License

MIT

About

This is an example code for authentication with local, Google and Facebook. Sit back and copy the code. 😊

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published