PUT /api/webtask/TENANT_NAME/HOOK_NAME HTTP/1.1
Host: sandbox.it.auth0.com
Authorization: Bearer YOUR_WEBTASK_TOKEN
Content-Type: application/json
{
"code": "module.exports = function (user, context, cb) { /* YOUR CODE HERE */ }",
"meta": {
"wt-compiler": "auth0-ext-compilers/pre-user-registration",
"auth0-extension": "runtime",
"auth0-extension-name": "pre-user-registration"
}
}
Last active
February 5, 2018 17:08
-
-
Save thameera/02e35392e07e5e65d1415c3dc9faa09c to your computer and use it in GitHub Desktop.
Create/update Auth0 pre-registration hook
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment