Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
The user data ID is empty in the before hook of the database. - Better Auth
BA
Better Auth
•
7mo ago
•
5 replies
Ryan
The user data ID is empty in the before hook of the database.
Is this phenomenon normal in this hook
? Because when checking the TypeScript type definitions
, it is certain that there will be an id
.
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Stripe plugin doesn't consider databaseHooks.user.create.before hook
BA
Better Auth / help
9mo ago
How to get full user info in the database hook?
BA
Better Auth / help
13mo ago
empty session in custom plugin hook
BA
Better Auth / help
15mo ago
"userId" as id of user instead of "id"
BA
Better Auth / help
11mo ago