apple sign in issue - state_not_found

hello there, i am facing an issue with apple sign in, im getting ERROR [Better Auth]: State not found undefined
anyone could point me in the direction to whats happening?

this is after logging into apple and pressing continue to return back to the app, it ends up at api/auth/error?error=state_not_found

Google sign in works.
Was this page helpful?