Back

Oauth2 login issue

  • 1
  • Self Hosted
  • Web
Hexi
28 Apr, 2024, 11:33

Hi, I am trying to get Oauth2 working. It did before but then I migrated to another server location. After that it didn't work tho if I look in the cookies it does create an token on my appwrite instance url. Tho when I try to fetch the account I get an: general_unauthorized_scope error.

The website is online: https://beta.vectra.store/ so this migh help to debug?

DISCLAIMER GOOGLE IS NOT SETUPED CORRECTLY BUT DISCORD IS

I do see that when authorized with oauth2 it doesnt X-Fallback-Cookies to the fetch

TL;DR
Issue with Oauth2 login after migrating to a new server. Error 'general_unauthorized_scope' when trying to fetch the account. Website link provided for debugging. Google OAuth not set up correctly but Discord is. X-Fallback-Cookies not seen during authorization. Solution: Ensure correct scope and authorization settings in OAuth2 setup, double-check X-Fallback-Cookies configuration and correct Google OAuth setup.
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