Request header field User-Agent is not allowed by Access-Control-Allow-Headers.
Fetch API cannot load https:
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.