diff --git a/pubspec.yaml b/pubspec.yaml index 6ab7c88b5..b93798740 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -47,7 +47,7 @@ dependencies: flutter_ringtone_player: ^4.0.0+2 flutter_secure_storage: ^9.0.0 flutter_typeahead: ^4.8.0 - flutter_web_auth_2: ^3.0.3 + flutter_web_auth_2: ^3.0.4 flutter_webrtc: ^0.9.46 future_loading_dialog: ^0.3.0 geolocator: ^7.6.2 diff --git a/web/auth.html b/web/auth.html index f1d2fc0bc..806485b73 100644 --- a/web/auth.html +++ b/web/auth.html @@ -1,14 +1,13 @@ - - Authentication complete - - -

Authentication is complete. If this does not happen automatically, please - close the window. - - + } else { + localStorage.setItem('flutter-web-auth-2', window.location.href); + } + window.close(); + \ No newline at end of file