LionC / express-basic-auth

Plug & play basic auth middleware for express
325 stars 57 forks source link

Challenge: true #7

Closed Upperstage closed 6 years ago

Upperstage commented 6 years ago

I cannot get my custom authorizer to work without setting challenge to true. When challenge is not true, all requests fail with a 401.

It appears when basic-auth fails, the code goes to the unauthorized method without looking for a custom authorizer.

LionC commented 6 years ago

Hi Upperstage, can you give me a working example for me to reproduce the problem? I would really like to fix it!

LionC commented 6 years ago

Closing for now, as it is not possible to reproduce.