Skip to content

snychka/node-express-oauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b2e2555 · May 25, 2020

History

51 Commits
May 9, 2020
May 20, 2020
Apr 15, 2020
Apr 15, 2020
Apr 15, 2020
May 7, 2020
Apr 24, 2020
May 18, 2020
May 25, 2020
May 20, 2020
May 20, 2020
May 21, 2020
May 19, 2020
Apr 19, 2020
May 20, 2020

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published