You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove 'enabled' field from OIDC config - check token_exchange_url at runtime
- Removed 'enabled' boolean field from OIDCConfig struct
- Changed schema to require 'token_exchange_url' instead of 'enabled'
- Updated HasOIDCConfig to check for presence of token_exchange_url
- Updated all engine GetOIDCConfig methods to check token_exchange_url
- Updated tests to remove enabled field checks
- OIDC is now implicitly enabled when token_exchange_url is present
Co-authored-by: pelikhan <[email protected]>
Copy file name to clipboardExpand all lines: pkg/parser/schemas/main_workflow_schema.json
+3-7Lines changed: 3 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2977,19 +2977,15 @@
2977
2977
},
2978
2978
"oidc": {
2979
2979
"type": "object",
2980
-
"description": "OpenID Connect authentication configuration for agentic engines. When enabled, the workflow will use OIDC to obtain tokens with PAT fallback support.",
2980
+
"description": "OpenID Connect authentication configuration for agentic engines. When configured, the workflow will use OIDC to obtain tokens with PAT fallback support.",
2981
2981
"properties": {
2982
-
"enabled": {
2983
-
"type": "boolean",
2984
-
"description": "Enable OIDC authentication for this engine"
2985
-
},
2986
2982
"audience": {
2987
2983
"type": "string",
2988
2984
"description": "OIDC audience identifier (e.g., 'claude-code-github-action'). Defaults to engine-specific audience if not specified."
2989
2985
},
2990
2986
"token_exchange_url": {
2991
2987
"type": "string",
2992
-
"description": "URL endpoint to exchange OIDC token for an app token (required when OIDC is enabled)"
2988
+
"description": "URL endpoint to exchange OIDC token for an app token (required for OIDC authentication)"
2993
2989
},
2994
2990
"token_revoke_url": {
2995
2991
"type": "string",
@@ -3004,7 +3000,7 @@
3004
3000
"description": "Fallback environment variable to use if OIDC token acquisition fails. Typically references a secret (e.g., ${{ secrets.ANTHROPIC_API_KEY }})"
0 commit comments