What options are there available for managing custom javascript code for re-use in Auth0 rules, hooks or actions?
At present, our solution runs custom rules at the start of the authentication pipeline that define custom javascript objects/functions/properties on the global object. These custom functions on the global object are then referenced in rules that run later in the authentication pipeline.
Is there a better way to manage custom code? For example, is it possible to write all of our custom code in a node module and reference that custom node module in our rules? Or is it possible to use a custom extension etc?
Thanks.