Skip to content

Commit

Permalink
Replace MakeContainer by SetOIDCClaims
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Surée committed Nov 18, 2024
1 parent c893a51 commit a2c324c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filters/auth/oidc_introspection.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down

0 comments on commit a2c324c

Please sign in to comment.