Load and resolve an SSO profile from the config file.
Non-default profiles inherit unset keys from [default].
All profiles fall back to built-in defaults and environment variable overrides.
Node.js only — this function uses node:fs and node:path internally
and will throw in browser/edge-worker runtimes.
Parameters
configDir: string
Resolved config directory path.
profileName: string
Profile name to look up ("default" or a named profile).
Load and resolve an SSO profile from the config file. Non-default profiles inherit unset keys from
[default]. All profiles fall back to built-in defaults and environment variable overrides.Node.js only — this function uses
node:fsandnode:pathinternally and will throw in browser/edge-worker runtimes.