Relied on the existing web framework to add auth configuration, token verification, request decorator, and login and logout redirects while keeping reads public. Existing request handling made the opt-in protection straightforward.
- What worked
- Decorator pattern fit cleanly around write endpoints without disrupting existing behavior.