Open mark-osypenko opened 9 months ago
The library does not utilize the complete name provided by Apple. Instead, it constructs a FIROAuthCredential using only the token and rawNonce.
FIROAuthCredential
FIRUser displayName is empty
need to replace in FUIOAuth.m line 371
FIROAuthCredential *credential = [FIROAuthProvider credentialWithProviderID:@"apple.com" IDToken:idToken rawNonce:rawNonce];
with
FIROAuthCredential *credential = [FIROAuthProvider appleCredentialWithIDToken:idToken rawNonce:rawNonce, fullName: appleIDCredential.fullName];
The library does not utilize the complete name provided by Apple. Instead, it constructs a
FIROAuthCredential
using only the token and rawNonce.Steps to reproduce:
Observed Results:
FIRUser displayName is empty
Relevant Code:
need to replace in FUIOAuth.m line 371
FIROAuthCredential *credential = [FIROAuthProvider credentialWithProviderID:@"apple.com" IDToken:idToken rawNonce:rawNonce];
with
FIROAuthCredential *credential = [FIROAuthProvider appleCredentialWithIDToken:idToken rawNonce:rawNonce, fullName: appleIDCredential.fullName];