Skip to content

Example of authentication in Express.js using Passport.js through EasyAuth

License

Notifications You must be signed in to change notification settings

easyauth-io/easyauth-passport-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express authentication using EasyAuth Passport

  1. Sign in to easyauth.io and create a new 'Registered Client' with redirect URI set to http://127.0.0.1:3000/auth/easyauth/callback

  2. Clone the example app from https://github.com/easyauth-io/easyauth-passport-example

    git clone https://github.com/easyauth-io/easyauth-passport-example

  3. Edit .env and set the parameters from your 'Registered Client' that you created in Step 1

  4. Run npm install followed by npm run start

  5. Visit http://127.0.0.1:3000/auth/easyauth/login

About

Example of authentication in Express.js using Passport.js through EasyAuth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published