PoC of school digital workspace without a CAS, using Macaroons
Brendan Abolivier 6872892cca
Moved identification to full name
8 gadus atpakaļ
..
.gitignore Dependencies 8 gadus atpakaļ
.server.js.swp Moved identification to full name 8 gadus atpakaļ
README.md Typo 8 gadus atpakaļ
form.html Moved identification to full name 8 gadus atpakaļ
package.json Dependencies 8 gadus atpakaļ
server.js Moved identification to full name 8 gadus atpakaļ

README.md

Authentication server

This server handles user authentication. In our very simple case, it will only ask for an username, but we can think of improving it to interact with a LDAP server. Once the user authenticated itself, it server will place a Macaroon in the user's browser, with a status caveat, depending on the route used:

  • If the user authed on /, they will have the "student" status.
  • If the user authed on /teacher, they will have the "teacher" status.

Install & run

Just run npm install in this directory to install the dependencies, then run either npm start or node server.js to start the server.