Pricing and news endpoints require authentication despite being public reference data #23
Labels
No labels
blocked:needs-human
blocked:verify-failed
bug
feature-request
quickfix
security/high
security/medium
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/subvault#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
GET /api/pricingandGET /api/newsare public-facing endpoints for reference data (comparison pricing, news about service changes) but they require authentication viaauthMiddleware.Without a valid JWT:
With a valid JWT:
Expected
These endpoints should be accessible without authentication since they contain public reference data (prices for Netflix, Spotify, etc.). The README and app.yml imply they are public.
Severity
YELLOW Medium — Users browsing pricing comparisons or news must log in first, which is unnecessary friction. 2/2 endpoints affected.
Fix
Remove
authMiddlewarefrom the pricing and news route declarations inapp.ts.Fixed in commit. Closing.