We want to add onBeforeLogin and onAfterLogin hooks analogously to our signup hooks.
We would be able to reject logins based on some criteria in the onBeforeLogin hook.
Also, we would be able to get the access token for OAuth logins in the onAfterLogin hook. Also, we would get the uniqueRequestId in the onAfterLogin (same as we had for onAfterSignup).
We want to add
onBeforeLogin
andonAfterLogin
hooks analogously to our signup hooks.We would be able to reject logins based on some criteria in the
onBeforeLogin
hook.Also, we would be able to get the access token for OAuth logins in the
onAfterLogin
hook. Also, we would get theuniqueRequestId
in theonAfterLogin
(same as we had foronAfterSignup
).