{"action":"closed","issue":{"url":"https://api.github.com/repos/coderly/ember-gdrive/issues/54","labels_url":"https://api.github.com/repos/coderly/ember-gdrive/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/coderly/ember-gdrive/issues/54/comments","events_url":"https://api.github.com/repos/coderly/ember-gdrive/issues/54/events","html_url":"https://github.com/coderly/ember-gdrive/issues/54","id":53732085,"number":54,"title":"Document creation is broken","user":{"login":"begedin","id":1925540,"avatar_url":"https://avatars.githubusercontent.com/u/1925540?v=3","gravatar_id":"","url":"https://api.github.com/users/begedin","html_url":"https://github.com/begedin","followers_url":"https://api.github.com/users/begedin/followers","following_url":"https://api.github.com/users/begedin/following{/other_user}","gists_url":"https://api.github.com/users/begedin/gists{/gist_id}","starred_url":"https://api.github.com/users/begedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begedin/subscriptions","organizations_url":"https://api.github.com/users/begedin/orgs","repos_url":"https://api.github.com/users/begedin/repos","events_url":"https://api.github.com/users/begedin/events{/privacy}","received_events_url":"https://api.github.com/users/begedin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coderly/ember-gdrive/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"begedin","id":1925540,"avatar_url":"https://avatars.githubusercontent.com/u/1925540?v=3","gravatar_id":"","url":"https://api.github.com/users/begedin","html_url":"https://github.com/begedin","followers_url":"https://api.github.com/users/begedin/followers","following_url":"https://api.github.com/users/begedin/following{/other_user}","gists_url":"https://api.github.com/users/begedin/gists{/gist_id}","starred_url":"https://api.github.com/users/begedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begedin/subscriptions","organizations_url":"https://api.github.com/users/begedin/orgs","repos_url":"https://api.github.com/users/begedin/repos","events_url":"https://api.github.com/users/begedin/events{/privacy}","received_events_url":"https://api.github.com/users/begedin/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-08T09:49:53Z","updated_at":"2015-01-08T19:32:44Z","closed_at":"2015-01-08T19:32:44Z","body":"NOTE: This issue as well as venkatd/storypad#305 are related.\r\n\r\nIt looks like document creation broke at some point, probably way back during the switch to `ember-simple-auth`.\r\n\r\n* Attempting to create a document (via query string parameters) eventually throws a gapi error - 'login required'. There may be an issue with our mixins. I believe we may need an extra `AuthenticatedRouteMixin` for a \"documentless\" route, since the current mixin auto-loads the document after login. We might need to rename the current mixin to something more appropriate and create a new `AuthenticatedRouteMixin` which simply exports the `ember-simple-auth` original.\r\n\r\nHowever, even after doing that as a test in begedin/ember-gdriveTodoMVC, I still get an unauthorized error upon document creation, so there may be a function that isn't being called or a property that isn't being set during authentication. I should go back to the old code and see what's different after the `ember-simple-auth` switch."}}