Comments (1)
Hey @cedvdb - this is a well known limitation. Here is more information
Quote:
Hey there, Malcolm from Firebase here!
This is a known behavior, and is due to the fact that Apple Sign-In is based on a Web flow - it kicks you to a browser to do the sign-in and then takes you back. As a result, your API key is used in a web context, so restricting your API key to only work on Android breaks this feature.
As is presently stands, API key restrictions provide minimal benefit for Android - all it does is make it so that certain headers must show up on the request in order to be accepted. We're working on better ways to solve this issue right now, but I would suggest foregoing API key restrictions for now (since it does very little) if you need to use Apple Sign-In.
It is worth removing the restriction, if wish to know if anything is happening with this, it might be worth reaching out to Firebase support 🙏
from flutterfire.
Related Issues (20)
- [firebase_analytics]: iOS 13 required? HOT 2
- [firebase_analytics]: `AnalyticsEventItem.asMap()` to `Map<String, Object>` instead of `Map<String, dynamic>` HOT 2
- [Core]: "No app has been configured yet" message on iOS HOT 7
- [firebase_analytics]: Play Console raises error for missing com.google.android.gms.permission.AD_ID HOT 3
- [firebase_app_check]: Flutter iOS module is not building when using firebase_app_check package HOT 3
- [cloud_firestore]: Lots of warnings generated when running on macos HOT 1
- 🐛 [firebase_auth] [firebase_auth/credential-already-in-use] Phone Auth Linking, the token from the credential of the error thrown is not valid HOT 5
- [cloud_functions]: No way to define headers like 'Content-Type': 'application/json', to send a POST request HOT 4
- [firebase_messaging]: Remove references to deprecated v1 Android embedding HOT 4
- firebase_auth: signInWithCredentials failed for facebook login HOT 1
- [Core]: PlatformException(channel-error, Unable to establish connection on channel., null, null) HOT 10
- [cloud_firestore]: snapshot.connectionState = ConnectionState.active when macos connect cloud_firestore HOT 1
- [firebase_auth]: Apple signInWithCredential throws invalid-credential when used with error.credential HOT 4
- FIREBASE_AUTH: CRASH ON WINDOWS WHEN USE sendEmailVerification() AND sendPasswordResetEmail(email)
- 👉FCM V1 👈_firebaseMessagingBackgroundHandler flutter_incoming_call sound not working and awesome_notifications incoming call sound not working ⚠⚠⚠⚠⚠ HOT 2
- firebase_dynamic_links: Frequent Crashes on Startup Due to Firebase Initialization Issue HOT 1
- [cloud_firestore]: missing increment updates when unstable internet connection HOT 4
- [📚] How to build and run the docs in localhost? HOT 1
- 🐛 [VectorStore] Dart SDK for Vector Store and vector search HOT 1
- [📚] Missing Windows information in "Add Firebase to your Flutter app" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutterfire.