Skip to content

hagar-rachman-sage/node-express-oauth

 
 

Repository files navigation

Implementing OAuth with NodeJs

A project to learn how to implement a custom OAuth2.0 solution using NodeJs.

How to run solution

  1. Go to the solution branch
  2. Install dependencies: npm install
  3. Run the client server: node client.js
  4. Run the authorization server: node authorization-server.js
  5. Run the protected resource server: node protected-resource.js
  6. To begin go to http://localhost:9000/authorize. This will take you to the authorization page. The sample user data can be found here. For example, user1 and password1 are one username-password pair.
  7. If all goes well, you should be taken to a welcome page showing the users information.

About

oauth node.js course

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 96.5%
  • EJS 2.6%
  • Other 0.9%