Skip to content

Commit c51caf7

Browse files
Added code comments in federated-auth.md
1 parent ce23503 commit c51caf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/auth/federated-auth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ with the Facebook App ID and Secret set.
136136
137137
Future<UserCredential> signInWithFacebook() async {
138138
// Trigger the sign-in flow
139-
final rawNonce = _generateRandomString();
140-
final nonce = sha256ofString(rawNonce);
139+
final rawNonce = _generateRandomString(); // You should implement this function
140+
final nonce = _sha256ofString(rawNonce); // You should implement this function
141141
final LoginResult loginResult = await FacebookAuth.instance.login();
142142
143143
// Create a credential from the access token

0 commit comments

Comments
 (0)