Commit Graph

73 Commits (7d8cb6869a2d3cb2bf3dd54dac2b59e60babc975)

Author SHA1 Message Date
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) 5 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 6 years ago
Benjamin Reed 9108fd1b9d add global datasource proxy timeout setting 6 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
Erik Sundell ef3beb1f0e Adds poc code for retrieving google auth accesstoken 7 years ago
Daniel Lee c75e071213 dsproxy: interpolate route url 7 years ago
Marcus Efraimsson 13921902b5
Set User-Agent header in all proxied datasource requests 7 years ago
Torkel Ödegaard 2459b177f9 change: Set User-Agent to Grafana/%Version% Proxied-DS-Request %DS-Type% in all proxied ds requests 7 years ago
mrsiano cc1e3a0e3c Pass configured/auth headers to a Datasource. 7 years ago
Daniel Lee 10d30f0b73 dsproxy: move http client variable back 7 years ago
Daniel Lee 719ebdc24d dsproxy: allow multiple access tokens per datasource 7 years ago
Julian Kornberger 0a415c50d0 Make golint happier 7 years ago