diff --git a/apps/sim/lib/auth/auth.ts b/apps/sim/lib/auth/auth.ts index 30796dbdc..30b6f4ef9 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(