Closed pilhuhn closed 7 years ago
Don't forget that OpenShift requires https and when running on a dev box at least it has a self-signed cert that must be acceptable to the client. So make sure that the login page can accept https URLs and that any client hawkfx uses can accept self-signed certs.
@jmazzitelli See http://www.hawkular.org/blog/2016/09/14/consuming-hawkular-api-over-ssl.html from @josejulio wrt SSL
@pilhuhn you should put that SSL information on the README or at least add a link to that blog from @josejulio : https://github.com/pilhuhn/hawkfx/blob/master/README.adoc
I think this is solved.
with Bearer token
[17:39:15] you should have a third field "bearer token" which just takes a string
[17:39:25] if Bearer token is specified, you can ignore the username and password fields
[17:39:40] and to connect to h-metrics with it, the http client should pass the Authorization header with value
[17:39:53] Bearer
[17:39:54] is the tenant also needed in that case?
[17:40:01] yes, we still need tenant
[17:40:04] ok
[17:40:11] Authorization: Bearer my-token-string
[17:40:23] (note: you don't base64 encode it - that is only for Basic auth)