movableink / doorman

HTTP Proxy + OAuth
MIT License
167 stars 52 forks source link

Allow for a list of password tokens #61

Open mnutt opened 4 years ago

mnutt commented 4 years ago

:house: [ch34419]

To allow multiple outsiders to each authenticate with their own password.

The config.token.length check is subsumed into the find() call; if config.token === "", there will only be one element in the array and it will not match.

mnutt commented 4 years ago

While I'm quite confident in this code, I don't currently have the setup to test it locally. Alright to try it on staging?

mchesler commented 4 years ago

While I'm quite confident in this code, I don't currently have the setup to test it locally. Alright to try it on staging?

I'm good with that