11ee9b946f
fix: invite accept bypasses disableSignUp by falling back to internal adapter
...
signUpEmail throws when disableSignUp is true. Now catches that error
and creates the user directly via Better Auth's internal adapter:
createUser + linkAccount with hashed password.
2026-01-28 22:17:08 +00:00
ead71ae0a7
fix: use Better Auth internal API for invite user creation
2026-01-28 22:03:59 +00:00
3e63a4be8d
Revert "temp: debug endpoint for user account inspection"
...
This reverts commit ac1495a953 .
2026-01-28 22:03:33 +00:00
ac1495a953
temp: debug endpoint for user account inspection
2026-01-28 22:00:58 +00:00
8abad1a242
feat: add email and password change endpoints to profile routes
2026-01-28 21:55:39 +00:00
702156c406
fix: disable open signup - invite creates users directly via DB
2026-01-28 21:46:02 +00:00
1e30d349f5
fix: use frontend URL for reset/invite links instead of API URL
2026-01-28 21:44:09 +00:00
6b075b9ab5
feat: password reset flow (public + admin-initiated)
2026-01-28 21:43:38 +00:00
df4e67b929
fix: block open signup endpoint - invite only
2026-01-28 21:41:11 +00:00
c6d9f249ce
feat: admin system with invite-only registration
2026-01-28 21:39:31 +00:00
c4990af6e4
fix: enable cross-subdomain cookies for session sharing
2026-01-28 21:28:49 +00:00
2cd64918a6
fix: add ALLOWED_ORIGINS to Better Auth trustedOrigins
2026-01-28 21:03:37 +00:00
7c53056e6e
Add detailed logging to email send endpoint
2026-01-28 02:31:57 +00:00
4bbb9c0586
Add user profile API with name, title, company, phone, signature
2026-01-27 22:59:21 +00:00
3a5f7b2c17
Add 5 realistic fake clients to seed data
2026-01-27 22:50:52 +00:00
00a07dc95a
Add OpenAI support, default to gpt-4o-mini
2026-01-27 22:45:06 +00:00
e4f900c111
Add detailed error logging to API and email generation
2026-01-27 22:40:46 +00:00
308ca4fc5e
fix: use BetterAuth's hashPassword for seed
2026-01-27 22:19:53 +00:00
7bd506463e
feat: bearer auth, auto-sync events, test seed
...
- Add bearer plugin to BetterAuth for mobile auth
- Auto-sync birthday/anniversary events on client create/update
- Add /api/events/sync-all endpoint for bulk sync
- Add test user seed (test@test.com / test)
- Expose set-auth-token header in CORS
2026-01-27 22:12:33 +00:00
f9643235be
Add unit tests for clients, AI, and email services
2026-01-27 18:30:05 +00:00
e1f35db34f
Fix schema: use text IDs for better-auth compatibility
2026-01-27 18:27:31 +00:00
6620333def
Fix docker-compose: lockfile name, lazy Resend init
2026-01-27 17:20:28 +00:00
54d1bb7240
Add docker-compose for local dev
2026-01-27 17:11:04 +00:00
06f1b4e548
Initial API scaffold: Elysia + Bun + Drizzle + BetterAuth + LangChain
2026-01-27 02:43:11 +00:00