Add sessions and login with slack.
Review Request #7237 — Created April 22, 2015 and submitted
This change adds access control to sonar, using Slack OAuth as a login
provider. This uses the 'passport' framework to handle the guts, and the
passport-slack provider to talk to Slack itself. Sessions are stored in
mongodb.
Logged in and out a whole bunch.
Description | From | Last Updated |
---|---|---|
It seems to me that the session secret should be read in with the rest of the config. |
brennie |
Change Summary:
Move session secret into config.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+147 -3) |
-
Tool: PEP8 Style Checker Ignored Files: lib/config.js package.json server.js views/student-list.handlebars views/login.handlebars lib/schema.js images/slack-logo.png style.css lib/routes.js views/layouts/main.handlebars Tool: Pyflakes Ignored Files: lib/config.js package.json server.js views/student-list.handlebars views/login.handlebars lib/schema.js images/slack-logo.png style.css lib/routes.js views/layouts/main.handlebars