Giter VIP home page Giter VIP logo

Comments (11)

nickmeinhold avatar nickmeinhold commented on May 29, 2024 3

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:

Screen Shot 2020-06-09 at 2 00 36 am

Sorry for taking up your time.

from dart_packages.

nickmeinhold avatar nickmeinhold commented on May 29, 2024 3

@tp OK great, will do - I really appreciate the help getting it working so happy to contribute something. Thanks!

from dart_packages.

HenriBeck avatar HenriBeck commented on May 29, 2024

@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.

HenriBeck avatar HenriBeck commented on May 29, 2024

Also, you can just change the service ID in Firebase auth to match the one you have in your Flutter code

from dart_packages.

nickmeinhold avatar nickmeinhold commented on May 29, 2024

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.

nickmeinhold avatar nickmeinhold commented on May 29, 2024

@HenriBeck did you mean to close this? I don't think it's been resolved.

from dart_packages.

HenriBeck avatar HenriBeck commented on May 29, 2024

@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.

nickmeinhold avatar nickmeinhold commented on May 29, 2024

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.

HenriBeck avatar HenriBeck commented on May 29, 2024

@nickmeinhold yeah, thats the exact screenshot I wanted to send.

from dart_packages.

tp avatar tp commented on May 29, 2024

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.

nickmeinhold avatar nickmeinhold commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.