{"action":"created","issue":{"url":"https://api.github.com/repos/joscha/play-authenticate/issues/297","repository_url":"https://api.github.com/repos/joscha/play-authenticate","labels_url":"https://api.github.com/repos/joscha/play-authenticate/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/joscha/play-authenticate/issues/297/comments","events_url":"https://api.github.com/repos/joscha/play-authenticate/issues/297/events","html_url":"https://github.com/joscha/play-authenticate/issues/297","id":141537183,"number":297,"title":"loginUser method has no context","user":{"login":"umbreak","id":1430863,"avatar_url":"https://avatars.githubusercontent.com/u/1430863?v=3","gravatar_id":"","url":"https://api.github.com/users/umbreak","html_url":"https://github.com/umbreak","followers_url":"https://api.github.com/users/umbreak/followers","following_url":"https://api.github.com/users/umbreak/following{/other_user}","gists_url":"https://api.github.com/users/umbreak/gists{/gist_id}","starred_url":"https://api.github.com/users/umbreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbreak/subscriptions","organizations_url":"https://api.github.com/users/umbreak/orgs","repos_url":"https://api.github.com/users/umbreak/repos","events_url":"https://api.github.com/users/umbreak/events{/privacy}","received_events_url":"https://api.github.com/users/umbreak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-17T10:13:25Z","updated_at":"2016-03-17T10:42:13Z","closed_at":"2016-03-17T10:42:13Z","body":"I need to save some stuff in my databse whenever a login has been successfully. This \"stuff\" which needs to be safe should contain some request parameters (accessible though `context.request()`. However, the method `loginUser` does not provide a Context so I can't fetch any request parameters at that point.\r\n\r\nIf it is not in the `loginUser` method, where can I intercept when a successful login takes place?\r\nI know I could do it overriding the `authenticate` method. But I would not like to use that option..."},"comment":{"url":"https://api.github.com/repos/joscha/play-authenticate/issues/comments/197814082","html_url":"https://github.com/joscha/play-authenticate/issues/297#issuecomment-197814082","issue_url":"https://api.github.com/repos/joscha/play-authenticate/issues/297","id":197814082,"user":{"login":"umbreak","id":1430863,"avatar_url":"https://avatars.githubusercontent.com/u/1430863?v=3","gravatar_id":"","url":"https://api.github.com/users/umbreak","html_url":"https://github.com/umbreak","followers_url":"https://api.github.com/users/umbreak/followers","following_url":"https://api.github.com/users/umbreak/following{/other_user}","gists_url":"https://api.github.com/users/umbreak/gists{/gist_id}","starred_url":"https://api.github.com/users/umbreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbreak/subscriptions","organizations_url":"https://api.github.com/users/umbreak/orgs","repos_url":"https://api.github.com/users/umbreak/repos","events_url":"https://api.github.com/users/umbreak/events{/privacy}","received_events_url":"https://api.github.com/users/umbreak/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T10:42:13Z","updated_at":"2016-03-17T10:42:13Z","body":"Ok, I did it adding the context to my extended `authUser` in the method `buildLoginAuthUser`"}}