Skip to content
Back

Cannot login via Google OAuth in Flutter Web due to header issue

  • 0
  • Flutter
  • Auth
  • Cloud
Venom
15 Apr, 2025, 16:59
TypeScript
Request header field User-Agent is not allowed by Access-Control-Allow-Headers.
Fetch API cannot load https://appwrite.ven0m.kr/v1/account?# due to access control checks.
Failed to load resource: Request header field User-Agent is not allowed by Access-Control-Allow-Headers.

Google OAuth was working fine until few days ago, but suddenly cannot login in iOS Safari. I searched the internet and it might be Appwrite server-side problem. (And I didn't touch anything in Netlify, too.)

  • appwrite.ven0m.kr = cloud.appwrite.io's custom domain
TL;DR
Issue: Cannot login via Google OAuth in Flutter Web due to header issue. - Google OAuth suddenly stopped working, leading to login issues in iOS Safari. - Error message: Request header field User-Agent is not allowed by Access-Control-Allow-Headers. - The problem might be related to Appwrite server-side settings. Solution: The issue might be due to the Appwrite server-side problem. Check and adjust the server-side settings to ensure proper handling of headers, specifically Access-Control-Allow-Headers, which may resolve the login problem.
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