Skip to content

An Authentication API which utilizes Social Authentications

License

Notifications You must be signed in to change notification settings

RaqDeku/Authentication-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Authentication-API

An Authentication API which utilizes Social Authentications.

Which when modified can serve as a microservice for authentication. Or bundled in the app like in the monolitic architecture of software development. The oauths utilized are Google and Facebook, Twitter oauth V.2 doesn't provide user email but the oauth v.1 does, which involves a little process.

So I did not utilize their oauth API since my use case i need the user email in to store in my database of users.

Usage

  1. Create a .env file in the root of the server
  2. Add the variours env variables for your app. Note: you'd need to create an app with the various providers and obtain your app credentials
  3. Run npm install
  4. Run npm run dev

image

Env Variables to add For the MONGODB its the uri to your mongo be database (Atlas or Localhost)

About

An Authentication API which utilizes Social Authentications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published