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
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- My account got banned without obvious re...
Hello, I’m a normal user of Appwrite. Today I found my account was banned suddenly, and I can’t log in normally. I have only been doing normal development and...