© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
2fa cookie issues - Better Auth
BA
Better Auth
•
9mo ago
•
18 replies
david
2fa cookie issues
POST
/api
/auth
/two
-factor
/send
-otp
{
"code
"
:
"INVALID
_TWO
_FACTOR
_COOKIE
"
,
"message
"
:
"Invalid two factor cookie
"
}
Solution
nextCookies
(
)
, has to be the last plugin
Jump to solution
Recent Announcements
Similar Threads
clearing 2FA cookie on logout
BA
Better Auth / help
12mo ago
Issues with cookie name and expo
BA
Better Auth / help
12mo ago
Bearer 2FA
BA
Better Auth / help
8mo ago
2FA Error
BA
Better Auth / help
11mo ago