diff --git a/sim/lib/auth.ts b/sim/lib/auth.ts index cbd3eefc0..d7f98eb7c 100644 --- a/sim/lib/auth.ts +++ b/sim/lib/auth.ts @@ -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',