Back

Suddenly GitHub & Google SignIn process fails after recent appwrite upgrade

  • 0
  • Self Hosted
  • Auth
  • Web
Tassos P.
15 Apr, 2024, 15:57

I built a Next JS App 2 months ago with social login. While it was functioning perfectly when I firstly uploaded after migration to 1.5.1 and 1.5.3 it always returns an erro on the final redirect process after succesfull sign in with errors like:

Method: GET [Error] URL: /v1/account/sessions/oauth2/:provider/redirect [Error] Type: Utopia\Database\Exception\Structure [Error] Message: Invalid document structure: Unknown attribute: "factors" [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php [Error] Line: 3070

TL;DR
Developers are encountering issues with GitHub and Google SignIn process after upgrading their app to Appwrite version 1.5.1 and 1.5.3. The error message points to an invalid document structure with an unknown attribute "factors."
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