
i am trying to test aut on localhost but when google page to login and i select the account after that redirect to this error
{"message":"There was an error processing your request. Please check the inputs and try again.","code":400,"type":"general_bad_request","version":"0.12.148"}
googleLogin: async () => { try { const user = await account.createOAuth2Session( "google", "http://localhost:5173/dd", "http://localhost:5173/failure",
);
console.log(user);
if (user) {
set({ userName: user.name, userId: user.$id, userStatus: user.status });
}
} catch (error) {
console.log("error on google login ", error);
}
},

Do you see anything in the Appwrite logs?
Recommended threads
- Struggling with Sessions
Understanding check: createAnonymousSession() registers the session with the backend setSession() creates a cookie on the user’s computer(?) getSession(‘curr...
- MCP and VSCode Docs
I like your tools, but would like to set up Copilot in VSCode, but these docs don't offer that guide. Did I miss something? https://appwrite.io/docs/tooling/mcp
- How to set wildcard at custom doamin
For OAuth2 redirect, I have set the appwrite api endpoint as appwrite.example.com, and added the CANME in cloudfare where I bought the domain name. And I hosted...
