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

Double validation error #161

Closed pyy-s closed 5 years ago

pyy-s commented 5 years ago

auth: { strategies: ['admin','user'] }, The problem I met was the first admin to verify, but the second user was invalid.

johnbrett commented 5 years ago

I need more details to be able to offer any advice on this, are you sure this is an issue with this library or how hapi resolves multiple strategies? I'll close this for now, but please re-open if you have more details to add.

Apologies for delay in getting back to you on this.