mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-21 17:39:40 +00:00
fix: reactivate/deactivate idp, remove idp provider (#1348)
* fix: reactivate/deactivate idp, remove idp provider * fix build * fix(console): add jwt to selection, idp deactivate reactivate (#1347) * fix: log error on idp change * add jwt to method selection Co-authored-by: Max Peintner <max@caos.ch>
This commit is contained in:
@@ -90,6 +90,13 @@ func (i *IDPConfig) processIDPConfig(event *es_models.Event) (err error) {
|
||||
return err
|
||||
}
|
||||
err = idp.AppendEvent(iam_model.IDPProviderTypeSystem, event)
|
||||
case model.IDPConfigDeactivated,
|
||||
model.IDPConfigReactivated:
|
||||
idp, err = i.view.IDPConfigByID(idp.IDPConfigID)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = idp.AppendEvent(iam_model.IDPProviderTypeSystem, event)
|
||||
case model.IDPConfigRemoved:
|
||||
err = idp.SetData(event)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user