diff --git a/packages/sdk-js/src/index.ts b/packages/sdk-js/src/index.ts index e1414c436c..207f512218 100644 --- a/packages/sdk-js/src/index.ts +++ b/packages/sdk-js/src/index.ts @@ -33,7 +33,8 @@ class DirectusSDK { storage: options?.auth?.storage !== undefined ? options.auth.storage : new MemoryStore(), mode: options?.auth?.mode !== undefined ? options.auth.mode : 'cookie', - autoRefresh: options?.auth?.autoRefresh !== undefined ? options.auth.autoRefresh : true, + autoRefresh: + options?.auth?.autoRefresh !== undefined ? options.auth.autoRefresh : false, }; }