[codex] Use account-specific NetSuite OAuth authorize URL
loading diff…
Updates the NetSuite OAuth authorization URL to use the account-specific domain collected during connection setup:
https://<accountID>.app.netsuite.com/app/login/oauth2/authorize.nl
The token URL already uses the same account field, so this makes the authorize and token exchange endpoints account-scoped consistently.
INT-1924 reports that NetSuite OAuth fails before consent with:
The request could not be understood by the server due to malformed syntax.
The current config sends users to the generic system.netsuite.com OAuth authorize endpoint. NetSuite expects the account-specific authorize host for this OAuth flow.
bun run auth-config/src/configToJson.ts apps/netsuite/config.ts successfully.authorization_url: https://{{subdomain}}.app.netsuite.com/app/login/oauth2/authorize.nltoken_url: https://{{subdomain}}.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/tokenINT-1924