build: Switch back to stable web auth package
This commit is contained in:
parent
a2c88af69b
commit
5ed33122b8
8 changed files with 28 additions and 16 deletions
|
|
@ -145,7 +145,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
|||
final result = await FlutterWebAuth2.authenticate(
|
||||
url: url.toString(),
|
||||
callbackUrlScheme: urlScheme,
|
||||
options: const FlutterWebAuth2Options(),
|
||||
options: FlutterWebAuth2Options(useWebview: PlatformInfos.isMobile),
|
||||
);
|
||||
final token = Uri.parse(result).queryParameters['loginToken'];
|
||||
if (token?.isEmpty ?? false) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue