NetSuite authorization

A refresh token is already cached — fetching will renew access automatically. Re-authorize below only if it has expired (~7 days idle).

  1. Authorize in NetSuite — log in and approve rest_webservices.
  2. You land on https://dev.oral.science/ns_auth.php. If that page does not capture the code, copy the code= value out of the browser URL bar (a 404 there is fine — the code is still in the URL) and paste it here:

Redirect URI must match the Integration record exactly, or NetSuite rejects the exchange.