Hello,
I am building a backend plugin in which I use DataSourceHttpSettings in my ConfigEditor.
export function ConfigEditor(props: Props) {
const { onOptionsChange, options } = props;
return (
<>
<DataSourceHttpSettings
defaultUrl="https://demo.akvorado.net"
dataSourceConfig={options}
onChange={onOptionsChange}
sigV4AuthToggleEnabled={true}
/>
</>
);
}
Now I want to be able to use the auth header to do query in my datasource but I do not find any documentation on how to use the component.
Does some one already did that ?
Thx