oidc, login , launch url with external application

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-06-12 21:25:59 +08:00
parent 62d4e27e3a
commit b27ae877d3

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) {