{"action":"created","issue":{"url":"https://api.github.com/repos/Faithlife/sdc-portal/issues/4","labels_url":"https://api.github.com/repos/Faithlife/sdc-portal/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Faithlife/sdc-portal/issues/4/comments","events_url":"https://api.github.com/repos/Faithlife/sdc-portal/issues/4/events","html_url":"https://github.com/Faithlife/sdc-portal/issues/4","id":70530211,"number":4,"title":"Documentation on config file needed","user":{"login":"zllovesuki","id":298453,"avatar_url":"https://avatars.githubusercontent.com/u/298453?v=3","gravatar_id":"","url":"https://api.github.com/users/zllovesuki","html_url":"https://github.com/zllovesuki","followers_url":"https://api.github.com/users/zllovesuki/followers","following_url":"https://api.github.com/users/zllovesuki/following{/other_user}","gists_url":"https://api.github.com/users/zllovesuki/gists{/gist_id}","starred_url":"https://api.github.com/users/zllovesuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zllovesuki/subscriptions","organizations_url":"https://api.github.com/users/zllovesuki/orgs","repos_url":"https://api.github.com/users/zllovesuki/repos","events_url":"https://api.github.com/users/zllovesuki/events{/privacy}","received_events_url":"https://api.github.com/users/zllovesuki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-23T22:36:09Z","updated_at":"2015-04-24T18:28:31Z","closed_at":null,"body":"I think right now we are scratching heads and trying to figure out the config file:\r\n\r\n    \"client\" : {\r\n        \"auth\": {\r\n            \"requestTokenUrl\": \"https://<your-endpoint-here>/initiate\",\r\n            \"accessTokenUrl\": \"https://<your-endpoint-here>/token\",\r\n            \"authorizeUrl\": \"https://<your-endpoint-here>/authorize\",\r\n            \"consumerKey\": \"<your-consumer-key-here>\",\r\n            \"consumerSecret\": \"<your-consumer-secret-here>\",\r\n            \"callbackUrl\": \"http://localhost:8080/api/authorize\",\r\n            \"getUserInfoUrl\": \"https://<your-endpoint-here>/\"\r\n        }\r\n    }\r\n\r\nI was under the impression that <your-endpoint-here> should be cloudapi URL?\r\n\r\nSome more logs:\r\n\r\n> sdc-portal 10:25:38 PM| info: D dataCenter:dataCenters:get:pending undefined\r\nsdc-portal 10:25:38 PM| info: D user:users:pending undefined\r\nsdc-portal 10:25:38 PM| info: < GET http://0.0.0.0:8080/api/datacenters\r\nsdc-portal 10:25:38 PM| info: < GET http://0.0.0.0:8080/api/datacenters/test/users\r\nsdc-portal 10:25:38 PM| info: GET /dependencies.bundle.js 500 15.646 ms - 1170\r\nTypeError: Cannot read property 'params' of undefined\r\n    at React.createClass.render (/root/sdc-portal/lib/components/app.jsx:57:147)\r\n    at null.<anonymous> (/root/sdc-portal/node_modules/react/lib/ReactCompositeComponent.js:1260:34)\r\n    at wrapper [as _renderValidatedComponent] (/root/sdc-portal/node_modules/react/lib/ReactPerf.js:50:21)\r\n    at null.<anonymous> (/root/sdc-portal/node_modules/react/lib/ReactCompositeComponent.js:802:14)\r\n    at wrapper [as mountComponent] (/root/sdc-portal/node_modules/react/lib/ReactPerf.js:50:21)\r\n    at null.<anonymous> (/root/sdc-portal/node_modules/react/lib/ReactCompositeComponent.js:808:44)\r\n    at wrapper [as mountComponent] (/root/sdc-portal/node_modules/react/lib/ReactPerf.js:50:21)\r\n    at null.<anonymous> (/root/sdc-portal/node_modules/react/lib/ReactCompositeComponent.js:808:44)\r\n    at wrapper [as mountComponent] (/root/sdc-portal/node_modules/react/lib/ReactPerf.js:50:21)\r\n    at /root/sdc-portal/node_modules/react/lib/ReactServerRendering.js:40:38\r\nTypeError: Cannot read property 'params' of undefined\r\n    at React.createClass.render (/root/sdc-portal/lib/components/app.jsx:57:147)\r\n    at null.<anonymous> (/root/sdc-portal/node_modules/react/lib/ReactCompositeComponent.js:1260:34)\r\n    at wrapper [as _renderValidatedComponent] (/root/sdc-portal/node_modules/react/lib/ReactPerf.js:50:21)\r\n    at null.<anonymous> (/root/sdc-portal/node_modules/react/lib/ReactCompositeComponent.js:802:14)\r\n    at wrapper [as mountComponent] (/root/sdc-portal/node_modules/react/lib/ReactPerf.js:50:21)\r\n    at null.<anonymous> (/root/sdc-portal/node_modules/react/lib/ReactCompositeComponent.js:808:44)\r\n    at wrapper [as mountComponent] (/root/sdc-portal/node_modules/react/lib/ReactPerf.js:50:21)\r\n    at null.<anonymous> (/root/sdc-portal/node_modules/react/lib/ReactCompositeComponent.js:808:44)\r\n    at wrapper [as mountComponent] (/root/sdc-portal/node_modules/react/lib/ReactPerf.js:50:21)\r\n    at /root/sdc-portal/node_modules/react/lib/ReactServerRendering.js:40:38"},"comment":{"url":"https://api.github.com/repos/Faithlife/sdc-portal/issues/comments/96026010","html_url":"https://github.com/Faithlife/sdc-portal/issues/4#issuecomment-96026010","issue_url":"https://api.github.com/repos/Faithlife/sdc-portal/issues/4","id":96026010,"user":{"login":"richardkiene","id":656216,"avatar_url":"https://avatars.githubusercontent.com/u/656216?v=3","gravatar_id":"","url":"https://api.github.com/users/richardkiene","html_url":"https://github.com/richardkiene","followers_url":"https://api.github.com/users/richardkiene/followers","following_url":"https://api.github.com/users/richardkiene/following{/other_user}","gists_url":"https://api.github.com/users/richardkiene/gists{/gist_id}","starred_url":"https://api.github.com/users/richardkiene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardkiene/subscriptions","organizations_url":"https://api.github.com/users/richardkiene/orgs","repos_url":"https://api.github.com/users/richardkiene/repos","events_url":"https://api.github.com/users/richardkiene/events{/privacy}","received_events_url":"https://api.github.com/users/richardkiene/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T18:28:31Z","updated_at":"2015-04-24T18:28:31Z","body":"@zllovesuki In your picture you posted above, it appeared you wanted to store RSA keys in MongoDB, was I misunderstanding that? I think familiarizing yourself with the SDC APIs is a necessary step if we want to talk about making changes like plumbing Manatee access up to CloudAPI. Personally I can't imagine that Joyent would wan't that because CloudAPI is a public facing API and Manatee is core to the existence of the Admin network only APIs. Perhaps @lloydde can ring on on that."}}