Skip to content

Instantly share code, notes, and snippets.

@ErisDS
Created January 13, 2016 09:01
Show Gist options
  • Save ErisDS/cfd94bbe02665bb04f4d to your computer and use it in GitHub Desktop.
Save ErisDS/cfd94bbe02665bb04f4d to your computer and use it in GitHub Desktop.
Access denied
ERROR: Access denied.
Error
at Error.UnauthorizedError (/home/ghost/core/server/errors/unauthorized-error.js:6:18)
at authenticate (/home/ghost/core/server/middleware/auth.js:155:50)
at allFailed (/home/ghost/node_modules/passport/lib/middleware/authenticate.js:87:18)
at attempt (/home/ghost/node_modules/passport/lib/middleware/authenticate.js:160:28)
at Strategy.strategy.fail (/home/ghost/node_modules/passport/lib/middleware/authenticate.js:277:9)
at verified (/home/ghost/node_modules/passport-http-bearer/lib/strategy.js:124:19)
at then (/home/ghost/core/server/middleware/auth-strategies.js:55:28)
at tryCatcher (/home/ghost/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/home/ghost/node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (/home/ghost/node_modules/bluebird/js/main/promise.js:581:18)
at Async._drainQueue (/home/ghost/node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (/home/ghost/node_modules/bluebird/js/main/async.js:133:10)
at Async.drainQueues (/home/ghost/node_modules/bluebird/js/main/async.js:15:14)
at process._tickDomainCallback (node.js:492:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment