Optional authorization
pronebird opened this issue · 2 comments
pronebird commented
Is it possible to have endpoints with optional authorization? For example, when if bearer token is provided, we pick the corresponding user for it, if not, we let the next callback in chain to handle that, e.g. no req.user
initialized. I need it for endpoints on API that return personalized results when user authorized.
jaredhanson commented
pronebird commented
@jaredhanson thanks I didn't know about that.