{"action":"created","issue":{"url":"https://api.github.com/repos/zotonic/zotonic/issues/982","labels_url":"https://api.github.com/repos/zotonic/zotonic/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/zotonic/zotonic/issues/982/comments","events_url":"https://api.github.com/repos/zotonic/zotonic/issues/982/events","html_url":"https://github.com/zotonic/zotonic/pull/982","id":93616869,"number":982,"title":"Make post-logon actions dynamic","user":{"login":"ddeboer","id":89267,"avatar_url":"https://avatars.githubusercontent.com/u/89267?v=3","gravatar_id":"","url":"https://api.github.com/users/ddeboer","html_url":"https://github.com/ddeboer","followers_url":"https://api.github.com/users/ddeboer/followers","following_url":"https://api.github.com/users/ddeboer/following{/other_user}","gists_url":"https://api.github.com/users/ddeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/ddeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddeboer/subscriptions","organizations_url":"https://api.github.com/users/ddeboer/orgs","repos_url":"https://api.github.com/users/ddeboer/repos","events_url":"https://api.github.com/users/ddeboer/events{/privacy}","received_events_url":"https://api.github.com/users/ddeboer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zotonic/zotonic/labels/enhancement","name":"enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/zotonic/zotonic/milestones/12","html_url":"https://github.com/zotonic/zotonic/milestones/Release%200.13.1","labels_url":"https://api.github.com/repos/zotonic/zotonic/milestones/12/labels","id":1197102,"number":12,"title":"Release 0.13.1","description":"Unscheduled maintenance release for 0.13.0","creator":{"login":"mworrell","id":38268,"avatar_url":"https://avatars.githubusercontent.com/u/38268?v=3","gravatar_id":"","url":"https://api.github.com/users/mworrell","html_url":"https://github.com/mworrell","followers_url":"https://api.github.com/users/mworrell/followers","following_url":"https://api.github.com/users/mworrell/following{/other_user}","gists_url":"https://api.github.com/users/mworrell/gists{/gist_id}","starred_url":"https://api.github.com/users/mworrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mworrell/subscriptions","organizations_url":"https://api.github.com/users/mworrell/orgs","repos_url":"https://api.github.com/users/mworrell/repos","events_url":"https://api.github.com/users/mworrell/events{/privacy}","received_events_url":"https://api.github.com/users/mworrell/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-07-07T16:29:15Z","updated_at":"2015-07-08T07:57:40Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-07T20:07:59Z","updated_at":"2015-07-08T08:04:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zotonic/zotonic/pulls/982","html_url":"https://github.com/zotonic/zotonic/pull/982","diff_url":"https://github.com/zotonic/zotonic/pull/982.diff","patch_url":"https://github.com/zotonic/zotonic/pull/982.patch"},"body":"Currently, the redirect after logon is hard-coded. This commit:\r\n* adds a logon_actions notification for the post-logon actions\r\n* defaults to redirect (the current behaviour) for BC"},"comment":{"url":"https://api.github.com/repos/zotonic/zotonic/issues/comments/119484646","html_url":"https://github.com/zotonic/zotonic/pull/982#issuecomment-119484646","issue_url":"https://api.github.com/repos/zotonic/zotonic/issues/982","id":119484646,"user":{"login":"mworrell","id":38268,"avatar_url":"https://avatars.githubusercontent.com/u/38268?v=3","gravatar_id":"","url":"https://api.github.com/users/mworrell","html_url":"https://github.com/mworrell","followers_url":"https://api.github.com/users/mworrell/followers","following_url":"https://api.github.com/users/mworrell/following{/other_user}","gists_url":"https://api.github.com/users/mworrell/gists{/gist_id}","starred_url":"https://api.github.com/users/mworrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mworrell/subscriptions","organizations_url":"https://api.github.com/users/mworrell/orgs","repos_url":"https://api.github.com/users/mworrell/repos","events_url":"https://api.github.com/users/mworrell/events{/privacy}","received_events_url":"https://api.github.com/users/mworrell/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T08:04:36Z","updated_at":"2015-07-08T08:04:36Z","body":"Hi David, did you check this?  \r\nI assume you use this as a post action from a custom logon template/dialog.\r\nDid the actions run correctly?\r\n \r\nI am wondering because of the change of session/page processes during the authentication of a new user. Though thinking of it, the logon form uses a HTTP POST for the postback to allow setting http-only cookies, so the actions in the Context result of this logon action will be transported back on the return trip, together with the new cookies."}}