Skip to content

Commit c68f045

Browse files
committed
Fix wrong oauth outbound auth header configuration property name
1 parent 0dc4d0a commit c68f045

17 files changed

Lines changed: 24 additions & 24 deletions

File tree

all-in-one/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ A Helm chart for the deployment of WSO2 API Manager all-in-one distribution.
206206
| wso2.apim.configurations.oauth_config.enableTokenEncryption | bool | `false` | Enable token encryption |
207207
| wso2.apim.configurations.oauth_config.enableTokenHashing | bool | `false` | Enable token hashing |
208208
| wso2.apim.configurations.oauth_config.oauth2JWKSUrl | string | `""` | |
209-
| wso2.apim.configurations.oauth_config.removeOutboundAuthHeader | bool | `true` | Remove auth header from outgoing requests |
209+
| wso2.apim.configurations.oauth_config.enableOutboundAuthHeader | bool | `false` | Send oauth header to the backend as received from the client |
210210
| wso2.apim.configurations.oauth_config.revokeEndpoint | string | `""` | OAuth revoke endpoint |
211211
| wso2.apim.configurations.organization_based_access_control.enabled | bool | `true` | |
212212
| wso2.apim.configurations.organization_based_access_control.organization_id_local_claim | string | `"http://wso2.org/claims/organizationId"` | |

all-in-one/confs/instance-1/deployment.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ claims_extractor_impl = {{ .Values.wso2.apim.configurations.jwt.claimsExtractorI
315315
{{- end }}
316316

317317
[apim.oauth_config]
318-
remove_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.removeOutboundAuthHeader }}
318+
enable_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.enableOutboundAuthHeader }}
319319
auth_header = {{ .Values.wso2.apim.configurations.oauth_config.authHeader | quote }}
320320
revoke_endpoint = {{ .Values.wso2.apim.configurations.oauth_config.revokeEndpoint | quote }}
321321
enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }}

all-in-one/confs/instance-2/deployment.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ claims_extractor_impl = {{ .Values.wso2.apim.configurations.jwt.claimsExtractorI
315315
{{- end }}
316316

317317
[apim.oauth_config]
318-
remove_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.removeOutboundAuthHeader }}
318+
enable_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.enableOutboundAuthHeader }}
319319
auth_header = {{ .Values.wso2.apim.configurations.oauth_config.authHeader | quote }}
320320
revoke_endpoint = {{ .Values.wso2.apim.configurations.oauth_config.revokeEndpoint | quote }}
321321
enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }}

all-in-one/default_openshift_values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ wso2:
415415

416416
# APIM OAuth configurations
417417
oauth_config:
418-
# -- Remove auth header from outgoing requests
419-
removeOutboundAuthHeader: true
418+
# -- Enable outbound auth header in outgoing requests
419+
enableOutboundAuthHeader: false
420420
# -- OAuth authorization header name
421421
authHeader: "Authorization"
422422
# -- OAuth revoke endpoint

all-in-one/default_values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ wso2:
460460

461461
# APIM OAuth configurations
462462
oauth_config:
463-
# -- Remove auth header from outgoing requests
464-
removeOutboundAuthHeader: true
463+
# -- Enable outbound auth header in outgoing requests
464+
enableOutboundAuthHeader: false
465465
# -- OAuth authorization header name
466466
authHeader: "Authorization"
467467
# -- OAuth revoke endpoint

all-in-one/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ wso2:
531531

532532
# APIM OAuth configurations
533533
oauth_config:
534-
# -- Remove auth header from outgoing requests
535-
removeOutboundAuthHeader: true
534+
# -- Enable outbound auth header in outgoing requests
535+
enableOutboundAuthHeader: false
536536
# -- OAuth authorization header name
537537
authHeader: "Authorization"
538538
# -- OAuth revoke endpoint

distributed/gateway/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ A Helm chart for the deployment of WSO2 API Management Universal Gateway profile
132132
| wso2.apim.configurations.oauth_config.authHeader | string | `"Authorization"` | OAuth authorization header name |
133133
| wso2.apim.configurations.oauth_config.enableTokenEncryption | bool | `false` | Enable token encryption |
134134
| wso2.apim.configurations.oauth_config.enableTokenHashing | bool | `false` | Enable token hashing |
135-
| wso2.apim.configurations.oauth_config.removeOutboundAuthHeader | bool | `true` | Remove oauth header from outgoing requests |
135+
| wso2.apim.configurations.oauth_config.enableOutboundAuthHeader | bool | `false` | Send oauth header to the backend as received from the client |
136136
| wso2.apim.configurations.openTelemetry.enabled | bool | `false` | Open Telemetry enabled |
137137
| wso2.apim.configurations.openTelemetry.hostname | string | `""` | Remote tracer hostname |
138138
| wso2.apim.configurations.openTelemetry.name | string | `""` | Remote tracer name. e.g. jaeger, zipkin, OTLP |

distributed/gateway/confs/deployment.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ enable = {{ .Values.wso2.apim.configurations.cache.jwt_claim.enabled }}
237237
expiry_time = {{ .Values.wso2.apim.configurations.cache.jwt_claim.expiryTime }}
238238

239239
[apim.oauth_config]
240-
remove_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.removeOutboundAuthHeader }}
240+
enable_outbound_auth_header = {{ .Values.wso2.apim.configurations.oauth_config.enableOutboundAuthHeader }}
241241
auth_header = {{ .Values.wso2.apim.configurations.oauth_config.authHeader | quote }}
242242
enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }}
243243
enable_token_hashing = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenHashing }}

distributed/gateway/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ wso2:
437437
# APIM OAuth configurations
438438
oauth_config:
439439
# -- Remove oauth header from outgoing requests
440-
removeOutboundAuthHeader: true
440+
enableOutboundAuthHeader: false
441441
# -- OAuth authorization header name
442442
authHeader: "Authorization"
443443
# -- Enable token encryption

docs/am-pattern-0-all-in-one/default_values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ wso2:
402402

403403
# APIM OAuth configurations
404404
oauth_config:
405-
# -- Remove auth header from outgoing requests
406-
removeOutboundAuthHeader: true
405+
# -- Enable outbound auth header in outgoing requests
406+
enableOutboundAuthHeader: false
407407
# -- OAuth authorization header name
408408
authHeader: "Authorization"
409409
# -- OAuth revoke endpoint

0 commit comments

Comments
 (0)