I am using OSB 12C and am trying to send the authorization header to the external business service. i.e. there is no need for OSB to validate the JWT token, just pass it on to the business service.
I set the header in Postman when calling the proxy service:
I added a HTTP transport component in the proxy lane and another in the business lane. Then added a single log component in the pipeline and set it as a debug breakpoint.
For the HTTP business component, if I set authentication as None, the authorization header gets stripped away.
If I set as Custom:
I get an error page here with a 401 - Unauthorized when calling the proxy service and the pipeline doesn't get invoked at all.
The Authorization header is removed as a security constraint. You can bypass that contraint by adding "-Dcom.bea.wli.sb.transports.http.GetHttpAuthorizationHeaderAllowed=true" to the jvm See example here: https://thecattlecrew.net/2015/01/12/oracle-service-bus-12c-retrieving-username-from-http-basic-authentication-token-2/