diff --git a/services/ui-src/src/utils/api/apiLib.ts b/services/ui-src/src/utils/api/apiLib.ts index ebcfc7e2f..066f866e5 100644 --- a/services/ui-src/src/utils/api/apiLib.ts +++ b/services/ui-src/src/utils/api/apiLib.ts @@ -40,7 +40,7 @@ export async function getRequestHeaders(): Promise { } export async function getTokens(): Promise { - return (await fetchAuthSession()).tokens; + return (await fetchAuthSession({ forceRefresh: true })).tokens; } export async function authenticateWithIDM(): Promise {