From 70cde3826cef7a27a7860695578da660642d650d Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Tue, 23 Dec 2025 16:17:41 -0800 Subject: [PATCH] fix(dropbox): access type param pass through to get refresh token --- apps/sim/lib/auth/auth.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/sim/lib/auth/auth.ts b/apps/sim/lib/auth/auth.ts index 30796dbdcd..30b6f4ef9f 100644 --- a/apps/sim/lib/auth/auth.ts +++ b/apps/sim/lib/auth/auth.ts @@ -1437,6 +1437,9 @@ export const auth = betterAuth({ pkce: true, accessType: 'offline', prompt: 'consent', + authorizationUrlParams: { + token_access_type: 'offline', + }, getUserInfo: async (tokens) => { try { const response = await fetch(