Google OAuth: Cannot re-login after user deletion (400 general_bad_request)
- 0
- Self Hosted
- Flutter
- Auth
Hi! I'm facing a bug with Google OAuth in Appwrite.
π§© Context:
I'm using self-hosted Appwrite 1.6.1 and appwrite: ^15.0.0 (Flutter SDK). I had Google OAuth working properly β I could sign in and create a user via Google in my Flutter app.
Later, I manually deleted that user via Appwrite Console. The user disappeared from the Console UI.
π₯ Problem:
Now, when I try to sign in again with the same Google account, I get the following error:
AppwriteException (400 - general_bad_request)
Additionally:
- When I try to create a new user with the same email in the Console, it says the user already exists.
- The user is not listed when I run
appwrite users listfrom the CLI. - Attempting password recovery with this email gives
user not found.
π Extra detail (maybe unrelated): At the same time, my appwrite-worker-deletes container logged this error: You must set a valid security email address (_APP_EMAIL_CERTIFICATES) to issue a LetsEncrypt SSL certificate.
However:
- _APP_EMAIL_CERTIFICATES is set in my .env
- SSL certificate is active and valid
π¦ Setup:
- Appwrite self-hosted: v1.6.1
- Flutter SDK: appwrite: ^15.0.0
π Any idea why this is happening?
Thanks in advance!
Recommended threads
- Github connection error - Self Hosted Ap...
I am trying to connect my github account to deploy a project to sites, but Connect to Gtihub button is disabled. I have configured all Env variables needed for...
- "Domain verification failed"
"Domain verification failed" I was install Appwrite in my VDS server. I using Coolify for install Appwrite. After install complete, i want add my domain, and i ...
- Appwrite Sites triggers builds for all p...
I connected my Appwrite Sites to my Git app on my self hosted Appwrite server, but even though I only connected it to main branch, it creates a build every sing...