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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Selfhosted starter python function retur...
I am running a selfhosted appwrite instance. Creating a node function and executing it works just fine but when i try to execute a python starter function, i ge...
- How to properly implement custom domain?...