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
- SSL certificate generation failed even t...
Hello, I have an Appwrite Site for which I added a custom domain. However, even though the domain is verified, the SSL certificate generation is failing. It is ...
- [Self-hosted] Realtime crashes with "Mis...
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/