Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Typescript - how to infer additional, non-database fields during registration - Better Auth
BA
Better Auth
•
14mo ago
•
3 replies
nktnet
Typescript - how to infer additional, non-database fields during registration
Hi everyone
,
I
'm implementing the email credential flow
.
When signing up
, I want the user to also specify a
registrationToken
registrationToken
similar to how matrix
.org
(decentralised chat client
) does it
.
This
registrationToken
registrationToken
should not be stored in the database
(it
's used strictly during the sign up process
)
.
The code I
've written works fine
, but I can
't find from the docs a way to remove the type error
- could you please provide some guidance
?
Thank you
!
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Infer Additional fields
BA
Better Auth / help
12mo ago
Infer additional fields for admin?
BA
Better Auth / help
11mo ago
Infer Additional Fields on the Server
BA
Better Auth / help
2mo ago
Typescript - database hook type inference for additional fields
BA
Better Auth / help
14mo ago