Disable ephemeral login

This commit is contained in:
Tommy Chow 2021-12-28 23:00:21 -05:00
parent e66c4c7067
commit 2248b0f3b2

View file

@ -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;