The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix flutter mfa app redirect login
dshukertjr0ef5b97dfb9f
diff --git a/examples/auth/flutter-mfa/lib/main.dart b/examples/auth/flutter-mfa/lib/main.dartindex b8eab901fe3..1387b15d093 100644--- a/examples/auth/flutter-mfa/lib/main.dart+++ b/examples/auth/flutter-mfa/lib/main.dart@@ -10,9 +10,8 @@ import 'package:mfa_app/pages/mfa/enroll_page.dart';void main() async {await Supabase.initialize(- url: 'https://mmovxqiqcxyufdudlcnl.supabase.co',- anonKey:- 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1tb3Z4cWlxY3h5dWZkdWRsY25sIiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODMwMzYzMjIsImV4cCI6MTk5ODYxMjMyMn0.gJbycbKjVT0L4_csVRjyYBxnUU3X1ZCMwbxMi7962Rw',+ url: 'YOUR_SUPABASE_URL',+ anonKey: 'YOUR_ANON_KEY',);runApp(const MyApp());}@@ -59,11 +58,6 @@ final _router = GoRouter(return RegisterPage.route;}- // user with a session can visit /mfa route- if (state.location.contains('/mfa') == true) {- return null;- }-final assuranceLevelData =supabase.auth.mfa.getAuthenticatorAssuranceLevel();