The rules are run as part of the server-side pipeline provided by the Auth0 service so it’s unlikely that the issue is related to any client-side SDK or even to anything related to the client application. In addition, the rules that you configure through the Dashboard will run as part of the authentication transaction after the end-user provides an initial set of valid credentials so if you’re performing a login/authentication transaction it’s likely that rules are being run.
However, depending on your rule logic they may not be having the desired effect and end-up giving the illusion of not running.
The easiest approach to troubleshoot your rules as part of a real authentication transaction is to perform the following steps:
- Install the Real-time Webtask Logs extension.
console.logstatements in every logical branch of your rule code.
- Open the extension.
- Perform a user authentication through your client application.
- Analyze the output of the
console.log statements to review the execution flow of the rule.