Closed wozuo closed 6 years ago
Ah the problem was I'm not using hapi 17 yet. Tried it with version 5.1.0 and it works 👍🏻 Thanks
@wozuo I was about to suggest it was the version mismatch. Glad you got it sorted! Do you think there's anything I can do to make this clearer to new users btw?
@johnbrett Yea I think including the information in the readme is a good idea (I see you already did that 👍🏻), I didn't read the v6 release notes at first.
Yeah, it was after you opened this issue and I glanced at the README I released I never read the release notes when first using a module either! Thanks for the feedback!
Hi,
Thanks for your project I appreciate it 👍🏻 I have a problem getting it to work though, I'm trying to add authentication to an existing API Hapi project. This is my implementation of server.register:
And this is the error I'm getting:
I hope you can help me out. Cheers