Tony_Drane_9358
Jul 09, 2009Nimbostratus
BigIP Changing Oauth String from HTTPS to HTTP
Hi. I am having issues with an Oauth transaction over SSL. There is a secure cert installed on my BigIP. When I try to authorize an Oauth transaction over SSL, the BigIP changes the Oauth request from HTTPS to HTTP when it passes the string to the server. For example, the request to the BigIP https://mycompany.com/api/1.0/myapp/myrequest?oauth_***** becomes http://mycompany.com/api/1.0/myapp/myrequest?oauth_***** when it is passed to my server for a token request. This is in turn corrupts the string and the OAuth verification fails. Would something like this work?
when HTTP_REQUEST_DATA {
regsub "https://mycompany.com/*" [HTTP::payload] "https://mycompany.com/*" fixeddata
HTTP::payload replace 0 [HTTP::payload $clen] $fixeddata
HTTP::release
}