Skip to content

This is OAuth 2.0 example built with nodejs and vuejs

Notifications You must be signed in to change notification settings

kappa821/oauth-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is OAuth example

Blog: https://yu-jack.github.io/2020/04/27/oauth-implement/

OAuth Example Node.js Version

Node Version: 10+

Bootstrap

  1. modiyfy /etc/hosts with following setting, and run npm install
    127.0.0.1 printer.example.com
    127.0.0.1 photo.example.net
  2. node client/server.js
  3. node resource_server/server.js
  4. go to http://printer.example.com:4000/ to use OAuth login, username: 123, password: 123.
  5. go to http://photo.example.net:3000/ and upload photo
  6. go back to http://printer.example.com:4000/, you'll see the pohotos.

About

This is OAuth 2.0 example built with nodejs and vuejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 76.8%
  • Vue 21.4%
  • HTML 1.8%