Back

OAuth2 gives general_bad_request

  • 0
  • Cloud
Gince
5 Jan, 2025, 21:55

Hey hey. OAuth2 authentication (GitHub provider) throws a general_bad_request error when attempting to log in after account deletion through dashboard.

Steps to Reproduce:

  1. Set up OAuth2 authentication with GitHub provider
  2. Successfully log in once using OAuth2
  3. Delete the user account through the Appwrite dashboard
  4. Attempt to log in again using the same OAuth2 method

Current Behavior:

  • Receiving general_bad_request error when trying to log in
  • Authentication fails to complete

Expected Behavior:

  • Should create a new account and complete authentication successfully
  • This worked correctly ~2.5 months ago
TL;DR
OAuth2 login with GitHub shows "general_bad_request" error post deletion via dashboard. Issue arises upon re-login attempt after account deletion. Previously functioning correctly. Solution: Refresh OAuth2 tokens or ask users to reauthenticate post deletion to resolve the error.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more