Skip to content

Commit c90c3f2

Browse files
committed
fix(auth): replace stale wealthbox userInfoUrl placeholder with actual endpoint
The dummy URL comment was rendered obsolete when getUserInfo was updated to fetch from api.crmworkspace.com/v1/me. Align userInfoUrl with the real endpoint used in the getUserInfo implementation.
1 parent b2e9f57 commit c90c3f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/lib/auth/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,7 @@ export const auth = betterAuth({
16121612
clientSecret: env.WEALTHBOX_CLIENT_SECRET as string,
16131613
authorizationUrl: 'https://app.crmworkspace.com/oauth/authorize',
16141614
tokenUrl: 'https://app.crmworkspace.com/oauth/token',
1615-
userInfoUrl: 'https://dummy-not-used.wealthbox.com', // Dummy URL since no user info endpoint exists
1615+
userInfoUrl: 'https://api.crmworkspace.com/v1/me',
16161616
scopes: getCanonicalScopesForProvider('wealthbox'),
16171617
responseType: 'code',
16181618
redirectURI: `${getBaseUrl()}/api/auth/oauth2/callback/wealthbox`,

0 commit comments

Comments
 (0)