From 2248b0f3b2ee82c522b34537dfe4538f7a814da8 Mon Sep 17 00:00:00 2001 From: Tommy Chow Date: Tue, 28 Dec 2021 23:00:21 -0500 Subject: [PATCH] Disable ephemeral login --- lib/core/auth/auth_store.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/auth/auth_store.dart b/lib/core/auth/auth_store.dart index 95e16345..335a7fbb 100644 --- a/lib/core/auth/auth_store.dart +++ b/lib/core/auth/auth_store.dart @@ -85,7 +85,7 @@ abstract class _AuthBase with Store { try { // Retrieve the OAuth redirect URI. - final result = await FlutterWebAuth.authenticate(url: loginUrl.toString(), callbackUrlScheme: 'auth', preferEphemeral: true); + final result = await FlutterWebAuth.authenticate(url: loginUrl.toString(), callbackUrlScheme: 'auth'); // Parse the user token from the redirect URI fragment. final fragment = Uri.parse(result).fragment;