-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
enhancementA minor feature requestA minor feature requestrequestRequest for new functionalityRequest for new functionality
Milestone
Description
What I want is to inspect every request and if it is anything but POST to /api/auth/register or /api/auth/login then check for for auth header. If header is not present, then reply 401. I looked at Fairing - but Fairing cant respond to requests. I looked at request guard, it looks like for them I need to add a param to every route handler.
Questions
Any questions must include:
-
The version of Rocket this question is based on, if any.
master -
What steps you've taken to answer the question yourself.
Looked at Fairing and request guard docs -
What documentation you believe should include an answer to this question.
not sure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementA minor feature requestA minor feature requestrequestRequest for new functionalityRequest for new functionality
Type
Projects
Status
In review