chore: migrate frontend auth from Clerk to Better Auth#4568
chore: migrate frontend auth from Clerk to Better Auth#4568NathanFlurry wants to merge 8 commits intomainfrom
Conversation
|
🚅 Deployed to the rivet-pr-4568 environment in rivet-frontend
|
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ropdown Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ences Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
573da5a to
6f69069
Compare
This stack of pull requests is managed by Graphite. Learn more about stacking. |
PR Review: Migrate Frontend Auth from Clerk to Better AuthThis PR replaces Clerk with Better Auth across the Rivet frontend, removing all @clerk/* packages, rewriting sign-in/sign-up pages as plain React forms, updating route guards, context providers, org switching, and E2E test setup. It also adds a custom SSE streaming implementation. Issues1. Empty bearer token sent on every cloud API request (functional/security bug)
2. Logic inversion bug in
3. E2E cookie propagation is incomplete
4. Hardcoded localhost URL in E2E auth setup
5.
6. Unnecessary try/catch that just re-throws
7. Duplicate slug generation logic The Gaps to Track
Minor Notes
|

Summary
Test plan
🤖 Generated with Claude Code