ERROR [Better Auth]: State not found undefined
I'm getting this error in this repo—the
@glassy had a similar issue, but his hint at the solution isn't quite clear to me:
I'd appreciate any help on this.
beta branch. I'm setting this SvelteKit project up to be deployed to Cloudflare. I implemented GitHub auth (the App way, not OAuth way). Everything works well, up until when GitHub redirects back to the app, then I get the page in the screenshot attached.@glassy had a similar issue, but his hint at the solution isn't quite clear to me:
I'd appreciate any help on this.

Solution
This has been fixed. I made a silly mistake: https://github.com/better-auth/better-auth/issues/3488#issuecomment-3094408678
GitHub
Is this suited for github? Yes, this is suited for github To Reproduce Bug Description Following the official Better Auth documentation for setting up GitHub OAuth in SvelteKit results in a "S...