Repository navigation
Conversation
- authentication-architecture.md: include openai in the AWF_AUTH_PROVIDER diagram list - authentication-architecture.md: document the GCP audience prefix and OpenAI default audience - AUTH-007 (unresolved): config-file apiProxy.auth.provider enum omits openai Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Two active documentation issues remain: the authentication architecture diagram is misaligned by an overlong provider-list cell, and AUTH-007 inaccurately reverses the canonical-to-generated schema relationship.
2 open issues
What changed in this PR
This pull request updates authentication documentation and the diagnostics registry to reflect OpenAI native WIF support, correct provider-specific OIDC audience defaults, and document the config-file schema gap for OpenAI.
Changes:
- Adds OpenAI to the documented OIDC provider list and corrects GCP and OpenAI audience defaults.
- Adds unresolved diagnostic finding AUTH-007 for config-file validation rejecting the OpenAI provider.
- Updates the diagnostics index and finding documentation.
| File | Description |
|---|---|
| docs/diagnostics/README.md | Adds AUTH-007 to the diagnostics registry and symptom lookup tables. |
| docs/diagnostics/findings/auth/AUTH-007.json | Defines the OpenAI config-file schema validation finding, probe, workaround, and provenance. |
| docs/authentication-architecture.md | Updates the OIDC provider diagram and audience table for OpenAI and GCP. |
Review effort: Lite (adaptive)
| │ ✗ No cloud credentials │ │ ✓ Provider-specific configuration │ | ||
| │ ✗ No API keys │ │ ✓ AWF_AUTH_TYPE=github-oidc │ | ||
| │ ✓ OPENAI_BASE_URL= │ │ ✓ AWF_AUTH_PROVIDER=azure|aws|gcp|anthropic │ | ||
| │ ✓ OPENAI_BASE_URL= │ │ ✓ AWF_AUTH_PROVIDER=azure|aws|gcp|anthropic|openai │ |
There was a problem hiding this comment.
Shortened the provider label to “AWF_AUTH_PROVIDER (see table)”; every row now matches the diagram’s 77-character width. Fixed in b7a280c.
| "fixed": "unknown" | ||
| }, | ||
| "status": "unresolved", | ||
| "rootCause": "The published config schema (src/awf-config-schema.json, mirrored at docs/awf-config.schema.json) enumerates apiProxy.auth.provider as azure, aws, gcp, and anthropic only. validateAwfFileConfig() runs validateWithSchema() before any mapping, so a config file selecting openai is rejected even though the sidecar's cloud-oidc-init provider and the openai-credential-env agent routing accept AWF_AUTH_PROVIDER=openai.", |
There was a problem hiding this comment.
Updated AUTH-007 to identify docs/awf-config.schema.json as canonical and src/awf-config-schema.json as its generated runtime copy, and corrected the regeneration guidance. Fixed in b7a280c.
|
@copilot address review feedback |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit 6b74b3c |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
The review feedback is addressed in
Regenerated the stale diagnosis consumers in |

Caution
Protected files were modified in this change.
This pull request is in
request-reviewmode and requires explicit human scrutiny before merge.Protected files:
README.mdAllow intentional protected-file changes
If this workflow is intended to modify these files, add specific filenames or folder prefixes to
safe-outputs.create-pull-request.protected-files.excludein the workflow Markdown frontmatter. For example, to allow.changeset/*, exclude the folder using.changeset/:Keep your existing policy and exclusions. Folder exclusions use path prefixes, not glob patterns, and allow all files beneath that folder, including subfolders. Other protected files still require review. If
allowed-filesis configured, these paths must also match it. Rungh aw compileafter updating the workflow.Summary
AWF_AUTH_PROVIDERvalue list in the sidecar diagram, and the per-provider OIDC audience table (GCP default prefix, OpenAI default audience).main. fix: isolate Actions OIDC from agent container #6894 is merged (2026-08-03). Ensure HTTP MCP GitHub OIDC bypasses the AWF agent credential boundary gh-aw#50053 is closed as completed via Enforce runner→gateway OIDC path and prevent AWF agent exposure for HTTP MCP auth gh-aw#50054.Documentation Changes
docs/authentication-architecture.md: the diagram'sAWF_AUTH_PROVIDERlist now includesopenai. This matchescloud-oidc-init.jsandopenai-oidc-config.ts.docs/authentication-architecture.md: the OIDC audience table now shows the GCP default as(iam.googleapis.com/redacted) followed by the Workload Identity Provider, which matchesgcp-oidc-token-provider.jsandcloud-oidc-init.js. It also adds an OpenAI row with the(api.openai.com/redacted) default fromopenai-oidc-token-provider.js.Canonical Registry Changes
auth, statusunresolved, versionsunknown): the config-file schema enum forapiProxy.auth.providerlistsazure,aws,gcp,anthropic, and omitsopenai.validateAwfFileConfigruns that schema first, so a config file that selects OpenAI WIF is rejected, while the environment-variable path works. Probe: a read-onlynode -pthat prints only the bundled schema enum. Fix is out of this updater's allowlist and is not claimed here. Provenance: Add OpenAI workload identity federation to the API proxy #11364,src/awf-config-schema.json,src/config-file.ts,containers/api-proxy/providers/cloud-oidc-init.js.docs/diagnostics/README.mdregenerated with the AUTH-007 index rows.npm run diagnostics:validatereports 39 valid findings..github/agents/diagnose-awf.mdand.github/workflows/shared/diagnosis-findings.mdwere not included, per the allowed-files contract.npm run diagnostics:checktherefore reports them stale until trusted CI or a reviewer runsnpm run diagnostics:render. The matching jest sync test fails for the same reason; this is expected.Validation
main:containers/api-proxy/openai-oidc-token-provider.js(audience default),containers/api-proxy/gcp-oidc-token-provider.jsandcloud-oidc-init.js(GCP audience),containers/api-proxy/providers/foundry.js,proxy-utils.js(STRIPPED_HEADERS),src/services/agent-environment/excluded-vars.ts.npx jest scripts/diagnostics scripts/ci/auth-doctor-updater-workflow.test.tsgives 89 passed and 1 failed. The single failure is the generated-artifact sync check described above.npm run diagnostics:freshness: no overdue records.npm run diagnostics:validate: pass.git diff --checkpasses.github_pat_,ghp_, and credential-bearing URL patterns. No matches.Review coverage and backlog
Sources