You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the Authentication with my API, I need to send a jwt to a specific URL, which sends back a session cookie, that I have to put into the header of every further Get/Post request, that I send to the API. I wanted to save the session cookie in a variable, so that I can access it for every request. The problem is, that Grafana / the Infiniy Plug-in doesn’t let me access the cookie, which is sent in the header of the API response. I tried using the “result parsing options” like this: “result.headers[“set-cookie”]”, but it can only access the body of the response.
I would really appreciate the possibility to access and store the cookies, that are sent back, so that I can attach them in the header for my further requests, since this is how the Authentication is handled with the service I want to connect to.
Steps to reproduce
Send a POST request to an API, that sends back an OK response with an empty body and a set-cookie header.
Try to store said cookie.
Note: bugs will be fixed only if enough information provided to reproduce the issue
Screenshots
Version Details:
Grafana version : Grafana v11.0.0-68643
Plugin version : Infinity Plug-in V2.50
The text was updated successfully, but these errors were encountered:
Describe the bug
For the Authentication with my API, I need to send a jwt to a specific URL, which sends back a session cookie, that I have to put into the header of every further Get/Post request, that I send to the API. I wanted to save the session cookie in a variable, so that I can access it for every request. The problem is, that Grafana / the Infiniy Plug-in doesn’t let me access the cookie, which is sent in the header of the API response. I tried using the “result parsing options” like this: “result.headers[“set-cookie”]”, but it can only access the body of the response.
I would really appreciate the possibility to access and store the cookies, that are sent back, so that I can attach them in the header for my further requests, since this is how the Authentication is handled with the service I want to connect to.
Steps to reproduce
Note: bugs will be fixed only if enough information provided to reproduce the issue
Screenshots
Version Details:
The text was updated successfully, but these errors were encountered: