Infinity: pass query result (token) between queries

Hello,

how can you pass the variable token from the first query to the second? Can this be done within a panel or do you have to create a variable?

What datasource type of the query that has the token

Is anything from that query with the token being displayed on the graph

I may have expressed myself incorrectly.
I am currently passing the variable $AuthToken to the Key parameter in the header of the query A panel. (1)
Alternatively, can I also pass the variable Token (2) from query Auth to query A?

I see you’re using Infinity Plugin. Wouldn’t it be better to configure Authorization in datasource options - Infinity supports multiple OAuth types?

I tried it.
But I haven’t found a solution. The API from where I want to get the data uses an authorization that doesn’t quite correspond to the OAuth standard. At least I believe that is the case.

This is what the query and the result look like.

No, you were clear. Is the data of query that uses the $auth value being plotted in the visualization?

No. Only if I specify the parameter $AutToken which reads the value of the query of a variable.

Make it a variable as well then use that variable to get what you need

2 variables, 1 feeds the 2nd one, second one feeds the core query