diff --git a/lib/auth.dart b/lib/auth.dart index 081fae2..b31f971 100644 --- a/lib/auth.dart +++ b/lib/auth.dart @@ -109,7 +109,7 @@ class AuthGuard { Future isAuthorized() async { const storage = FlutterSecureStorage(); if (await storage.containsKey(key: storageKey)) { - if (client != null && client!.credentials.isExpired) { + if (client != null) { await refreshToken(); } return true;