grafana/.github
Marcus Efraimsson 6dbe3b555f
Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132)
Adding support for backend plugin client middlewares. This allows headers in outgoing 
backend plugin and HTTP requests to be modified using client middlewares.

The following client middlewares added:
Forward cookies: Will forward incoming HTTP request Cookies to outgoing plugins.Client 
and HTTP requests if the datasource has enabled forwarding of cookies (keepCookies).
Forward OAuth token: Will set OAuth token headers on outgoing plugins.Client and HTTP 
requests if the datasource has enabled Forward OAuth Identity (oauthPassThru).
Clear auth headers: Will clear any outgoing HTTP headers that was part of the incoming 
HTTP request and used when authenticating to Grafana.
The current suggested way to register client middlewares is to have a separate package, 
pluginsintegration, responsible for bootstrap/instantiate the backend plugin client with 
middlewares and/or longer term bootstrap/instantiate plugin management. 

Fixes #54135
Related to #47734
Related to #57870
Related to #41623
Related to #57065
2022-12-01 19:08:36 +01:00
..
ISSUE_TEMPLATE Update UX issue template to use YAML extension (#49099) 2022-05-18 10:05:24 +02:00
workflows Fix release_branch_regexp (#59590) 2022-11-30 12:37:03 -04:00
bot.md Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
CODEOWNERS Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132) 2022-12-01 19:08:36 +01:00
commands.json Add Phlare and Parca to commands file (#58330) 2022-11-28 12:29:28 +00:00
dependabot.yml Configure Renovate (#40336) 2021-10-13 12:25:12 +01:00
metrics-collector.json add triage/needs-confirmation to collector (#55189) 2022-09-20 11:11:12 +02:00
pr-checks.json Chore: Add PR Check action enforcing changelog decision (#48728) 2022-05-05 11:38:46 +02:00
pr-commands.json fix pr-commands.json by removing trailing comma (#59437) 2022-11-28 15:19:01 -05:00
PULL_REQUEST_TEMPLATE.md Adds information on what's new label to PR template (#57594) 2022-10-25 14:25:41 +01:00
renovate.json5 group d3 updates together (#58309) 2022-11-07 10:30:23 +00:00
teams.yml Add GH action to automatically add issue labeled to GH board (#54151) 2022-08-24 16:20:10 +02:00