Merge branch 'main' into one-db-pool

This commit is contained in:
adlerhurst
2025-01-07 17:33:17 +01:00
51 changed files with 1727 additions and 425 deletions

View File

@@ -308,6 +308,7 @@ func startZitadel(ctx context.Context, config *Config, masterKey string, server
authZRepo,
keys,
permissionCheck,
cacheConnectors,
)
if err != nil {
return err
@@ -352,6 +353,7 @@ func startAPIs(
authZRepo authz_repo.Repository,
keys *encryption.EncryptionKeys,
permissionCheck domain.PermissionCheck,
cacheConnectors connector.Connectors,
) (*api.API, error) {
repo := struct {
authz_repo.Repository
@@ -533,6 +535,7 @@ func startAPIs(
keys.User,
keys.IDPConfig,
keys.CSRFCookieKey,
cacheConnectors,
)
if err != nil {
return nil, fmt.Errorf("unable to start login: %w", err)