We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce23503 commit c51caf7Copy full SHA for c51caf7
docs/auth/federated-auth.md
@@ -136,8 +136,8 @@ with the Facebook App ID and Secret set.
136
137
Future<UserCredential> signInWithFacebook() async {
138
// Trigger the sign-in flow
139
- final rawNonce = _generateRandomString();
140
- final nonce = sha256ofString(rawNonce);
+ final rawNonce = _generateRandomString(); // You should implement this function
+ final nonce = _sha256ofString(rawNonce); // You should implement this function
141
final LoginResult loginResult = await FacebookAuth.instance.login();
142
143
// Create a credential from the access token
0 commit comments