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
- general_route_not_found - Auth Guide
If you’ve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...