I can’t deploy my custom database connection scripts from bitbucket because the get_user.js
script is not allowed, however it is editable and testable from the dashboard.
What did I miss ?
2017-04-24T09:36:37.260Z - Import User to Auth0 enabled: false. Allowed scripts:
"create",
"verify",
"login",
"change_password",
"delete"
]
2017-04-24T09:36:37.261Z - Error: The get_user script is not allowed for custom-db.
2017-04-24T09:36:37.262Z - StackTrace: ValidationError: The get_user script is not allowed for custom-db.
at /data/auth0-bitbucket-deploy-2.1.js:1:10371
at Array.forEach (native)
at i (/data/auth0-bitbucket-deploy-2.1.js:1:10327)
at o.map.concurrency (/data/auth0-bitbucket-deploy-2.1.js:1:10838)
at tryCatcher (/data/_verquire/mongoose/4.1.6/node_modules/bluebird/js/main/util.js:24:31)
at MappingPromiseArray._promiseFulfilled (/data/_verquire/mongoose/4.1.6/node_modules/bluebird/js/main/map.js:54:38)
at MappingPromiseArray.init (/data/_verquire/mongoose/4.1.6/node_modules/bluebird/js/main/promise_array.js:92:18)
at MappingPromiseArray.init (/data/_verquire/mongoose/4.1.6/node_modules/bluebird/js/main/map.js:27:23)
at bound (domain.js:287:14)
at MappingPromiseArray.runBound (domain.js:300:12)
at Async._drainQueue (/data/_verquire/mongoose/4.1.6/node_modules/bluebird/js/main/async.js:182:12)
at Async._drainQueues (/data/_verquire/mongoose/4.1.6/node_modules/bluebird/js/main/async.js:187:10)
at Immediate.Async.drainQueues [as _onImmediate] (/data/_verquire/mongoose/4.1.6/node_modules/bluebird/js/main/async.js:15:14)
at processImmediate [as _immediateCallback] (timers.js:383:17)