{"action":"closed","issue":{"url":"https://api.github.com/repos/cwrc/CWRC-Writer/issues/242","repository_url":"https://api.github.com/repos/cwrc/CWRC-Writer","labels_url":"https://api.github.com/repos/cwrc/CWRC-Writer/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/cwrc/CWRC-Writer/issues/242/comments","events_url":"https://api.github.com/repos/cwrc/CWRC-Writer/issues/242/events","html_url":"https://github.com/cwrc/CWRC-Writer/issues/242","id":45006124,"number":242,"title":"CWRC Writer - Islandora authentification issue","user":{"login":"ilovan","id":6600070,"avatar_url":"https://avatars.githubusercontent.com/u/6600070?v=3","gravatar_id":"","url":"https://api.github.com/users/ilovan","html_url":"https://github.com/ilovan","followers_url":"https://api.github.com/users/ilovan/followers","following_url":"https://api.github.com/users/ilovan/following{/other_user}","gists_url":"https://api.github.com/users/ilovan/gists{/gist_id}","starred_url":"https://api.github.com/users/ilovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilovan/subscriptions","organizations_url":"https://api.github.com/users/ilovan/orgs","repos_url":"https://api.github.com/users/ilovan/repos","events_url":"https://api.github.com/users/ilovan/events{/privacy}","received_events_url":"https://api.github.com/users/ilovan/received_events","type":"User","site_admin":false},"labels":[{"id":31943719,"url":"https://api.github.com/repos/cwrc/CWRC-Writer/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"ajmacdonald","id":882444,"avatar_url":"https://avatars.githubusercontent.com/u/882444?v=3","gravatar_id":"","url":"https://api.github.com/users/ajmacdonald","html_url":"https://github.com/ajmacdonald","followers_url":"https://api.github.com/users/ajmacdonald/followers","following_url":"https://api.github.com/users/ajmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/ajmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/ajmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajmacdonald/subscriptions","organizations_url":"https://api.github.com/users/ajmacdonald/orgs","repos_url":"https://api.github.com/users/ajmacdonald/repos","events_url":"https://api.github.com/users/ajmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/ajmacdonald/received_events","type":"User","site_admin":false},"assignees":[{"login":"ajmacdonald","id":882444,"avatar_url":"https://avatars.githubusercontent.com/u/882444?v=3","gravatar_id":"","url":"https://api.github.com/users/ajmacdonald","html_url":"https://github.com/ajmacdonald","followers_url":"https://api.github.com/users/ajmacdonald/followers","following_url":"https://api.github.com/users/ajmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/ajmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/ajmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajmacdonald/subscriptions","organizations_url":"https://api.github.com/users/ajmacdonald/orgs","repos_url":"https://api.github.com/users/ajmacdonald/repos","events_url":"https://api.github.com/users/ajmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/ajmacdonald/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2014-10-06T16:47:43Z","updated_at":"2016-11-26T04:45:12Z","closed_at":"2016-11-26T04:45:12Z","body":"From @mpm1 's email:\n\n\"By the looks of this, I think this may caused by miscommunication of where the user provides their login credentials.\n\nUsing the function cD.initializeWithCookieData(null) assumes that some other service has authenticated the user and created the required cookies. This would be the case if the writer is embedded into islandora and can only use the write after they have logged in.\n\nThe function cD.initializeWithLogin(username, password) allows you to pass in the username and password. This would allow the system to initialize based on some sort of example user account or pass in information provided somewhere else on the page.\n\nI recommended to Andrew to use the cD.initializeWithCookieData(null) function because at the time I assumed that the user would have already logged in through Islandora. I think in the case of the demo pages it may be best to create some sort of demo user and call the function cD.initializeWithLogin using that users login information or have some sort of login page.\"\n\nThis is a high priority bug to be fixed, if possible, before the Hamilton College demo on Friday.\n"}}
{"actor":{"display_login":"SusanBrown"}}