Add self-serve sign-up + Stripe Checkout (#31) #34

Merged
westfarn merged 1 commits from feature/signup-stripe-31 into master 2026-07-27 04:20:20 -07:00
Owner

Summary

  • Closes Add self-serve sign-up page (register + Stripe Checkout) (#31)
  • Public /signup/ page (Sign In–matched UI): register → JWT → POST /api/finance/checkout/ → redirect to Stripe hosted Checkout
  • /billing/success and /billing/cancel return URLs
  • Sign In ↔ Sign Up links; Sign Up link only when backend enable_account_registration is true

Depends on backend PR: registration flag + public settings + gated /user/create/

Test plan

  • cd llm-fe && CI=true npm run test:ci -- --testPathPattern='SignIn|SignUp'
  • With registration disabled: /signup/ shows unavailable; Sign In has no Sign up link
  • With registration enabled: form validates, happy path redirects to Checkout URL
  • Cancel return explains retry; success prompts continue / sign-in
## Summary - Closes #31 - Public `/signup/` page (Sign In–matched UI): register → JWT → `POST /api/finance/checkout/` → redirect to Stripe hosted Checkout - `/billing/success` and `/billing/cancel` return URLs - Sign In ↔ Sign Up links; Sign Up link only when backend `enable_account_registration` is true Depends on backend PR: registration flag + public settings + gated `/user/create/` ## Test plan - [ ] `cd llm-fe && CI=true npm run test:ci -- --testPathPattern='SignIn|SignUp'` - [ ] With registration disabled: `/signup/` shows unavailable; Sign In has no Sign up link - [ ] With registration enabled: form validates, happy path redirects to Checkout URL - [ ] Cancel return explains retry; success prompts continue / sign-in
westfarn added 1 commit 2026-07-27 04:18:03 -07:00
Add self-serve sign-up with Stripe Checkout redirect (#31).
Unit Tests / test (pull_request) Successful in 25s
c089823124
Public /signup/ registers via backend, starts Checkout, and handles success/cancel return URLs. Sign-up link on Sign In is gated by ENABLE_ACCOUNT_REGISTRATION.
westfarn merged commit 1e660c56a8 into master 2026-07-27 04:20:20 -07:00
westfarn deleted branch feature/signup-stripe-31 2026-07-27 04:20:20 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/chat_web_app#34