diff --git a/docs/06-concepts/11-authentication/04-providers/02-google/02-configuration.md b/docs/06-concepts/11-authentication/04-providers/02-google/02-configuration.md index 2b88189b..c72ed93d 100644 --- a/docs/06-concepts/11-authentication/04-providers/02-google/02-configuration.md +++ b/docs/06-concepts/11-authentication/04-providers/02-google/02-configuration.md @@ -103,12 +103,12 @@ final googleIdpConfig = GoogleIdpConfigFromPasswords( ### Lightweight Sign-In on the Flutter app -Lightweight sign-in is a feature that attempts to authenticate users previously logged in with Google automatically with minimal or no user interaction. When enabled, the Google authentication controller will try to sign in users seamlessly using platform-specific lightweight authentication methods. This feature is enabled by default, but can be disabled from the `GoogleSignInWidget` or `GoogleAuthController`. +Lightweight sign-in is a feature that attempts to authenticate users previously logged in with Google automatically with minimal or no user interaction. When enabled, the Google authentication controller will try to sign in users seamlessly using platform-specific lightweight authentication methods. This feature is disabled by default, but can be enabled from the `GoogleSignInWidget` or `GoogleAuthController`. ```dart GoogleSignInWidget( client: client, - attemptLightweightSignIn: false, // Disable lightweight sign-in + attemptLightweightSignIn: true, // Enable lightweight sign-in onAuthenticated: () { // User was automatically signed in }, diff --git a/docs/06-concepts/11-authentication/04-providers/02-google/03-customizing-the-ui.md b/docs/06-concepts/11-authentication/04-providers/02-google/03-customizing-the-ui.md index a1901960..d7d060e2 100644 --- a/docs/06-concepts/11-authentication/04-providers/02-google/03-customizing-the-ui.md +++ b/docs/06-concepts/11-authentication/04-providers/02-google/03-customizing-the-ui.md @@ -43,7 +43,7 @@ GoogleSignInWidget( ], // Whether to attempt lightweight sign-in (One Tap, FedCM) - attemptLightweightSignIn: true, + attemptLightweightSignIn: false, onAuthenticated: () { // Do something when the user is authenticated. @@ -75,7 +75,7 @@ final controller = GoogleAuthController( onError: (error) { // Handle errors }, - attemptLightweightSignIn: true, + attemptLightweightSignIn: false, scopes: const [ 'https://www.googleapis.com/auth/userinfo.email', 'https://www.googleapis.com/auth/userinfo.profile', diff --git a/versioned_docs/version-3.2.0/06-concepts/11-authentication/04-providers/02-google/02-configuration.md b/versioned_docs/version-3.2.0/06-concepts/11-authentication/04-providers/02-google/02-configuration.md index 2b88189b..c72ed93d 100644 --- a/versioned_docs/version-3.2.0/06-concepts/11-authentication/04-providers/02-google/02-configuration.md +++ b/versioned_docs/version-3.2.0/06-concepts/11-authentication/04-providers/02-google/02-configuration.md @@ -103,12 +103,12 @@ final googleIdpConfig = GoogleIdpConfigFromPasswords( ### Lightweight Sign-In on the Flutter app -Lightweight sign-in is a feature that attempts to authenticate users previously logged in with Google automatically with minimal or no user interaction. When enabled, the Google authentication controller will try to sign in users seamlessly using platform-specific lightweight authentication methods. This feature is enabled by default, but can be disabled from the `GoogleSignInWidget` or `GoogleAuthController`. +Lightweight sign-in is a feature that attempts to authenticate users previously logged in with Google automatically with minimal or no user interaction. When enabled, the Google authentication controller will try to sign in users seamlessly using platform-specific lightweight authentication methods. This feature is disabled by default, but can be enabled from the `GoogleSignInWidget` or `GoogleAuthController`. ```dart GoogleSignInWidget( client: client, - attemptLightweightSignIn: false, // Disable lightweight sign-in + attemptLightweightSignIn: true, // Enable lightweight sign-in onAuthenticated: () { // User was automatically signed in }, diff --git a/versioned_docs/version-3.2.0/06-concepts/11-authentication/04-providers/02-google/03-customizing-the-ui.md b/versioned_docs/version-3.2.0/06-concepts/11-authentication/04-providers/02-google/03-customizing-the-ui.md index a1901960..d7d060e2 100644 --- a/versioned_docs/version-3.2.0/06-concepts/11-authentication/04-providers/02-google/03-customizing-the-ui.md +++ b/versioned_docs/version-3.2.0/06-concepts/11-authentication/04-providers/02-google/03-customizing-the-ui.md @@ -43,7 +43,7 @@ GoogleSignInWidget( ], // Whether to attempt lightweight sign-in (One Tap, FedCM) - attemptLightweightSignIn: true, + attemptLightweightSignIn: false, onAuthenticated: () { // Do something when the user is authenticated. @@ -75,7 +75,7 @@ final controller = GoogleAuthController( onError: (error) { // Handle errors }, - attemptLightweightSignIn: true, + attemptLightweightSignIn: false, scopes: const [ 'https://www.googleapis.com/auth/userinfo.email', 'https://www.googleapis.com/auth/userinfo.profile',