Back

Google OAuth on self-hosting Redirect URL not found error

  • 0
  • Self Hosted
  • Auth
  • Web
k_vasen
28 Jul, 2024, 07:53

I tired running the appwrite instance locally with the default port and configurations. When I sign in to my web application. It is showing http://localhost/v1/account/sessions/oauth2/callback/google/66a25e9e003b4c7ad9fb? might be temporarily down or it may have moved permanently to a new web address. .

I have been using the cloud for some days It worked fine. I have issues to authenticate users using OAuth in self-hosted one.

Note: I can able to access the appwrite console using localhost:80

TL;DR
Developers trying to set up Google OAuth on a self-hosted appwrite instance are facing a "Redirect URL not found" error when signing into the web application. The issue occurs when accessing the callback URL. The console is accessible on localhost:80. Solution: Check the configurations for the appwrite instance and ensure the correct port is set. The callback URL may need adjustment for the self-hosted 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