Skip to content

feat: replace NextAuth with Clerk#6

Merged
uptonm merged 1 commit into
mainfrom
feat/clerk-replace-nextauth
Jul 18, 2026
Merged

feat: replace NextAuth with Clerk#6
uptonm merged 1 commit into
mainfrom
feat/clerk-replace-nextauth

Conversation

@uptonm

@uptonm uptonm commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove Auth.js / Google OAuth; Budget now uses the shared Clerk app end-to-end
  • Add User.clerkId and link existing users by email on first Clerk login (keeps transaction data)
  • /signin hosts Clerk <SignIn />; fleet gate still locks the whole site when enabled
  • Drop Prisma Account / Session / VerificationToken tables

Test plan

  • Visit budget.uptonm.dev/signin, sign in with Google via Clerk
  • Existing categories/transactions still show for your account
  • Sign out returns to /signin
  • Fleet gate toggle on /admin still locks the site when on

Made with Cursor

Drop Auth.js/Google and Prisma Account/Session tables. Resolve Clerk
users onto existing Prisma User rows via clerkId (email link on first
login) so transaction data stays intact. /signin hosts Clerk SignIn;
fleet gate still locks the whole site when enabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
@uptonm
uptonm merged commit bf489f9 into main Jul 18, 2026
2 of 4 checks passed
@uptonm
uptonm deleted the feat/clerk-replace-nextauth branch July 18, 2026 21:38
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
budget Building Building Preview, Comment Jul 18, 2026 9:38pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant