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:
-
9c063deea2dc71000e0e335bc758d977fd4672717d5b853a461fad5c47b1d64796238e7fd35652fc
-
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