OpenSOC / opensoc-ui

User interface for OpenSOC
Apache License 2.0
100 stars 55 forks source link

Users / Auth #4

Closed jamilbk closed 9 years ago

jamilbk commented 10 years ago

We need the central role of a user in the portal. Right now, portal access is anonymous and available to anyone. Need to add an auth page and simple login / logout behavior. Auth keys should be standard email / password combo and Cookie-based sessions persisted in Redis (see connect redis-store).

jamilbk commented 10 years ago

There are probably good libraries we could leverage for this (e.g. http://passportjs.org) but if not see https://github.com/elbii/refuge for an example of auth from scratch in Node.

rammie commented 9 years ago

Done.