I hope this was helpful, and if the Link is returning true for both Firebase accounts with the same Apple Sign In ID then please let me know. Step 4 discusses how you might plumb data from one provider-linked account to another provider-linked account. Please see the guide Link Multiple Auth Providers to an Account in Unity. This sign-in is an optional operation to access pre-existing Apple provider Firebase account so that you can merge data between the two Firebase accounts as you see fit. The subsequent sign-in with the updated credential should succeed but the sign-in operation won't link the two accounts for you. The Link should fail due to there being another Firebase account linked to the Apple provider. Is it the task which attempted the Apple link of a pre-created Firebase User account using the same Apple ID? Or is the task for the subsequent Sign In attempt with the updated credential returned from the link failure? Hi you clarify the task.IsCompleted check? I'm working to add it to the official Unity Guide for Firebase Auth: LinkWithCredentialAysnc will continue to fail with the same error as before. Please note that LinkAndRetrieveDataWithCredentialAsync must be be used for this operation to contain the UpdatedCredential as the credential is part of the UserInfo object returned by the RetrevieData operation. If the credential is valid then it can be used to sign in the Apple Linked account via SignInWithCredential without asking for another nonce to be generated. The FirebaseAccountLinkException includes an UserInfo result object with an UpdatedCredential. When using Apple Sign In on iOS if a user link failure occurs due to there already being another Firebase account in the project that's linked to the iPhone's Apple account then a will be thrown instead of a standard Firebase.FirebsaeException. Version 6.14.1 went out yesterday which includes a change for these flows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |