Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Importing TWO_FACTOR_ERROR_CODES – Is It Possible? - Better Auth
BA
Better Auth
•
11mo ago
•
3 replies
Aymeric
Importing TWO_FACTOR_ERROR_CODES – Is It Possible?
Hello
, is it possible to import TWO
_FACTOR
_ERROR
_CODES from the file plugins
/two
-factor
/error
-code
.ts
?
Github link
GitHub
better-auth/packages/better-auth/src/plugins/two-factor/error-code....
The most comprehensive authentication framework for TypeScript
- better
-auth
/better
-auth
Solution
Not right now
, but I just made a PR to fix this
.
https://github.com/better-auth/better-auth/pull/2102
GitHub
add(two-factor): Error codes to infer from plugins, and exported er...
Jump to solution
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
404 on /two-factor/view-backup-codes
BA
Better Auth / help
5mo ago
Invalid two factor cookie
BA
Better Auth / help
9mo ago
two factor with social
BA
Better Auth / help
10mo ago