mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 16:22:45 +08:00
dsproxy: implements support for plugin routes with jwt file
Google Cloud service accounts use a JWT token to get an oauth access token. This adds support for that.
This commit is contained in:
@ -37,8 +37,11 @@ type AppPluginRouteHeader struct {
|
||||
Content string `json:"content"`
|
||||
}
|
||||
|
||||
// JwtTokenAuth struct is both for normal Token Auth and JWT Token Auth with
|
||||
// an uploaded JWT file.
|
||||
type JwtTokenAuth struct {
|
||||
Url string `json:"url"`
|
||||
Scopes []string `json:"scopes"`
|
||||
Params map[string]string `json:"params"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user