[codex] support scope fields in OAuth URLs
loading diff…
scope_config.scope_fields operational in Apollo OAuth URL generation.scope_fields, Apollo sends the effective selected scopes to those configured authorization URL query params instead of always using scope.param_name: "user_scope" through the existing user-scope resolver.optional_scope auth URL field with scope=oauth supplied by the base authorization URL.Provider-specific scope URL semantics should live in toolkit config, not Apollo toolkit-slug branches. This lets HubSpot declare scope=oauth in authorization_url and send selected Composio scopes via scope_config.scope_fields -> optional_scope.
git diff --check passed locally for Hermes.node_modules were missing (vitest: not found).optional_scopes URL templating and declares optional_scope via scope_config.scope_fields.oauth as Required and all other supported permissions as Optional.Linear: SUP-357 https://linear.app/composio/issue/SUP-357/3-hubspot-own-app-cred-expiry-opaque-callback