Closed JayasuriyanRP closed 4 months ago
In my case there is a system in between SOAP server which authenticates with Keycloak and I would need to pass the Authorization token in every call with the fresh token in HTTP Header.
for _, client := range clients {
allHeaders := make(map[string]string)
for key, value := range client.GetHttpClientHeaders() {
allHeaders[key] = value
}
allHeaders["Authorization"] = token
client.SetHttpClientHeaders(allHeaders)
}
@c4milo can we merge this I need this functionality as well
Possibility to add http header later to http client. Possibility for assigning Authorization header to http client