Back

Google sign in Redirect error

  • 0
  • Self Hosted
  • Flutter
mandolfo
25 Mar, 2023, 23:11

I have a web app on the Google Cloud and Appwrite consoles. When I log in it throws “missing redirect” but if I refresh the web app it verifies the session.

Does redirect only work on mobile or what am I not understanding?

This in local dev not deployed to a domain. My Appwrite instance is on an HTTPS domain not on my LAN or 💻 .

TL;DR
In this support thread, the user is experiencing a redirect error when using Google sign-in on their web app. They are receiving a "missing redirect" error, but if they refresh the web app, the session is verified. The user is confused whether the redirect only works on mobile or if they are missing something. Solution: The user should ensure that they have configured the correct success URL for the redirect. They can refer to the documentation provided in the thread for guidance on how to pass the success URL. It is also mentioned that the issue is occurring in local development and not on a deployed domain, and their Appwrite instance is on
Drake
25 Mar, 2023, 23:33

In web, you're supposed to pass a success url to redirect the user to your app. See https://appwrite.io/docs/client/account?sdk=web-default#accountCreateOAuth2Session

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