Skip to content

Commit 3dc674d

Browse files
authored
Merge pull request #1717 from firebase/ncooke3-patch-1
[Auth] Update AccountLinkingViewController.swift
2 parents 8f2fc69 + 3cfd9a0 commit 3dc674d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ extension AccountLinkingViewController: ASAuthorizationControllerDelegate,
472472
return
473473
}
474474

475-
let credential = OAuthProvider.credential(withProviderID: "apple.com",
475+
let credential = OAuthProvider.credential(providerID: .apple,
476476
idToken: idTokenString,
477477
rawNonce: nonce)
478478
// Once we have created the above `credential`, we can link accounts to it.

0 commit comments

Comments
 (0)