
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
- The current user is not authorized to pe...
Hello, I am attempting to receive fetch data from databases.listDocuments with each of its env parameter data for it to be shown on a NextJS project. However I ...
- Update relationship attribute issue
Hi, I am facing an issue when I try to update a relationship attribute in DB, when I try to change from two-way to one-way, both radio buttons are selected, an...
- DB console issues
after upgrading from appwrite/console 6.0.13 to 6.1.24 the documents hyperlinks are showing undefined, and it's only showing 1 document even though there are 2
