Hi folks. Would you be so kind to advice in which ...
# talk-hydra
a
Hi folks. Would you be so kind to advice in which header should we expect Hydra to put the traceID when doing redirect to get /login endpoint of login UI? In hydra i see log hydra-1 | time=2024-01-29T220229Z level=info msg=completed handling request http_request=map[headersmap[accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/avif,imag e/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 accept-encoding:gzip, deflate, br accept-language:en-US connection:keep-alive sec-fetch-dest:document sec-fetch-mode: navigate sec-fetch-site:none sec-fetch-user:?1 upgrade-insecure-requests:1 user-agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Insomnia/2022.7.0 Chrome/108.0.5359.62 Electron/22.0.0 Safari/537.36] host127.0.0.14444 method:GET path:/oauth2/auth query:response_type=code&client_id=65b5fe89-5d62-4a54-82f1-fcebe7924aef&redirect_u ri=https%3A%2F%2Fwww.avid.com&scope=openid%20profile&state=12345678&code_challenge=Hfl9b0P6whizr_YvMh2853FEV3WvxZb10GRwj_fTLsI&code_challenge_method=S256 remote172.21.0.140368 scheme :http] http_response=map[headersmap[cache controlprivate, no-cache, no-store, must-revalidate content-type:text/html; charset=utf-8 location:http://127.0.0.1:8080/login?login_challen ge=1c5093c898f741daa04647a827e18a55 set-cookie:[ory_hydra_login_csrf_dev_1977760210=MTcwNjU2NTc0OXw0eVJBd3dJWVI3cENYczYzYXhucVBCeEZvYXJLMjJCRVJ6dDE0ZUQzaHBpd1hRZFM0VWVJbm1VZmhZQVB4SUV0 YVhxOUVpeTF5MmdLNzhzdk1ySG16ejJHcjVOVEY4MGtkbnFXU3JHMnhCcmV3bEZRRUhjamdOZXRVSlBtZWc9PXxAHIC03Umm_BLWevwVnIX7M1XFTJuSUQwJYPGbTmdQ7A==; Path=/; Expires=Mon, 29 Jan 2024 223229 GMT; Max -Age=1800; HttpOnly; SameSite=Lax]] size:99 status:302 text_status:Found took:32.452317ms] otel=map[span_id:a394e0781b9bd541 trace_id:cbe23a39bad38179a9299472fddba889] but these values are not in headers so it's impossible to propagate them in the login UI, is there any way hydra can add trace and span in it's headers?