Dear all,
I recently encountered an issue with Oauth.
For creating new users, it works fine. However, when logging in to an existing user (I had already previously signed up with Oauth), it gives me this error:
URL:https://cloud.appwrite.io/v1/account/sessions/oauth2/google/redirect?state=...
Body: {"message":"A user with the same id, email, or phone already exists in this project.","code":409,"type":"user_already_exists","version":"1.6.2"}
I believe this is an error that was not present in the past, as I was able to login with Oauth without issues.
I am calling the Oauth as follows:
const handleGoogleSignIn = (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => {
e.preventDefault()
account.createOAuth2Session(OAuthProvider.Google, redirectUri, redirectUri);
}
Recommended threads
- Project paused?
Hello, I have two Appwrite projects and I can not resume them for some reason. I'm using the free plan, and I saw in the pricing page that 2 free projects are a...
- Python TablesDB Rework
Hi, i starting to rework some older functions to TablesDB list_rows Method. I used list_documents with a resultset with worked fine. Now i tried to get all rows...
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.