mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 23:17:33 +00:00
fix: handling of org idp migrations and google events (#5992)
This commit is contained in:
@@ -351,6 +351,10 @@ func (p *idpTemplateProjection) reducers() []handler.AggregateReducer {
|
|||||||
Event: instance.OIDCIDPMigratedAzureADEventType,
|
Event: instance.OIDCIDPMigratedAzureADEventType,
|
||||||
Reduce: p.reduceOIDCIDPMigratedAzureAD,
|
Reduce: p.reduceOIDCIDPMigratedAzureAD,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Event: instance.OIDCIDPMigratedGoogleEventType,
|
||||||
|
Reduce: p.reduceOIDCIDPMigratedGoogle,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Event: instance.JWTIDPAddedEventType,
|
Event: instance.JWTIDPAddedEventType,
|
||||||
Reduce: p.reduceJWTIDPAdded,
|
Reduce: p.reduceJWTIDPAdded,
|
||||||
@@ -472,6 +476,14 @@ func (p *idpTemplateProjection) reducers() []handler.AggregateReducer {
|
|||||||
Event: org.OIDCIDPChangedEventType,
|
Event: org.OIDCIDPChangedEventType,
|
||||||
Reduce: p.reduceOIDCIDPChanged,
|
Reduce: p.reduceOIDCIDPChanged,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Event: org.OIDCIDPMigratedAzureADEventType,
|
||||||
|
Reduce: p.reduceOIDCIDPMigratedAzureAD,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Event: org.OIDCIDPMigratedGoogleEventType,
|
||||||
|
Reduce: p.reduceOIDCIDPMigratedGoogle,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Event: org.JWTIDPAddedEventType,
|
Event: org.JWTIDPAddedEventType,
|
||||||
Reduce: p.reduceJWTIDPAdded,
|
Reduce: p.reduceJWTIDPAdded,
|
||||||
|
@@ -263,7 +263,7 @@ func NewOIDCIDPMigratedGoogleEvent(
|
|||||||
eventstore.NewBaseEventForPush(
|
eventstore.NewBaseEventForPush(
|
||||||
ctx,
|
ctx,
|
||||||
aggregate,
|
aggregate,
|
||||||
OIDCIDPMigratedAzureADEventType,
|
OIDCIDPMigratedGoogleEventType,
|
||||||
),
|
),
|
||||||
id,
|
id,
|
||||||
name,
|
name,
|
||||||
|
Reference in New Issue
Block a user