Plugins: AuthType in route configuration and params interpolation (#33674)
* AuthType in route configuration * Pass interpolated auth parameters to token provider * Unit tests * Update after review Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com> Fixes #33669 Closed #33732
This commit is contained in:
@@ -33,6 +33,7 @@ type AppPluginRoute struct {
|
||||
URL string `json:"url"`
|
||||
URLParams []AppPluginRouteURLParam `json:"urlParams"`
|
||||
Headers []AppPluginRouteHeader `json:"headers"`
|
||||
AuthType string `json:"authType"`
|
||||
TokenAuth *JwtTokenAuth `json:"tokenAuth"`
|
||||
JwtTokenAuth *JwtTokenAuth `json:"jwtTokenAuth"`
|
||||
Body json.RawMessage `json:"body"`
|
||||
|
||||
Reference in New Issue
Block a user