From 06dd1aaf7f14693a8ca8b1f93cac6230883347f2 Mon Sep 17 00:00:00 2001 From: Garrett Rabian <57802560+gmrabian@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:24:28 -0500 Subject: [PATCH] Amplify debugging: Remove force refresh flag (#139853) --- services/ui-src/src/hooks/authHooks/authLifecycle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/ui-src/src/hooks/authHooks/authLifecycle.js b/services/ui-src/src/hooks/authHooks/authLifecycle.js index 348dbf335..9ebf0d55d 100644 --- a/services/ui-src/src/hooks/authHooks/authLifecycle.js +++ b/services/ui-src/src/hooks/authHooks/authLifecycle.js @@ -57,7 +57,7 @@ class AuthManager { * Manual refresh of credentials paired with an instant timer clear */ async refreshCredentials() { - await fetchAuthSession({ forceRefresh: true }); // Force a token refresh + await fetchAuthSession(); // Look for an active session (indirectly refreshes?) this.setTimer(); }