{"action":"created","issue":{"url":"https://api.github.com/repos/stormpath/express-stormpath/issues/538","repository_url":"https://api.github.com/repos/stormpath/express-stormpath","labels_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/538/comments","events_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/538/events","html_url":"https://github.com/stormpath/express-stormpath/pull/538","id":185810633,"number":538,"title":"Add multi-tenancy support","user":{"login":"typerandom","id":1331778,"avatar_url":"https://avatars.githubusercontent.com/u/1331778?v=3","gravatar_id":"","url":"https://api.github.com/users/typerandom","html_url":"https://github.com/typerandom","followers_url":"https://api.github.com/users/typerandom/followers","following_url":"https://api.github.com/users/typerandom/following{/other_user}","gists_url":"https://api.github.com/users/typerandom/gists{/gist_id}","starred_url":"https://api.github.com/users/typerandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typerandom/subscriptions","organizations_url":"https://api.github.com/users/typerandom/orgs","repos_url":"https://api.github.com/users/typerandom/repos","events_url":"https://api.github.com/users/typerandom/events{/privacy}","received_events_url":"https://api.github.com/users/typerandom/received_events","type":"User","site_admin":false},"labels":[{"id":310484340,"url":"https://api.github.com/repos/stormpath/express-stormpath/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-28T00:10:56Z","updated_at":"2016-11-23T11:33:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stormpath/express-stormpath/pulls/538","html_url":"https://github.com/stormpath/express-stormpath/pull/538","diff_url":"https://github.com/stormpath/express-stormpath/pull/538.diff","patch_url":"https://github.com/stormpath/express-stormpath/pull/538.patch"},"body":"Adds support for multi-tenancy.\r\n\r\n#### How to verify\r\n\r\nUse the example application below:\r\n\r\n```javascript\r\nvar express = require('express');\r\nvar stormpath = require('express-stormpath');\r\n\r\nvar app = express();\r\n\r\napp.use(stormpath.init(app, {\r\n  debug: 'info',\r\n  web: {\r\n    me: {\r\n      enabled: true\r\n    },\r\n    multiTenancy: {\r\n      enabled: true\r\n    }\r\n  }\r\n}));\r\n\r\napp.on('error', function (err) {\r\n  console.error(err);\r\n});\r\n\r\napp.listen(3000, function () {\r\n  console.log('Listening on http://localhost:3000/!');\r\n});\r\n```\r\n\r\nAfter starting the application, navigate to `/register` and create a new account for an existing organization. Once the account has been created, navigate to `/login` and login with your new account in the same organization. Once logged in, navigate to `/me` and verify that the organization that you specified is present in the JSON result.\r\n\r\nFixes #292 \r\n"},"comment":{"url":"https://api.github.com/repos/stormpath/express-stormpath/issues/comments/262490848","html_url":"https://github.com/stormpath/express-stormpath/pull/538#issuecomment-262490848","issue_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/538","id":262490848,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T11:33:17Z","updated_at":"2016-11-23T11:33:17Z","body":"\n[![Coverage Status](https://coveralls.io/builds/8963544/badge)](https://coveralls.io/builds/8963544)\n\nCoverage increased (+1.8%) to 70.362% when pulling **7e9c0f72aa81ea5408feb3ec9505fbc226cead71 on support-multi-tenancy** into **c64c58598697ec2acf155105bf4a207a78bcae42 on master**.\n"}}
{"actor":{"display_login":"coveralls"}}