169 похожих чатов

Has anyone experienced Sign in with Apple (with Firebase Authentication)

does not provide name or email of the user even when requested with "email" and "fullName" scopes?

Here's the code I'm using:

final provider = AppleAuthProvider();
provider.addScope("email");
provider.addScope("name");
final creds = await _auth.signInWithProvider(provider);

print(creds.user?.displayName); // => null
print(creds.user?.email); // => null

// ....

Please let me know, thanks :)

12 ответов

22 просмотра

There is a some remark, that device is remember first choice and keep it till delete. Don't remember where this was in iphone

Юрий
There is a some remark, that device is remember fi...

Settings > Apple ID > Sign In & Security > Sign In with Apple, is that it?

Стикер

Yep I understand, user has the privilege to hide their name and/or email... But in my case, the bottom sheet like Apple Sign In flow doesn't even prompts the user to share name/email even though I specified those scopes in the code...

Sree (𝓣𝓪𝔂𝓵𝓸𝓻'𝓼 𝓥𝓮𝓻𝓼𝓲𝓸𝓷) 🦉 🦉
Yep I understand, user has the privilege to hide t...

no idea, just checked in my apps, everything works as expected with the question do. you want to share my email or not

Юрий
no idea, just checked in my apps, everything works...

basically the same code? or are you using the pkg:sign_in_with_apple package?

Дмитрий Щербаков
screenshot try sign_in_with_apple package where in scopes u...

actually i've already tried that package as well, still got null response and even more problems on android apple auth flow, so switched back to Firebase only solution. i should check again anyway :)

Юрий
same code, with firebase auth

sounds like mine problem now 🥲.. i should do more digging

Похожие вопросы

Обсуждают сегодня

Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
32
Хотел бы спросить у знающих, правильную ли я выбрал книгу для начала изучения ассемблера Юрова В.И ? Или есть более лучшие книги для начала обучения?
Botsman
25
Книга Юрова В.И пойдёт для обучения?
Botsman
24
$params = [ 'formid' => 'feedbackForm', 'formTpl' => '@CODE: <form class="form-validate" data-id="ajax_form"> <fieldset class="margin-bottom-md"> ...
Pathologic
1
а мы ещё не созрели до того, чтобы создать отдельный чатик про настройку редакторов?
Cheese Syrowiecki
16
И ещё вопрос: можно ли типа как на дос как-то запариться и с помощью прерываний выводить текст, вместо функции printf ?
НѣкъиⰘижєжєиꙁъвьсєсвѣтьноѣсѣтиѥсть•
34
Всем привет! У меня почему-то по-разному отображается TListView в Debug и Release режимах (FireMonkey)! При запуске под Win приложения TListView заливается программо. в Debug ...
Александр COM
8
Ладно, ещё тупого спрошу. Код должен банально вывести значение регистра на консоль, на деле же не выводя ничего, просто оставляя нерабочую консоль (открыта, ничего не написан...
НѣкъиⰘижєжєиꙁъвьсєсвѣтьноѣсѣтиѥсть•
25
Парни, спасайте. RAD Studio 12 творит какую-то дичь. У меня есть метод (event), который вызывает другой метод, т.е. он состоит из 1-й строки вызова. Ставлю бряк на event, запу...
Eugene Krasnikov (ᴊɪɴ x)
3
окей, дело реально в org было. но что за мусор в конце?
Vi Chapmann
15
Карта сайта