Skip to content

CORS Errors for logged Out Users in all API Requests #557

@nicmohr25

Description

@nicmohr25

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.

Current Behavior

When i'm testing my app in the browser Test mode i'm getting CORS Errors on all API Requests (Google Cloud Functions, Google Maps Places API in custom widget etc.). I have to log in with a user AND refresh the app for it to work properly. But after that everything works.

Expected Behavior

API request go through even if users are not logged in.

Steps To Reproduce

  1. Create a API Request
  2. Start App
  3. If logged in - log out
  4. Check Chrome Dev Tools
  5. CORS Error on Requests

Bug Report Code

ITFTlcmB34hNodcF+KrqdcJslWQsCUMdXZIRmOtvewgjF774PIYiZs/STBJCUtSzaH4/AFKWhlMCpdKJiYSXUO4BHEiCGbpP/pF6UhPPbF2ibq3WEqWSQUZQGtxXfmK55Lak3CVQPfhZL0Y+20OAPO+URT6Cf9qOYwx5e6fDbOY=

Context

Additional info

image

Environment

- FlutterFlow version: FF v3.1 - Flutter 3.7.3
- Platform: MacOS Web
- Browser name and version: Version 110.0.5481.100 (Offizieller Build) (x86_64)
- Operating system and version affected: macOS Ventura 13.2.1

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions