You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently auth0 rules have an associated order (example). The rules are processed in order and this order affects the outcome for the user attempting to authenticate.
Some of these rules are in a specific position in the order because they depend on other rules running before they do. Other rules are in their position in the order for no reason.
Let's establish a standard way to annotate rules, indicating what other rules they dependend on and which must run before them.
This will allow us to establish continuous integration testing with each PR to ensure that a change doesn't break one of these dependencies.
One way we could approach this would be to
establish a variable name in which we record the unique name of the rule. It could be the name of the file in this repo. For example we could add a line to SAML-AWS-consolidatedbilling-readonly.js like this
var ruleName = 'SAML-AWS-consolidatedbilling-readonly';
establish a second variable name which would contain an array of dependent rule names. For example
var dependencies = ['SAML-thinksmart', 'duosecurity'];
The text was updated successfully, but these errors were encountered:
Currently auth0 rules have an associated order (example). The rules are processed in order and this order affects the outcome for the user attempting to authenticate.
Some of these rules are in a specific position in the order because they depend on other rules running before they do. Other rules are in their position in the order for no reason.
Let's establish a standard way to annotate rules, indicating what other rules they dependend on and which must run before them.
This will allow us to establish continuous integration testing with each PR to ensure that a change doesn't break one of these dependencies.
One way we could approach this would be to
establish a variable name in which we record the unique name of the rule. It could be the name of the file in this repo. For example we could add a line to
SAML-AWS-consolidatedbilling-readonly.js
like thisestablish a second variable name which would contain an array of dependent rule names. For example
The text was updated successfully, but these errors were encountered: