From d38d9be38dbb56a6581d9481f33fa9cc58e858eb Mon Sep 17 00:00:00 2001 From: russellwheatley <russellwheatley85@gmail.com> Date: Tue, 14 Jan 2025 15:52:45 +0000 Subject: [PATCH] docs(auth): windows platform does not support multi-factor auth --- docs/auth/multi-factor.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/auth/multi-factor.md b/docs/auth/multi-factor.md index 9c5c8dec2eb4..2e7a8ae83435 100644 --- a/docs/auth/multi-factor.md +++ b/docs/auth/multi-factor.md @@ -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. @@ -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: @@ -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); @@ -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); @@ -295,7 +295,7 @@ try { ); } catch (e) { ... -} +} ``` Congratulations! You successfully signed in a user using multi-factor