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.
If it is not in the loginUser method, where can I intercept when a successful login takes place?
I know I could do it overriding the authenticate method. But I would not like to use that option...
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 methodloginUser
does not provide a Context so I can't fetch any request parameters at that point.If it is not in the
loginUser
method, where can I intercept when a successful login takes place? I know I could do it overriding theauthenticate
method. But I would not like to use that option...