ERROR [Better Auth]: State not found undefined
I'm getting this error in this repo—the
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:Jump to solution
This has been fixed. I made a silly mistake: https://github.com/better-auth/better-auth/issues/3488#issuecomment-3094408678
GitHub
GitHub OAuth fails with "State not found undefined" error in Svelte...
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...
1 Reply
Solution
This has been fixed. I made a silly mistake: https://github.com/better-auth/better-auth/issues/3488#issuecomment-3094408678
GitHub
GitHub OAuth fails with "State not found undefined" error in Svelte...
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...