resurrecting this.
ok so, I actually need it to do something after a login fails. specifically triggering another service to go search for an account in another system.
ideally it would be
failed login -> trigger hook -> external system takes failed login email, looks to see if it exists in another system -> creates a new identity in kratos -> redirects to password reset page
is there any way to accomplish this?