I’ve installed the auto module, selected session + lucid, but now I get the following error on all routes:
Cannot read property 'get' of undefined
Which originates from node_modules/@adonisjs/auth/src/Schemes/Session.js:356
:
const sessionValue = this._ctx.session.get(this.sessionKey)
I’ve set up the proper providers in app.js and kernel.js as specified in the docs. I managed to get basic auth to work this way, but with session auth I can’t get passed this error.
Am I overlooking something obvious or is this an adonis problem?