diff --git a/all-in-one/README.md b/all-in-one/README.md index 541d4387..fdca3180 100644 --- a/all-in-one/README.md +++ b/all-in-one/README.md @@ -206,7 +206,7 @@ A Helm chart for the deployment of WSO2 API Manager all-in-one distribution. | wso2.apim.configurations.oauth_config.enableTokenEncryption | bool | `false` | Enable token encryption | | wso2.apim.configurations.oauth_config.enableTokenHashing | bool | `false` | Enable token hashing | | wso2.apim.configurations.oauth_config.oauth2JWKSUrl | string | `""` | | -| wso2.apim.configurations.oauth_config.removeOutboundAuthHeader | bool | `true` | Remove auth header from outgoing requests | +| wso2.apim.configurations.oauth_config.enableOutboundAuthHeader | bool | `false` | Send oauth header to the backend as received from the client | | wso2.apim.configurations.oauth_config.revokeEndpoint | string | `""` | OAuth revoke endpoint | | wso2.apim.configurations.organization_based_access_control.enabled | bool | `true` | | | wso2.apim.configurations.organization_based_access_control.organization_id_local_claim | string | `"http://wso2.org/claims/organizationId"` | | diff --git a/all-in-one/confs/instance-1/deployment.toml b/all-in-one/confs/instance-1/deployment.toml index cb7ab67f..189dbe33 100644 --- a/all-in-one/confs/instance-1/deployment.toml +++ b/all-in-one/confs/instance-1/deployment.toml @@ -315,7 +315,7 @@ claims_extractor_impl = {{ .Values.wso2.apim.configurations.jwt.claimsExtractorI {{- end }} [apim.oauth_config] -remove_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.removeOutboundAuthHeader }} +enable_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.enableOutboundAuthHeader }} auth_header = {{ .Values.wso2.apim.configurations.oauth_config.authHeader | quote }} revoke_endpoint = {{ .Values.wso2.apim.configurations.oauth_config.revokeEndpoint | quote }} enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }} diff --git a/all-in-one/confs/instance-2/deployment.toml b/all-in-one/confs/instance-2/deployment.toml index 0a752e89..473ddac3 100644 --- a/all-in-one/confs/instance-2/deployment.toml +++ b/all-in-one/confs/instance-2/deployment.toml @@ -315,7 +315,7 @@ claims_extractor_impl = {{ .Values.wso2.apim.configurations.jwt.claimsExtractorI {{- end }} [apim.oauth_config] -remove_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.removeOutboundAuthHeader }} +enable_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.enableOutboundAuthHeader }} auth_header = {{ .Values.wso2.apim.configurations.oauth_config.authHeader | quote }} revoke_endpoint = {{ .Values.wso2.apim.configurations.oauth_config.revokeEndpoint | quote }} enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }} diff --git a/all-in-one/default_openshift_values.yaml b/all-in-one/default_openshift_values.yaml index bf12755e..28355f32 100644 --- a/all-in-one/default_openshift_values.yaml +++ b/all-in-one/default_openshift_values.yaml @@ -415,8 +415,8 @@ wso2: # APIM OAuth configurations oauth_config: - # -- Remove auth header from outgoing requests - removeOutboundAuthHeader: true + # -- Enable outbound auth header in outgoing requests + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- OAuth revoke endpoint diff --git a/all-in-one/default_values.yaml b/all-in-one/default_values.yaml index 5e5495dc..187f7f40 100644 --- a/all-in-one/default_values.yaml +++ b/all-in-one/default_values.yaml @@ -460,8 +460,8 @@ wso2: # APIM OAuth configurations oauth_config: - # -- Remove auth header from outgoing requests - removeOutboundAuthHeader: true + # -- Enable outbound auth header in outgoing requests + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- OAuth revoke endpoint diff --git a/all-in-one/values.yaml b/all-in-one/values.yaml index c3b1e84a..44ab46e4 100644 --- a/all-in-one/values.yaml +++ b/all-in-one/values.yaml @@ -531,8 +531,8 @@ wso2: # APIM OAuth configurations oauth_config: - # -- Remove auth header from outgoing requests - removeOutboundAuthHeader: true + # -- Enable outbound auth header in outgoing requests + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- OAuth revoke endpoint diff --git a/distributed/gateway/README.md b/distributed/gateway/README.md index 9f86a317..a22b799a 100644 --- a/distributed/gateway/README.md +++ b/distributed/gateway/README.md @@ -132,7 +132,7 @@ A Helm chart for the deployment of WSO2 API Management Universal Gateway profile | wso2.apim.configurations.oauth_config.authHeader | string | `"Authorization"` | OAuth authorization header name | | wso2.apim.configurations.oauth_config.enableTokenEncryption | bool | `false` | Enable token encryption | | wso2.apim.configurations.oauth_config.enableTokenHashing | bool | `false` | Enable token hashing | -| wso2.apim.configurations.oauth_config.removeOutboundAuthHeader | bool | `true` | Remove oauth header from outgoing requests | +| wso2.apim.configurations.oauth_config.enableOutboundAuthHeader | bool | `false` | Send oauth header to the backend as received from the client | | wso2.apim.configurations.openTelemetry.enabled | bool | `false` | Open Telemetry enabled | | wso2.apim.configurations.openTelemetry.hostname | string | `""` | Remote tracer hostname | | wso2.apim.configurations.openTelemetry.name | string | `""` | Remote tracer name. e.g. jaeger, zipkin, OTLP | diff --git a/distributed/gateway/confs/deployment.toml b/distributed/gateway/confs/deployment.toml index ca3b76f3..426407e2 100644 --- a/distributed/gateway/confs/deployment.toml +++ b/distributed/gateway/confs/deployment.toml @@ -237,7 +237,7 @@ enable = {{ .Values.wso2.apim.configurations.cache.jwt_claim.enabled }} expiry_time = {{ .Values.wso2.apim.configurations.cache.jwt_claim.expiryTime }} [apim.oauth_config] -remove_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.removeOutboundAuthHeader }} +enable_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.enableOutboundAuthHeader }} auth_header = {{ .Values.wso2.apim.configurations.oauth_config.authHeader | quote }} enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }} enable_token_hashing = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenHashing }} diff --git a/distributed/gateway/values.yaml b/distributed/gateway/values.yaml index a3471034..f24344b7 100644 --- a/distributed/gateway/values.yaml +++ b/distributed/gateway/values.yaml @@ -437,7 +437,7 @@ wso2: # APIM OAuth configurations oauth_config: # -- Remove oauth header from outgoing requests - removeOutboundAuthHeader: true + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- Enable token encryption diff --git a/docs/am-pattern-0-all-in-one/default_values.yaml b/docs/am-pattern-0-all-in-one/default_values.yaml index 7724f7e4..0b528760 100644 --- a/docs/am-pattern-0-all-in-one/default_values.yaml +++ b/docs/am-pattern-0-all-in-one/default_values.yaml @@ -402,8 +402,8 @@ wso2: # APIM OAuth configurations oauth_config: - # -- Remove auth header from outgoing requests - removeOutboundAuthHeader: true + # -- Enable outbound auth header in outgoing requests + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- OAuth revoke endpoint diff --git a/docs/am-pattern-1-all-in-one-HA/default_values.yaml b/docs/am-pattern-1-all-in-one-HA/default_values.yaml index 89a52bc9..25c48a7c 100644 --- a/docs/am-pattern-1-all-in-one-HA/default_values.yaml +++ b/docs/am-pattern-1-all-in-one-HA/default_values.yaml @@ -416,8 +416,8 @@ wso2: # APIM OAuth configurations oauth_config: - # -- Remove auth header from outgoing requests - removeOutboundAuthHeader: true + # -- Enable outbound auth header in outgoing requests + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- OAuth revoke endpoint diff --git a/docs/am-pattern-2-all-in-one_GW/default_gw_values.yaml b/docs/am-pattern-2-all-in-one_GW/default_gw_values.yaml index 3a536190..9ecd6cad 100644 --- a/docs/am-pattern-2-all-in-one_GW/default_gw_values.yaml +++ b/docs/am-pattern-2-all-in-one_GW/default_gw_values.yaml @@ -318,7 +318,7 @@ wso2: # APIM OAuth configurations oauth_config: # -- Remove oauth header from outgoing requests - removeOutboundAuthHeader: true + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- Enable token encryption diff --git a/docs/am-pattern-2-all-in-one_GW/default_values.yaml b/docs/am-pattern-2-all-in-one_GW/default_values.yaml index 21a4f8a6..f8685f11 100644 --- a/docs/am-pattern-2-all-in-one_GW/default_values.yaml +++ b/docs/am-pattern-2-all-in-one_GW/default_values.yaml @@ -394,8 +394,8 @@ wso2: # APIM OAuth configurations oauth_config: - # -- Remove auth header from outgoing requests - removeOutboundAuthHeader: true + # -- Enable outbound auth header in outgoing requests + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- OAuth revoke endpoint diff --git a/docs/am-pattern-3-ACP_TM_GW/default_gw_values.yaml b/docs/am-pattern-3-ACP_TM_GW/default_gw_values.yaml index ce911844..2af0460b 100644 --- a/docs/am-pattern-3-ACP_TM_GW/default_gw_values.yaml +++ b/docs/am-pattern-3-ACP_TM_GW/default_gw_values.yaml @@ -320,7 +320,7 @@ wso2: # APIM OAuth configurations oauth_config: # -- Remove oauth header from outgoing requests - removeOutboundAuthHeader: true + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- Enable token encryption diff --git a/docs/am-pattern-4-ACP_TM_GW_KM/default_gw_values.yaml b/docs/am-pattern-4-ACP_TM_GW_KM/default_gw_values.yaml index caee0ebb..e8f0ae7f 100644 --- a/docs/am-pattern-4-ACP_TM_GW_KM/default_gw_values.yaml +++ b/docs/am-pattern-4-ACP_TM_GW_KM/default_gw_values.yaml @@ -320,7 +320,7 @@ wso2: # APIM OAuth configurations oauth_config: # -- Remove oauth header from outgoing requests - removeOutboundAuthHeader: true + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- Enable token encryption diff --git a/docs/am-pattern-5-all-in-one_GW_KM/default_gw_values.yaml b/docs/am-pattern-5-all-in-one_GW_KM/default_gw_values.yaml index 17d923ee..4719af63 100644 --- a/docs/am-pattern-5-all-in-one_GW_KM/default_gw_values.yaml +++ b/docs/am-pattern-5-all-in-one_GW_KM/default_gw_values.yaml @@ -318,7 +318,7 @@ wso2: # APIM OAuth configurations oauth_config: # -- Remove oauth header from outgoing requests - removeOutboundAuthHeader: true + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- Enable token encryption diff --git a/docs/am-pattern-5-all-in-one_GW_KM/default_values.yaml b/docs/am-pattern-5-all-in-one_GW_KM/default_values.yaml index bba27faf..22f8c65f 100644 --- a/docs/am-pattern-5-all-in-one_GW_KM/default_values.yaml +++ b/docs/am-pattern-5-all-in-one_GW_KM/default_values.yaml @@ -401,8 +401,8 @@ wso2: # APIM OAuth configurations oauth_config: - # -- Remove auth header from outgoing requests - removeOutboundAuthHeader: true + # -- Enable outbound auth header in outgoing requests + enableOutboundAuthHeader: false # -- OAuth authorization header name authHeader: "Authorization" # -- OAuth revoke endpoint