🐛 [firebase_ui_auth] Apple Sign-In is not passing DisplayName #10679
Labels
resolution: fixed
A fix has been merged or is pending merge from a PR.
type: bug
Something isn't working
Bug report
I am developing a Flutter app using firebase_ui_auth, firebase_ui_oauth_google and firebase_ui_oauth_apple. When I try to Sign In With Apple, the displayName is not passed to the SignInScreen via FirebaseAuth.instance.authStateChanges(). I only get the email, every other field is null.
Steps to reproduce
Setup the desired FirebaseAusign-in providers in your main.dart.
Create a firebase_ui_Auth SignInScreen and listen for authentication state changes via FirebaseAuth.instance.authStateChanges().
When the user signs-in with Apple, snapshot.data contains the user's email, but doesn't contain the displayName.
Expected behavior
displayName should contain the full name of the user, not NULL.
Sample project
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: