Hi there,
I have some questions about Auth0 rules:
-
Can I savely use “Promise” or is this not officially supported? It is available (verified by “console.log”), but your web editor highlights it as “undefined”, which doesn’t seem to be true.
-
It is possible to
require('bluebird')
in a rule, but it isn’t listed here: https://auth0.com/docs/appliance/modules Is this officially supported? -
Do you consider switching rules to ES Modules? Currently a rule as documented in the docs isn’t valid JavaScript at all (no function name). You probably use it with some wrapper/templated function, but this makes tooling around rules harder.