I haven't tested it outside of docker to confirm if it is a universal issue with the code
I'm getting this error after setting up appy via docker and then running the seed script
[1] "auth" is not allowed
ERROR seed.js:629:9 seed — at Object.exports.process (/backend/node_modules/hapi/node_modules/joi/lib/errors.js:201:19)
ERROR seed.js:629:9 seed — at internals.Object._validateWithOptions (/backend/node_modules/hapi/node_modules/joi/lib/types/any/index.js:751:31)
ERROR seed.js:629:9 seed — at module.exports.internals.Any.root.validate (/backend/node_modules/hapi/node_modules/joi/lib/index.js:146:23)
ERROR seed.js:629:9 seed — at module.exports.internals.Any.root.attempt (/backend/node_modules/hapi/node_modules/joi/lib/index.js:176:29)
ERROR seed.js:629:9 seed — at module.exports.internals.Any.root.assert (/backend/node_modules/hapi/node_modules/joi/lib/index.js:171:14)
ERROR seed.js:629:9 seed — at Object.exports.inject (/backend/node_modules/hapi/node_modules/shot/lib/index.js:52:17)
ERROR seed.js:629:9 seed — at internals.Server.inject (/backend/node_modules/hapi/lib/server.js:309:32)
ERROR seed.js:629:9 seed — at seed (/backend/scripts/seed.js:313:31)
ERROR seed.js:629:9 seed — at <anonymous>
ERROR seed.js:629:9 seed — at process._tickDomainCallback (internal/process/next_tick.js:229:7)
This is the block of code where the issue is happening
injectOptions = RestHapi.testHelper.mockInjection(request)
let result = await server.inject(injectOptions)
Specifically failing at server.inject.
If i replace the auth key with credentials and use the same value as request.credentials. the script completes. If this is only an issue with hapijs . please go ahead and close this issue
I haven't tested it outside of docker to confirm if it is a universal issue with the code
I'm getting this error after setting up appy via docker and then running the seed script
This is the block of code where the issue is happening
Specifically failing at
server.inject.If i replace the
authkey withcredentialsand use the same value asrequest.credentials. the script completes. If this is only an issue with hapijs . please go ahead and close this issue