Auth0 Home Blog Docs

Would the rule fired when login failed?

hi, newbie here, trying to figure out the sequence of events, would the rules get triggered if the login (via custom connection) failed? thanks

Hi,

If the login failed due to incorrect email/password, the rules won’t get triggered. You can read more about the rules pipeline here: https://auth0.com/docs/rules

If you would like to test out exactly when the rules get triggered, you can enable the Real-time Webtask logs(https://auth0.com/docs/extensions/realtime-webtask-logs) and then put a console.log() in your Rule. When the Rule is run, this console.log() will appear in the Real-time Webstask logs.

Yep as Matt said. Basically rules are only triggered upon successful login.