Comments (11)
My apologies @HenriBeck , I was misunderstanding what you were saying, you were absolutely right it was a problem with my configuration, I imagine the screenshot you were going to add was something like this one:
Sorry for taking up your time.
from dart_packages.
@tp OK great, will do - I really appreciate the help getting it working so happy to contribute something. Thanks!
from dart_packages.
@nickmeinhold Have you tried changing your service id to be com.example.project
? I can't remember if that was possible to have the same service id + app bundle ID
from dart_packages.
Also, you can just change the service ID in Firebase auth to match the one you have in your Flutter code
from dart_packages.
Thanks for the response @HenriBeck
I can't change the service id to be com.example.project
as that is already used as the identifier for my App Id and errors when I try to change it.
When you say "change the service ID in Firebase auth" do you mean the firebase project Id? I could create a new project and move everything over I guess... is that what you're suggesting?
from dart_packages.
@HenriBeck did you mean to close this? I don't think it's been resolved.
from dart_packages.
@nickmeinhold I will post a screenshot of what I mean later. And yeah I meant to close this as it's probably a misconfiguration in your Firebase project itself.
When you setup Sign in with Apple, you also give firebase the clientId
and I think you gave the wrong one when you did the initial setup.
from dart_packages.
I spent a lot of time trying to be sure it wasn't my mistake in setting things up, and maybe it was but it feels very dismissive to not have a chance to respond before the issue is closed.
I followed your documentation for the clientId, it seems quite clear to me.
The developer’s client identifier, as provided by WWDR.
This is the Identifier value shown on the detail view of the service after opening it from https://developer.apple.com/account/resources/identifiers/list/serviceId Usually a reverse domain notation like com.example.app.service
As I said, I can't change the Service Id identifier to what Firebase Auth is expecting (which is the firebase project id) because my App Id identifier already uses the same value.
If the plugin will aways produce an id token with an aud
claim with the value passed in to clientId
and that can't be changed then I think it would be good to add something to the docs to that effect, maybe as a note for people trying to use the plugin with firebase auth, or just somewhere so people like me know to stop trying to figure it out.
I'd have been happy to put up some doc PRs or try and help in some way, I'm not meaning to use this as a helpdesk, but rather trying to help improve the excellent open source software you've made.
from dart_packages.
@nickmeinhold yeah, thats the exact screenshot I wanted to send.
from dart_packages.
I'd have been happy to put up some doc PRs or try and help in some way, I'm not meaning to use this as a helpdesk, but rather trying to help improve the excellent open source software you've made.
@nickmeinhold Thanks for pulling through. As Firebase integration is a common question here, a PR documenting the steps (and potential pitfalls) would be much appreciated 🙇🏻♂️
from dart_packages.
Hi @tp , just wanted to check in and let you know I've been working on an example app with some documentation, hopefully to put up as a PR. I started from scratch, created a firebase project and flutter app and got the auth working on both ios and android, taking screenshots at each step and made some docs. The repo is: https://github.com/nickmeinhold/apple-sign-in-flutter-firebase
I think all the necessary steps are in there. I want to improve it a bit before putting a PR up but thought I would check in and see if this is helpful or if you'd prefer a different format or anything.
Thanks!
from dart_packages.
Related Issues (20)
- Sign in fails if no Apple account in device HOT 1
- no email in decoded jwt( identityToken ) HOT 4
- [SIGN_IN_WITH_APPLE]"Cannot Complete Request" Error after Clicking "Continue", Flutter Web HOT 1
- <data> tag failed HOT 3
- SSO with Apple in Flutter web not working
- SSO Apple sing in with firebase show Error Continue button not working , Flutter Web
- Apple delete account HOT 1
- sign_in_with_apple ^5.0.0 is forbidden HOT 1
- sign_in_with_apple: Migrate to `package:web` to support WASM HOT 6
- sign_in_with_apple: getCredentialState always returns authorized HOT 3
- Fix deprecation warnings
- Update dependencies (js) in sign_in_with_apple_web HOT 1
- iOS - Apple login not getting correct email and after successful login nothing happens HOT 2
- sign_in_with_apple web: TypeError when the sign in flow completes in version 6.0.0, works in 5.0.0 HOT 6
- I hope to add an option to remove Android dependencies, as Apple login is generally not needed on Android devices. HOT 4
- Add iOS privacy manifests HOT 4
- [sign_in_with_apple] Add privacy manifest file for iOS HOT 1
- Cannot find symbol ... sign_in_with_apple.SignInWithApplePlugin() HOT 5
- Facing issue in getting name in apple signin. HOT 4
- The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. HOT 6
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 dart_packages.