fix(airtable): fixed airtable oauth

This commit is contained in:
Waleed Latif
2025-04-04 20:20:13 -07:00
parent aa97b4bd9f
commit 37c4e5e0a2

View File

@@ -418,8 +418,8 @@ export const auth = betterAuth({
providerId: 'airtable',
clientId: process.env.AIRTABLE_CLIENT_ID as string,
clientSecret: process.env.AIRTABLE_CLIENT_SECRET as string,
authorizationUrl: 'https://airtable.com/oauth/authorize',
tokenUrl: 'https://airtable.com/oauth/token',
authorizationUrl: 'https://airtable.com/oauth2/v1/authorize',
tokenUrl: 'https://airtable.com/oauth2/v1/token',
userInfoUrl: 'https://api.airtable.com/v0/meta/whoami',
scopes: ['data.records:read', 'data.records:write'],
responseType: 'code',