Help with Keystone 6 express backend framework

I am using a headless cms called Keystone and I am simply trying to hook up better-auth to the express side of it. I am unable to reach all /api/auth/* endpoints but I am able to access /api/auth/callback which gives me a Better Auth error with Error code state_not_found. Any ideas? Any help will be appreciated 🙏🏾
1 Reply
KiNFiSH
KiNFiSH5mo ago
this could be because of this main reasons - - The OAuth state parameter is missing or invalid - The session/cookie handling isn't properly configured - The callback URL isn't properly set up Make sure to cross-check that those options are set up correctly

Did you find this page helpful?