Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/auth/multi-factor.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ more difficult.

## Before you begin

Note: Using multi-factor authentication with
[multiple tenants](https://cloud.google.com/identity-platform/docs/multi-tenancy)
Note: Windows platform does not support multi-factor authentication. Using multi-factor authentication with
[multiple tenants](https://cloud.google.com/identity-platform/docs/multi-tenancy) on any platform
is not supported on Flutter.

1. Enable at least one provider that supports multi-factor authentication.
Expand Down Expand Up @@ -106,7 +106,7 @@ To enroll a new secondary factor for a user:
// ...
},
codeAutoRetrievalTimeout: (_) {},
);
);
```

1. Once the SMS code is sent, ask the user to verify the code:
Expand Down Expand Up @@ -139,7 +139,7 @@ The code below shows a complete example of enrolling a second factor:
verificationCompleted: (_) {},
verificationFailed: (_) {},
codeSent: (String verificationId, int? resendToken) async {
// See `firebase_auth` example app for a method of retrieving user's sms code:
// See `firebase_auth` example app for a method of retrieving user's sms code:
// https://github.com/firebase/flutterfire/blob/main/packages/firebase_auth/firebase_auth/example/lib/auth.dart#L591
final smsCode = await getSmsCodeFromUser(context);

Expand Down Expand Up @@ -269,7 +269,7 @@ try {
verificationCompleted: (_) {},
verificationFailed: (_) {},
codeSent: (String verificationId, int? resendToken) async {
// See `firebase_auth` example app for a method of retrieving user's sms code:
// See `firebase_auth` example app for a method of retrieving user's sms code:
// https://github.com/firebase/flutterfire/blob/main/packages/firebase_auth/firebase_auth/example/lib/auth.dart#L591
final smsCode = await getSmsCodeFromUser(context);

Expand All @@ -295,7 +295,7 @@ try {
);
} catch (e) {
...
}
}
```

Congratulations! You successfully signed in a user using multi-factor
Expand Down
Loading