Skip to content
Back

Redirect URL for Flutter Web App with Google Auth

  • 0
  • Flutter
  • Auth
RANN
20 Feb, 2025, 13:03

May I know is there anyone can help with this matter? I'm so lost for my web. The account info is created after login using google. However, it does not lead to my local website (as it is currently in development). What should i do to test the function to get into my specific page?

TL;DR
Developers recommend not hardcoding domains for Flutter web apps with Google Auth. To redirect the URL correctly, try using `localhost` in the redirect URI. This allows testing the login functionality on a local website during development before deploying to a specific page.
ideclon
20 Feb, 2025, 13:06

You should be able to use localhost in your redirect URI?

ideclon
20 Feb, 2025, 13:06

It's usually good practice not to hardcode your domains

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