chore(mobile): upgrade flutter_web_auth_2 (#16741)

* chore(mobile): upgrade flutter_web_auth_2

* pod file
This commit is contained in:
Alex 2025-03-09 20:26:37 -05:00 committed by GitHub
parent 051431b757
commit 17c5094719
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 39 additions and 15 deletions

View file

@ -1,7 +1,7 @@
import 'package:flutter_web_auth_2/flutter_web_auth_2.dart';
import 'package:immich_mobile/services/api.service.dart';
import 'package:logging/logging.dart';
import 'package:openapi/api.dart';
import 'package:flutter_web_auth/flutter_web_auth.dart';
// Redirect URL = app.immich:///oauth-callback
@ -32,7 +32,7 @@ class OAuthService {
}
Future<LoginResponseDto?> oAuthLogin(String oauthUrl) async {
String result = await FlutterWebAuth.authenticate(
String result = await FlutterWebAuth2.authenticate(
url: oauthUrl,
callbackUrlScheme: callbackUrlScheme,
);