dandanXO / autho2.0-example

OAuth 2.0 example built with nodejs and vuejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is OAuth example

Blog:

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

OAuth 2.0 example built with nodejs and vuejs


Languages

Language:JavaScript 76.7%Language:Vue 21.4%Language:HTML 1.8%