Add test: billing portal returns 401 without authenticated session #1000
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#1000
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?
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)