Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is there a way to create an "always valid" OTP for testing? - Better Auth
BA
Better Auth
•
5mo ago
•
16 replies
Wizzel
Is there a way to create an "always valid" OTP for testing?
I am currently migrating from clerk to better
-auth and I am wondering if there is a way to create OTPs that are always valid
Solution
https://github.com/better-auth/better-auth/pull/4723
:
)
GitHub
chore(email-otp): Allow returning undefined in `generateOTP` by pin...
Right now you
&
;
#39
;re forced to return an OTP value in the generateOTP function as part of the email
-otp plugin
. In some cases you may just want to return an OTP under a specific case
, and just
.
.
.
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
Is there a way to send OTP after email change?
BA
Better Auth / help
13mo ago
is there any way to pre -create users?
BA
Better Auth / help
9mo ago
Admin-plugin. Is there an elegant way to create first app admin?
BA
Better Auth / help
10mo ago
Is there a way to Disable Implicit Sign Up when using email OTP plugin?
BA
Better Auth / help
11mo ago