fix(oauth): fixed airtable oauth

This commit is contained in:
Waleed Latif
2025-04-05 00:04:24 -07:00
parent 4066707f41
commit c5010aaeed
3 changed files with 22 additions and 6 deletions

View File

@@ -425,6 +425,7 @@ export const auth = betterAuth({
responseType: 'code',
pkce: true,
accessType: 'offline',
authentication: 'basic',
prompt: 'consent',
redirectURI: `${process.env.NEXT_PUBLIC_APP_URL}/api/auth/oauth2/callback/airtable`,
},

25
sim/package-lock.json generated
View File

@@ -36,7 +36,7 @@
"@radix-ui/react-tooltip": "^1.1.6",
"@react-email/components": "^0.0.34",
"@vercel/og": "^0.6.5",
"better-auth": "^1.2.6-beta.5",
"better-auth": "^1.2.5-beta.5",
"browser-image-compression": "^2.0.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
@@ -5456,12 +5456,12 @@
}
},
"node_modules/better-auth": {
"version": "1.2.6-beta.5",
"resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.2.6-beta.5.tgz",
"integrity": "sha512-TFQ6JOGqpOU+GEHdvMc5ioSk6RIaEoGTQ9uozvaNPSOTwurIQOnsIiS0FcCZcZLzzrR+Rw8e2rxUghYeQVC9ng==",
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.2.5.tgz",
"integrity": "sha512-Tz2aKImkvaT7P9qHQ67Vhw/Slo6zpvE0jG7GoDQM+dd5tWuC3lP0OGjjWkNCZdToVlWB193i5nSHeZT90sFqEw==",
"dependencies": {
"@better-auth/utils": "0.2.4",
"@better-fetch/fetch": "^1.1.18",
"@better-fetch/fetch": "^1.1.17",
"@noble/ciphers": "^0.6.0",
"@noble/hashes": "^1.6.1",
"@simplewebauthn/browser": "^13.0.0",
@@ -5471,6 +5471,7 @@
"jose": "^5.9.6",
"kysely": "^0.27.6",
"nanostores": "^0.11.3",
"valibot": "1.0.0-beta.15",
"zod": "^3.24.1"
}
},
@@ -12138,6 +12139,20 @@
"optional": true,
"peer": true
},
"node_modules/valibot": {
"version": "1.0.0-beta.15",
"resolved": "https://registry.npmjs.org/valibot/-/valibot-1.0.0-beta.15.tgz",
"integrity": "sha512-BKy8XosZkDHWmYC+cJG74LBzP++Gfntwi33pP3D3RKztz2XV9jmFWnkOi21GoqARP8wAWARwhV6eTr1JcWzjGw==",
"license": "MIT",
"peerDependencies": {
"typescript": ">=5"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
},
"node_modules/vary": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",

View File

@@ -50,7 +50,7 @@
"@radix-ui/react-tooltip": "^1.1.6",
"@react-email/components": "^0.0.34",
"@vercel/og": "^0.6.5",
"better-auth": "^1.2.6-beta.5",
"better-auth": "^1.2.5-beta.5",
"browser-image-compression": "^2.0.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",