A project to learn how to implement a custom OAuth2.0 solution using NodeJs.
- Go to the
solution
branch - Install dependencies:
npm install
- Run the client server:
node client.js
- Run the authorization server:
node authorization-server.js
- Run the protected resource server:
node protected-resource.js
- 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
andpassword1
are one username-password pair. - If all goes well, you should be taken to a welcome page showing the users information.