Skip to content

Commit dc4e5d3

Browse files
fix(dropbox): access type param pass through to get refresh token (#2564)
1 parent 31de55c commit dc4e5d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/sim/lib/auth/auth.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,6 +1437,9 @@ export const auth = betterAuth({
14371437
pkce: true,
14381438
accessType: 'offline',
14391439
prompt: 'consent',
1440+
authorizationUrlParams: {
1441+
token_access_type: 'offline',
1442+
},
14401443
getUserInfo: async (tokens) => {
14411444
try {
14421445
const response = await fetch(

0 commit comments

Comments
 (0)