diff --git a/single-factor-auth-flutter/sfa_flutter_quick_start/lib/core/web3auth_sfa.dart b/single-factor-auth-flutter/sfa_flutter_quick_start/lib/core/web3auth_sfa.dart index 0b10b6c3..51041487 100644 --- a/single-factor-auth-flutter/sfa_flutter_quick_start/lib/core/web3auth_sfa.dart +++ b/single-factor-auth-flutter/sfa_flutter_quick_start/lib/core/web3auth_sfa.dart @@ -16,10 +16,9 @@ class Web3AuthSFA { // IMP START - Initialize Web3Auth SFA await singleFactAuthFlutter.init( SFAParams( - network: Web3AuthNetwork.mainnet, + network: Web3AuthNetwork.sapphire_mainnet, clientId: - "BJRZ6qdDTbj6Vd5YXvV994TYCqY42-PxldCetmvGTUdoq6pkCqdpuC1DIehz76zuYdaq1RJkXGHuDraHRhCQHvA", - sessionTime: 40 + "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ", ), ); // IMP END - Initialize Web3Auth SFA diff --git a/single-factor-auth-flutter/sfa_flutter_quick_start/pubspec.lock b/single-factor-auth-flutter/sfa_flutter_quick_start/pubspec.lock index 4f6837e1..60a583f9 100644 --- a/single-factor-auth-flutter/sfa_flutter_quick_start/pubspec.lock +++ b/single-factor-auth-flutter/sfa_flutter_quick_start/pubspec.lock @@ -252,10 +252,10 @@ packages: dependency: "direct main" description: name: single_factor_auth_flutter - sha256: d4297283248657dc00ee55e57ba22ecc4871881d784be78ea25c07ce66618883 + sha256: "15f3076a4cc3b43b503326245758f0dfdfd1de35c98335e5a494d6e27af719a0" url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "5.1.0" sky_engine: dependency: transitive description: flutter diff --git a/single-factor-auth-flutter/sfa_flutter_quick_start/pubspec.yaml b/single-factor-auth-flutter/sfa_flutter_quick_start/pubspec.yaml index 07a38dee..8759c5b6 100644 --- a/single-factor-auth-flutter/sfa_flutter_quick_start/pubspec.yaml +++ b/single-factor-auth-flutter/sfa_flutter_quick_start/pubspec.yaml @@ -19,7 +19,7 @@ dependencies: firebase_core: ^2.24.2 provider: ^6.1.1 # // IMP START - Installation - single_factor_auth_flutter: ^5.0.0 + single_factor_auth_flutter: ^5.1.0 get_it: ^7.6.7 # // IMP END - Installation diff --git a/single-factor-auth-flutter/sfa_flutter_solana/lib/core/web3auth_sfa.dart b/single-factor-auth-flutter/sfa_flutter_solana/lib/core/web3auth_sfa.dart index 0b40b613..6d7ceedd 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/lib/core/web3auth_sfa.dart +++ b/single-factor-auth-flutter/sfa_flutter_solana/lib/core/web3auth_sfa.dart @@ -13,10 +13,9 @@ class Web3AuthSFA { Future init() async { await singleFactAuthFlutter.init( SFAParams( - network: Web3AuthNetwork.mainnet, + network: Web3AuthNetwork.sapphire_mainnet, clientId: - "BJRZ6qdDTbj6Vd5YXvV994TYCqY42-PxldCetmvGTUdoq6pkCqdpuC1DIehz76zuYdaq1RJkXGHuDraHRhCQHvA", - sessionTime: 40 + "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ", ), ); } @@ -38,10 +37,9 @@ class Web3AuthSFA { final SFAKey torusKey = await singleFactAuthFlutter.connect( LoginParams( - verifier: 'w3a-sfa-flutter-google', + verifier: 'w3a-firebase-demo', verifierId: user.uid, idToken: token!, - aggregateVerifier: token ), ); diff --git a/single-factor-auth-flutter/sfa_flutter_solana/pubspec.lock b/single-factor-auth-flutter/sfa_flutter_solana/pubspec.lock index 311592cc..4eeb24af 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/pubspec.lock +++ b/single-factor-auth-flutter/sfa_flutter_solana/pubspec.lock @@ -404,10 +404,10 @@ packages: dependency: "direct main" description: name: single_factor_auth_flutter - sha256: d4297283248657dc00ee55e57ba22ecc4871881d784be78ea25c07ce66618883 + sha256: "15f3076a4cc3b43b503326245758f0dfdfd1de35c98335e5a494d6e27af719a0" url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "5.1.0" sky_engine: dependency: transitive description: flutter diff --git a/single-factor-auth-flutter/sfa_flutter_solana/pubspec.yaml b/single-factor-auth-flutter/sfa_flutter_solana/pubspec.yaml index 5deee5a8..d92ceb34 100644 --- a/single-factor-auth-flutter/sfa_flutter_solana/pubspec.yaml +++ b/single-factor-auth-flutter/sfa_flutter_solana/pubspec.yaml @@ -36,7 +36,7 @@ dependencies: # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 get_it: ^7.6.7 - single_factor_auth_flutter: ^5.0.0 + single_factor_auth_flutter: ^5.1.0 firebase_auth: ^5.3.0 firebase_core: ^3.5.0 google_sign_in: ^6.2.1