© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Typescript - how to infer additional, non-database fields during registration - Better Auth
BA
Better Auth
•
15mo 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
!
Recent Announcements
Similar Threads
Infer Additional fields
BA
Better Auth / help
14mo ago
Infer additional fields for admin?
BA
Better Auth / help
13mo ago
Infer Additional Fields on the Server
BA
Better Auth / help
3mo ago
Typescript - database hook type inference for additional fields
BA
Better Auth / help
15mo ago