Merge pull request #4629 from fufesou/refact/oidc_login_external_app

oidc, login , launch url with external application
This commit is contained in:
RustDesk 2023-06-12 21:28:32 +08:00 committed by GitHub
commit ed06edb1d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ class _WidgetOPState extends State<WidgetOP> {
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) {