{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/426","labels_url":"https://api.github.com/repos/meteor/meteor/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/426/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/426/events","html_url":"https://github.com/meteor/meteor/issues/426","id":7913100,"number":426,"title":"Need onLogin onLogout onUserLoaded hooks/callbacks","user":{"login":"drorm","id":517479,"avatar_url":"https://avatars.githubusercontent.com/u/517479?v=3","gravatar_id":"","url":"https://api.github.com/users/drorm","html_url":"https://github.com/drorm","followers_url":"https://api.github.com/users/drorm/followers","following_url":"https://api.github.com/users/drorm/following{/other_user}","gists_url":"https://api.github.com/users/drorm/gists{/gist_id}","starred_url":"https://api.github.com/users/drorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drorm/subscriptions","organizations_url":"https://api.github.com/users/drorm/orgs","repos_url":"https://api.github.com/users/drorm/repos","events_url":"https://api.github.com/users/drorm/events{/privacy}","received_events_url":"https://api.github.com/users/drorm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/feature","name":"feature","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2012-10-27T18:34:28Z","updated_at":"2015-11-17T16:03:10Z","closed_at":"2012-11-16T02:07:37Z","body":"Just as we have an onCreateUser callback, we need callbacks for login, logout, userLoaded and probably other account related actions."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/157414208","html_url":"https://github.com/meteor/meteor/issues/426#issuecomment-157414208","issue_url":"https://api.github.com/repos/meteor/meteor/issues/426","id":157414208,"user":{"login":"ericmcgregor","id":815932,"avatar_url":"https://avatars.githubusercontent.com/u/815932?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmcgregor","html_url":"https://github.com/ericmcgregor","followers_url":"https://api.github.com/users/ericmcgregor/followers","following_url":"https://api.github.com/users/ericmcgregor/following{/other_user}","gists_url":"https://api.github.com/users/ericmcgregor/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmcgregor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmcgregor/subscriptions","organizations_url":"https://api.github.com/users/ericmcgregor/orgs","repos_url":"https://api.github.com/users/ericmcgregor/repos","events_url":"https://api.github.com/users/ericmcgregor/events{/privacy}","received_events_url":"https://api.github.com/users/ericmcgregor/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T16:03:10Z","updated_at":"2015-11-17T16:03:10Z","body":"Yea, this seems like kind of an oversight.  for example, how is someone supposed to handle a re-direct after logout on the client side?  if i'm using accounts-ui and flowrouter, there isn't a hook to detect this is there?  it seems like Accounts.onLogout would be a standard hook."}}