Hello Elad, the are difference in Equal sign in basic auth header skyline sends without it, I have captured https traffic and decode it this is result.
POST /api/v1/write HTTP/1.0
Host: prom:9000
Connection: close
Content-Length: 36209
User-Agent: opentelemetry-collector-binary---check-point-modifications/CPotelcol_0.82.0
Authorization: Basic Y3ayb206UGFzcadvcmQxMjM
Content-Encoding: snappy
Content-Type: application/x-protobuf
X-Prometheus-Remote-Write-Version: 0.1.0
Accept-Encoding: gzip
HTTP/1.0 401 Unauthorized
Content-Type: text/plain; charset=utf-8
Www-Authenticate: Basic
X-Content-Type-Options: nosniff
Date: Fri, 05 Apr 2024 08:24:22 GMT
Content-Length: 13
Unauthorized
GET /favicon.ico HTTP/1.0
Host: prom:9000
Connection: close
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Accept: image/avif,image/webp,*/*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Authorization: Basic Y3ayb206UGFzcadvcmQxMjM=
Referer: https://prom:9090/graph?g0.expr=&g0.tab=0&g0.display_mode=lines&g0.show_exemplars=1&g0.range_input=2h
Sec-Fetch-Dest: image
Sec-Fetch-Mode: no-cors
Sec-Fetch-Site: same-origin
HTTP/1.0 200 OK
Accept-Ranges: bytes
Content-Length: 15086
Content-Type: image/x-icon
Date: Fri, 05 Apr 2024 08:24:06 GMT
............ .h...6... .... .........00.... ..%..F...(....... ..... ............................................I...........................D............................................Po..Qq......................................................]z..Rq..Rq..`}.............................................................................................J................Tr..Wu..Wu..Wu..Wu..Sr.....................@................................................................................4X..0U..+Q..+Q..+Q..+Q..2W..3X......................................Nn..*Q..,R..,R..*P..h...........................................5Z..+R..,R..,R..*P..Ll..........................................1W..+R..,R..,R..*Q..Df..........................................Gh..-S..+Q..8\..1V..b~.........................G................z...d...2W..Ts..Ll.........................>............................Ce..............................................................^{..........................
Solution for me to use client-auth.token.custom-header for auth
"client-auth": {
"token": {
"custom-header": {
"key": "Authorization",
"value": "Basic tockenwithpadding="
}
}
}