Hi everyone,
We are attempting to make use of JQuery to send posts and gets from the post registration hook.
Is this possible? Can we pull in libraries from external sources if we host them ourselves? Additionally, would be interested in using the ManagementClient from the hooks if possible:
https://auth0.github.io/node-auth0/module-management.ManagementClient.html.
In general what would be the best way of making use of the Management API methods in the hooks? We need to update the app_metadata of a user after user creation.
Tried the code below, but it did not seem to work:
var jqueryHook = “https://code.jquery.com/jquery-3.4.1.min.js”;
var jquery = require(“$”)(jqueryHook);
Thanks in advance.