File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
224224 return FlutterWebAuth2.authenticate(
225225 url: url.toString(),
226226 callbackUrlScheme: "{{spec .title | caseLower }}-callback-" + config['project']!,
227+ options: const FlutterWebAuth2Options(useWebview: false),
227228 );
228229 }
229230}
Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ class ClientIO extends ClientBase with ClientMixin {
325325 : "{{spec .title | caseLower }}-callback-" + config['project']!,
326326 options: const FlutterWebAuth2Options(
327327 intentFlags: ephemeralIntentFlags,
328+ useWebview: false,
328329 ),
329330 ).then((value) async {
330331 Uri url = Uri.parse(value);
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ dependencies:
2020 sdk: flutter
2121 cookie_jar: ^4.0.8
2222 device_info_plus: ^10.1.2
23- flutter_web_auth_2: ^3 .1.2
23+ flutter_web_auth_2: ^4 .1.0
2424 http: ' >=0.13.6 <2 .0.0'
2525 package_info_plus: ^8.0.2
2626 path_provider: ^2.1.4
You can’t perform that action at this time.
0 commit comments