Jan-Nicklas
BABetter Auth
•Created by Jan-Nicklas on 3/5/2025 in #bug-reports
TwoFactor plugins requires id column in schema?
I'm getting the following error message, when calling
authClient.twoFactor.enable
:
AFAIK, the twoFactor table doesn't need an ID column and the documentation doesn't mention one.
Config:
7 replies
BABetter Auth
•Created by Jan-Nicklas on 2/21/2025 in #bug-reports
Documentation is missing userId
The documentation for the Two-Factor database schema is missing the userId in the twoFactor table:
https://www.better-auth.com/docs/plugins/2fa#schema
2 replies