johnbrett / hapi-auth-bearer-token

Simple Bearer authentication scheme plugin for hapi, accepts token by Header, Cookie or Query parameter.
MIT License
218 stars 46 forks source link

Version 6.0.1 typescript not job #148

Closed Blynskyniki closed 6 years ago

Blynskyniki commented 6 years ago

Helllo. I am using hapi and typescript . Version 6.0.1 not job. Error impossible to find register of undefinded

Blynskyniki commented 6 years ago

Version 5.0.0 functions normally

johnbrett commented 6 years ago

ok, I will need an example to reproduce this to debug. Can you create a project where this is failing with version 6.0.1 but works with version 5.0.0?

johnbrett commented 6 years ago

I'm guessing the issue here is you're using v6 of this module with a hapi version 16 or below, this is documented in the release notes. I'm going to close this unless you can provide more information about versions or a project where this is failing.