From b27ae877d3821b59e5afe637dc95e6d83e5c8aed Mon Sep 17 00:00:00 2001 From: fufesou Date: Mon, 12 Jun 2023 21:25:59 +0800 Subject: [PATCH] oidc, login , launch url with external application Signed-off-by: fufesou --- flutter/lib/common/widgets/login.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/common/widgets/login.dart b/flutter/lib/common/widgets/login.dart index 210be1365..d083f6b81 100644 --- a/flutter/lib/common/widgets/login.dart +++ b/flutter/lib/common/widgets/login.dart @@ -147,7 +147,7 @@ class _WidgetOPState extends State { final authBody = resultMap['auth_body']; if (_stateMsg != stateMsg || _failedMsg != failedMsg) { if (_url.isEmpty && url != null && url.isNotEmpty) { - launchUrl(Uri.parse(url)); + launchUrl(Uri.parse(url), mode: LaunchMode.externalApplication); _url = url; } if (authBody != null) {