diff --git a/authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift b/authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift index 163677317..fe06318fd 100644 --- a/authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift +++ b/authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift @@ -472,7 +472,7 @@ extension AccountLinkingViewController: ASAuthorizationControllerDelegate, return } - let credential = OAuthProvider.credential(withProviderID: "apple.com", + let credential = OAuthProvider.credential(providerID: .apple, idToken: idTokenString, rawNonce: nonce) // Once we have created the above `credential`, we can link accounts to it.