diff --git a/filters/auth/oidc_introspection.go b/filters/auth/oidc_introspection.go index e02950e305..e60d845a73 100644 --- a/filters/auth/oidc_introspection.go +++ b/filters/auth/oidc_introspection.go @@ -42,8 +42,8 @@ func NewOIDCQueryClaimsFilter() filters.Spec { } } -func MakeTokenContainer(h map[string]interface{}) tokenContainer { - return tokenContainer{ +func SetOIDCClaims(ctx filters.FilterContext, h map[string]interface{}) { + ctx.StateBag()[oidcClaimsCacheKey] = tokenContainer{ Claims: h, } }