Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
2fa cookie issues - Better Auth
BA
Better Auth
•
8mo 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
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
clearing 2FA cookie on logout
BA
Better Auth / help
10mo ago
Issues with cookie name and expo
BA
Better Auth / help
11mo ago
Bearer 2FA
BA
Better Auth / help
6mo ago
2FA Error
BA
Better Auth / help
9mo ago