State Mismatch for social login
The flow: @Better Auth
When i enter login with google and then after i click the account, i am redirected to my hono backend url instead of the app and in the logs it tells that it is state mismatch
<-- GET /?error=state_mismatch
--> GET /?error=state_mismatch 200 1ms
i have sent my auth config for my server and client and my better auth
"better-auth": "^1.2.6", -> I have also tried the latest version and it does not seem to work in that too
When i enter login with google and then after i click the account, i am redirected to my hono backend url instead of the app and in the logs it tells that it is state mismatch
<-- GET /?error=state_mismatch
--> GET /?error=state_mismatch 200 1ms
i have sent my auth config for my server and client and my better auth
"better-auth": "^1.2.6", -> I have also tried the latest version and it does not seem to work in that too
message.txt7.72KB
message.txt4.44KB