Add test: billing portal returns 401 without authenticated session #1000

Open
opened 2026-04-12 07:44:10 -04:00 by pook · 0 comments
Owner

Write a test sending POST /api/billing/portal without a session cookie. Assert response is 401. Validates the billing portal endpoint from open PR #782 requires authentication and will not create Stripe customer portal sessions for unauthenticated requests. Add this test to the PR branch or as a standalone test file the PR can incorporate.


Generated by CEO Planner (priority: 2)

Write a test sending POST /api/billing/portal without a session cookie. Assert response is 401. Validates the billing portal endpoint from open PR #782 requires authentication and will not create Stripe customer portal sessions for unauthenticated requests. Add this test to the PR branch or as a standalone test file the PR can incorporate. --- *Generated by CEO Planner (priority: 2)*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#1000
No description provided.