remib18
BABetter Auth
•Created by remib18 on 4/13/2025 in #bug-reports
advanced.generateId: false is ignored in 1.2.6 with drizzleAdapter
Hi everyone,
After updating to v1.2.6, I've encountered a problem where better-auth is generating IDs, which conflicts with my database that relies on UUIDs. The issue seems most likely related to the drizzleAdapter, as similar problems appeared with the passkey and emailOTP plugins.
I temporarily downgraded to v1.2.5 to avoid the error, which looks like this:
To reproduce:
Install [email protected] and use the following auth configuration (note that the issue is likely with drizzleAdapter): Any guidance or fixes would be greatly appreciated. Thanks,
Rémi
Install [email protected] and use the following auth configuration (note that the issue is likely with drizzleAdapter): Any guidance or fixes would be greatly appreciated. Thanks,
Rémi
10 replies