{"action":"created","issue":{"url":"https://api.github.com/repos/cannod/moodle-drupalservices/issues/27","labels_url":"https://api.github.com/repos/cannod/moodle-drupalservices/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/cannod/moodle-drupalservices/issues/27/comments","events_url":"https://api.github.com/repos/cannod/moodle-drupalservices/issues/27/events","html_url":"https://github.com/cannod/moodle-drupalservices/issues/27","id":34873218,"number":27,"title":"Drupal logout doesn't logout Moodle","user":{"login":"pizzabrarian","id":7782398,"avatar_url":"https://avatars.githubusercontent.com/u/7782398?v=3","gravatar_id":"","url":"https://api.github.com/users/pizzabrarian","html_url":"https://github.com/pizzabrarian","followers_url":"https://api.github.com/users/pizzabrarian/followers","following_url":"https://api.github.com/users/pizzabrarian/following{/other_user}","gists_url":"https://api.github.com/users/pizzabrarian/gists{/gist_id}","starred_url":"https://api.github.com/users/pizzabrarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pizzabrarian/subscriptions","organizations_url":"https://api.github.com/users/pizzabrarian/orgs","repos_url":"https://api.github.com/users/pizzabrarian/repos","events_url":"https://api.github.com/users/pizzabrarian/events{/privacy}","received_events_url":"https://api.github.com/users/pizzabrarian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cannod/moodle-drupalservices/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"netw3rker","id":1148350,"avatar_url":"https://avatars.githubusercontent.com/u/1148350?v=3","gravatar_id":"","url":"https://api.github.com/users/netw3rker","html_url":"https://github.com/netw3rker","followers_url":"https://api.github.com/users/netw3rker/followers","following_url":"https://api.github.com/users/netw3rker/following{/other_user}","gists_url":"https://api.github.com/users/netw3rker/gists{/gist_id}","starred_url":"https://api.github.com/users/netw3rker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netw3rker/subscriptions","organizations_url":"https://api.github.com/users/netw3rker/orgs","repos_url":"https://api.github.com/users/netw3rker/repos","events_url":"https://api.github.com/users/netw3rker/events{/privacy}","received_events_url":"https://api.github.com/users/netw3rker/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cannod/moodle-drupalservices/milestones/2","html_url":"https://github.com/cannod/moodle-drupalservices/milestones/2.0%20release","labels_url":"https://api.github.com/repos/cannod/moodle-drupalservices/milestones/2/labels","id":626924,"number":2,"title":"2.0 release","description":null,"creator":{"login":"netw3rker","id":1148350,"avatar_url":"https://avatars.githubusercontent.com/u/1148350?v=3","gravatar_id":"","url":"https://api.github.com/users/netw3rker","html_url":"https://github.com/netw3rker","followers_url":"https://api.github.com/users/netw3rker/followers","following_url":"https://api.github.com/users/netw3rker/following{/other_user}","gists_url":"https://api.github.com/users/netw3rker/gists{/gist_id}","starred_url":"https://api.github.com/users/netw3rker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netw3rker/subscriptions","organizations_url":"https://api.github.com/users/netw3rker/orgs","repos_url":"https://api.github.com/users/netw3rker/repos","events_url":"https://api.github.com/users/netw3rker/events{/privacy}","received_events_url":"https://api.github.com/users/netw3rker/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":2,"state":"open","created_at":"2014-04-11T04:49:41Z","updated_at":"2015-01-20T16:33:45Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2014-06-03T15:14:59Z","updated_at":"2015-09-07T08:17:16Z","closed_at":"2014-12-02T20:18:59Z","body":"I've followed the documentation and gotten the SSO to work (which is awesome). The only trouble I'm having is that when a user logs out of Drupal, they are not logged out of Moodle (the opposite direction works though). I did a couple searches and it seems like it should work but it's not for me."},"comment":{"url":"https://api.github.com/repos/cannod/moodle-drupalservices/issues/comments/138228532","html_url":"https://github.com/cannod/moodle-drupalservices/issues/27#issuecomment-138228532","issue_url":"https://api.github.com/repos/cannod/moodle-drupalservices/issues/27","id":138228532,"user":{"login":"engr-noman","id":14122203,"avatar_url":"https://avatars.githubusercontent.com/u/14122203?v=3","gravatar_id":"","url":"https://api.github.com/users/engr-noman","html_url":"https://github.com/engr-noman","followers_url":"https://api.github.com/users/engr-noman/followers","following_url":"https://api.github.com/users/engr-noman/following{/other_user}","gists_url":"https://api.github.com/users/engr-noman/gists{/gist_id}","starred_url":"https://api.github.com/users/engr-noman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engr-noman/subscriptions","organizations_url":"https://api.github.com/users/engr-noman/orgs","repos_url":"https://api.github.com/users/engr-noman/repos","events_url":"https://api.github.com/users/engr-noman/events{/privacy}","received_events_url":"https://api.github.com/users/engr-noman/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T08:17:16Z","updated_at":"2015-09-07T08:17:16Z","body":"hi i have configured moodle_sso module in appropriate way,login working fine but logout were not working i have added a redirect in moodle login.php which logout drupal,but now what should i do in drupal when you click on drupal site logout it also logout from moodle please help."}}