feat: OIDC setting (#3245)

* feat: add oidc config struct

* feat: oidc config command side

* feat: oidc configuration query side

* feat: add translations

* feat: add tests

* feat: add translations

* feat: rename oidc config to oidc settings

* feat: rename oidc config to oidc settings
This commit is contained in:
Fabi
2022-02-25 16:05:06 +01:00
committed by GitHub
parent f05d4063bf
commit 7d6c933485
57 changed files with 1440 additions and 40 deletions

View File

@@ -19,7 +19,7 @@ type UserMetadataProjection struct {
const UserMetadataProjectionTable = "zitadel.projections.user_metadata"
func NewUserMetadataProjection(ctx context.Context, config crdb.StatementHandlerConfig) *UserMetadataProjection {
p := &UserMetadataProjection{}
p := new(UserMetadataProjection)
config.ProjectionName = UserMetadataProjectionTable
config.Reducers = p.reducers()
p.StatementHandler = crdb.NewStatementHandler(ctx, config)