Skip to content

Commit 3292558

Browse files
Merge pull request #622 from appwrite/fix-flutter-oauth-browser-history
2 parents 3d11808 + 7ad0c54 commit 3292558

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/flutter/lib/src/client_io.dart.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ class ClientIO extends ClientBase with ClientMixin {
310310
return FlutterWebAuth2.authenticate(
311311
url: url.toString(),
312312
callbackUrlScheme: callbackUrlScheme != null && Platform.isWindows ? callbackUrlScheme : "appwrite-callback-" + config['project']!,
313+
preferEphemeral: true,
313314
).then((value) async {
314315
Uri url = Uri.parse(value);
315316
final key = url.queryParameters['key'];

0 commit comments

Comments
 (0)