Skip to content

Commit ddfdda8

Browse files
authored
[Auth] Update AccountLinkingViewController.swift
1 parent 8f2fc69 commit ddfdda8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

authentication/AuthenticationExample/ViewControllers/AccountLinkingViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,9 @@ extension AccountLinkingViewController: ASAuthorizationControllerDelegate,
472472
return
473473
}
474474

475-
let credential = OAuthProvider.credential(withProviderID: "apple.com",
476-
idToken: idTokenString,
477-
rawNonce: nonce)
475+
let credential = OAuthProvider.credential(providerID: .apple",
476+
idToken: idTokenString,
477+
rawNonce: nonce)
478478
// Once we have created the above `credential`, we can link accounts to it.
479479
linkAccount(authCredential: credential)
480480
}

0 commit comments

Comments
 (0)