© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Twitch Login working on Dev but not Prod - Better Auth
BA
Better Auth
•
2mo ago
•
1 reply
zander
Twitch Login working on Dev but not Prod
OAuth related
In development my auth with twitch is working
, however in production I am getting an error
BetterAuthError
: State mismatch
: State not persisted correctly
code
:
"state
_security
_mismatch
"
Any ideas why there is a difference between local dev vs prod
?
Recent Announcements
Similar Threads
session validation works on dev but not on prod
BA
Better Auth / help
15mo ago
dev env is working, but prod isn't
BA
Better Auth / help
4mo ago
MagicLink working in localhost but not in prod
BA
Better Auth / help
9mo ago
Cookie cache not working on dev
BA
Better Auth / help
4mo ago