Commit Graph

81 Commits (456dac130337d6e147033b11f5a09a3fb3b3846b)

Author SHA1 Message Date
idafurjes 60ac54d969
Chore: Refactor OAuth/social package to service (#35403) 4 years ago
Marcus Efraimsson 348e76fc8e
Datasource: Shared HTTP client provider for core backend data sources and any data source using the data source proxy (#33439) 4 years ago
Sergey Kostrukov 81f6c806e1
Azure token provider with support for Managed Identities (#33807) 4 years ago
Sofia Papagiannaki fcd674ec58
Fix deleting prom rules endpoints via ds_proxy (#33491) 4 years ago
Owen Diehl dadccdda06
Allows posting to prom rules endpoints via ds_proxy (#32946) 4 years ago
Zoltán Bedi 7a2ab93e7a
Prometheus: Allow exemplars endpoint in data source proxy (#32802) 4 years ago
Marcus Efraimsson c0edf88f9f
Data proxy: Fix encoded characters in URL path should be proxied encoded (#30597) 4 years ago
Ivana Huckova dce67db6ba
Prometheus: Use configured HTTP method for /series and /labels endpoints (#31401) 4 years ago
Carl Bergquist 15a6508d4a
trace user login and datasource name instead of id (#29183) 5 years ago
Arve Knudsen e503188b6f
Data source proxy: Convert 401 from data source to 400 (#28962) 5 years ago
Arve Knudsen 3d3a7cbba8
Chore: Fix staticcheck issues (#28860) 5 years ago
Bill Oley b3a868169b
OAuth: Support Forward OAuth Identity for backend data source plugins (#27055) 5 years ago
Bill Oley 19caa100dc
OAuth: Fix token refresh failure when custom SSL settings are configured for OAuth provider (#27523) 5 years ago
Sean Lafferty 900eb8070e
Proxy: Fix updating refresh token in OAuth pass-thru (#26885) 5 years ago
Arve Knudsen d4e4cb4c71
Chore: Enable Go linter gocritic (#26224) 5 years ago
Arve Knudsen d352c213b3
API: Recognize MSSQL data source URLs (#25629) 5 years ago
Robbert Gurdeep Singh 034abaa73a
Security: Use Header.Set and Header.Del for X-Grafana-User header (#25495) 5 years ago
Arve Knudsen 164242f5fd
Data sources: Don't fail if URL doesn't specify protocol (#24497) 5 years ago
Daniel Lee 52154b465b
dsproxy: adds support for url params for plugin routes (#23503) 5 years ago
Arve Knudsen 7d88018531
DataSourceProxy: Handle URL parsing error (#23731) 5 years ago
John McBride b017e437d8
Fix typo in oauth error (#23270) 5 years ago
Carl Bergquist 3fdd2648b1
Chore: Avoid aliasing importing models in api package (#22492) 5 years ago
Marcus Efraimsson e6cec8dbdc
Backend plugins: Prepare and clean request headers before resource calls (#22321) 5 years ago
Carl Bergquist ff9556229a
Data proxy: Log proxy errors using Grafana logger (#22174) 5 years ago
Anthony Woods f56f54b1a3 Auth: Rotate auth tokens at the end of requests (#21347) 6 years ago
Marcus Efraimsson dfa2f3d2fb
Chore: Log actual error when oauth pass thru fails (#20419) 6 years ago
Weeco 8cd93f0b88 Datasource: Add custom headers on alerting queries (#19508) 6 years ago
Arve Knudsen 0a2d5e16dd
pkg/api: Check errors (#19657) 6 years ago
Maxim Ivanov 151fe240fc OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541) 6 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 6 years ago
Marcus Efraimsson e210725d3d
DataProxy: Restore Set-Cookie header after proxy request (#16838) 6 years ago
Andrej Ocenas 66f6e16916
Security: Store datasource passwords encrypted in secureJsonData (#16175) 6 years ago
Sean Lafferty b696492891 Rename dispatched commands to make them easy to grok 6 years ago
Andrej Ocenas 697a87b7b2 Add check so that header is not sent for anonymous users 6 years ago
Andrej Ocenas bbdc1c0e64 Add custom header with grafana user and a config switch for it 6 years ago
Sean Lafferty 8d8119aa98 Change import path for social since it has moved 6 years ago
Sean Lafferty 7e62394d01 Add function in ds_proxy to handle oauthPassThru headers 6 years ago
Sean Lafferty 3b15e110a5 Get most recent oauth token from db, rather than lookup by auth_module 6 years ago
Marcus Efraimsson a1cd550df4
revert ds_proxy timeout and implement dataproxy timeout correctly 6 years ago
Sean Lafferty 5a59cdf0ef Add oauth pass-thru option for datasources 6 years ago
Mario Trangoni 8261613b51 pkg/util/{ip.go,url.go}: Fix some golint issues 7 years ago
Benjamin Reed 9108fd1b9d add global datasource proxy timeout setting 7 years ago
Julien Pivotto 62417ca69f Remove Origin and Referer headers while proxying requests 7 years ago
Erik Sundell 56e8e50497 Stackdriver: Use ds_auth_provider in stackdriver. This will make sure the token is renewed when it has exporired 7 years ago
Erik Sundell 6a610558c4 Stackdriver: Start breaking out apply route to its own file 7 years ago
Erik Sundell 23339e4322 Stackdriver: Use new access token API 7 years ago
Daniel Lee e7648c4070 dsproxy: implements support for plugin routes with jwt file 7 years ago
Erik Sundell a4ef4792bc Stackdriver: Add scope for google resource manager 7 years ago
Erik Sundell 350bcf4f56 Fixed broken if statement 7 years ago
Erik Sundell 7197a4c17f Adds jwt token signing google auth 7 years ago