I'd like to add the ION graphql api (docs here), which I think is using an OAuth implementation. I can manually generate an auth token and apply that as custom HTTP headers, and this graphql-datasource plugin works in that case. However, the auth token expires, so ideally the plugin should do the auth dance on its own. Is this possible as it's currently written, or would this require adding a new feature?
Update/workaround: the grafana-infinity plugin support OAuth1 and OAuth2 and supports graphql endpoints. If you need this functionality just switch to that plugin instead.
I'd like to add the ION graphql api (docs here), which I think is using an OAuth implementation. I can manually generate an auth token and apply that as custom HTTP headers, and this graphql-datasource plugin works in that case. However, the auth token expires, so ideally the plugin should do the auth dance on its own. Is this possible as it's currently written, or would this require adding a new feature?