Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

AUTHORIZATION of BEARER TOKEN type in health check

$
0
0

HAProxy v2.6

surrender
paws dangling

In postman some url http://192.168.1.1/connect/checktoken with Authorization type Bearer Token works!

How to make it work in haproxy health check?

http-check send hdr Authorization 'Bearer eyJhbGciOiJ"
or
option httpchk GET /connect/checktoken "HTTP/1.0\r\nHost:host.domain.tld\r\nAuthorization:Bearer eyJhbGciOiJ"
or
http-check send meth GET uri /connect/checktoken/ ver HTTP/1.1 hdr Authorization "eyJhbGciOiJ"

not working.

Does anyone know how to or have experience with Bearer Tokens health checks?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles