Hi,
I am trying to use redirect method as below,
const urlToADashboard = core.http.basePath.prepend(/app/dashboards#/list
);
response.redirected({ headers: { location: urlToADashboard,authorization:authorizParams } });
redirection to dashboard list happens but authorization:authorizParams gets missed out..as the kibanaresponse object does not have default authorisation header.
prior to new kibana platform we were passing the auth headers using request.headers.authorization in redirect call, where as now its using kibanaresponse and I could not find a way to pass auth headers, can someone please suggest how to do it?
Thanks
Prathibha