jedireza / frame

:bulb: A user system API starter
https://jedireza.github.io/frame/
MIT License
739 stars 156 forks source link

Authentication strategy session uses unknown scheme: cookie #168

Closed gregfrasco closed 7 years ago

gregfrasco commented 7 years ago

Question? Hello @jedireza,

I have started with a frame repo, and I was trying to have 2 authentication strategies, hapi-auth-basic, and hapi-auth-cookie, So far it is working great, but testing them I have run into a problem, and I was wondering if you have seen this before. All my test pass and code coverage is good for auth.js. but it returns this error. Authentication strategy session uses unknown scheme: cookie.

relevant files

gregfrasco commented 7 years ago

I have figured it out, I had to register hapi-auth-cookie as a plugin into my api test