diff --git a/internal/query/projection/idp_template.go b/internal/query/projection/idp_template.go index 98011cdca4..53afb832ac 100644 --- a/internal/query/projection/idp_template.go +++ b/internal/query/projection/idp_template.go @@ -350,7 +350,7 @@ func (p *idpTemplateProjection) reducers() []handler.AggregateReducer { Reduce: p.reduceJWTIDPAdded, }, { - Event: instance.JWTIDPAddedEventType, + Event: instance.JWTIDPChangedEventType, Reduce: p.reduceJWTIDPChanged, }, { @@ -467,7 +467,7 @@ func (p *idpTemplateProjection) reducers() []handler.AggregateReducer { Reduce: p.reduceJWTIDPAdded, }, { - Event: org.JWTIDPAddedEventType, + Event: org.JWTIDPChangedEventType, Reduce: p.reduceJWTIDPChanged, }, {