Our site retrieves a JWT from keycloak when the user logs in.
This JWT is stored in the browser storage.
We are having, amongst other pages, a grafana dashboard.
We would like grafana to use our JWT for all its API calls. We have an authentication service in front of it.
For it to work in our service we need it to have the Authorization header and X-Original-Uri header.
If grafana can pass these headers with the necessary info, our auth service will handle them and we shoudn’t need grafana to do anything besides handle its API call.
How can we achieve this? We can have the JS set data in the browser in some other many if need be.
I found the following issues that look similar to our needs.
Any help or information would be great!