mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-02 17:08:51 +00:00
# Which Problems Are Solved We move the login code to the zitadel repo. # How the Problems Are Solved The login repo is added to ./login as a git subtree pulled from the dockerize-ci branch. Apart from the login code, this PR contains the changes from #10116 # Additional Context - Closes https://github.com/zitadel/typescript/issues/474 - Also merges #10116 - Merging is blocked by failing check because of: - https://github.com/zitadel/zitadel/pull/10134#issuecomment-3012086106 --------- Co-authored-by: Max Peintner <[email protected]> Co-authored-by: Max Peintner <[email protected]> Co-authored-by: Florian Forster <[email protected]>
84 lines
2.7 KiB
YAML
84 lines
2.7 KiB
YAML
ExternalDomain: 127.0.0.1.sslip.io
|
|
ExternalSecure: true
|
|
ExternalPort: 443
|
|
TLS.Enabled: false
|
|
|
|
FirstInstance:
|
|
PatPath: /pat/zitadel-admin-sa.pat
|
|
Org:
|
|
Human:
|
|
UserName: zitadel-admin
|
|
FirstName: ZITADEL
|
|
LastName: Admin
|
|
Password: Password1!
|
|
PasswordChangeRequired: false
|
|
PreferredLanguage: en
|
|
Machine:
|
|
Machine:
|
|
Username: zitadel-admin-sa
|
|
Name: Admin
|
|
Pat:
|
|
ExpirationDate: 2099-01-01T00:00:00Z
|
|
|
|
DefaultInstance:
|
|
LoginPolicy:
|
|
AllowUsernamePassword: true # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_ALLOWUSERNAMEPASSWORD
|
|
AllowRegister: true # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_ALLOWREGISTER
|
|
AllowExternalIDP: true # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_ALLOWEXTERNALIDP
|
|
ForceMFA: false # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_FORCEMFA
|
|
HidePasswordReset: false # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_HIDEPASSWORDRESET
|
|
IgnoreUnknownUsernames: false # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_IGNOREUNKNOWNUSERNAMES
|
|
AllowDomainDiscovery: true # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_ALLOWDOMAINDISCOVERY
|
|
# 1 is allowed, 0 is not allowed
|
|
PasswordlessType: 1 # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_PASSWORDLESSTYPE
|
|
# DefaultRedirectURL is empty by default because we use the Console UI
|
|
DefaultRedirectURI: # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_DEFAULTREDIRECTURI
|
|
# 240h = 10d
|
|
PasswordCheckLifetime: 240h # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_PASSWORDCHECKLIFETIME
|
|
# 240h = 10d
|
|
ExternalLoginCheckLifetime: 240h # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_EXTERNALLOGINCHECKLIFETIME
|
|
# 720h = 30d
|
|
MfaInitSkipLifetime: 0h # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_MFAINITSKIPLIFETIME
|
|
SecondFactorCheckLifetime: 18h # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_SECONDFACTORCHECKLIFETIME
|
|
MultiFactorCheckLifetime: 12h # ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_MULTIFACTORCHECKLIFETIME
|
|
PrivacyPolicy:
|
|
TOSLink: "https://zitadel.com/docs/legal/terms-of-service"
|
|
PrivacyLink: "https://zitadel.com/docs/legal/policies/privacy-policy"
|
|
HelpLink: "https://zitadel.com/docs"
|
|
SupportEmail: "[email protected]"
|
|
DocsLink: "https://zitadel.com/docs"
|
|
Features:
|
|
LoginV2:
|
|
Required: true
|
|
|
|
OIDC:
|
|
DefaultLoginURLV2: "/ui/v2/login/login?authRequest="
|
|
|
|
SAML:
|
|
DefaultLoginURLV2: "/ui/v2/login/login?authRequest="
|
|
|
|
Database:
|
|
EventPushConnRatio: 0.2 # 4
|
|
ProjectionSpoolerConnRatio: 0.3 # 6
|
|
postgres:
|
|
Host: db
|
|
Port: 5432
|
|
Database: zitadel
|
|
MaxOpenConns: 20
|
|
MaxIdleConns: 20
|
|
MaxConnLifetime: 1h
|
|
MaxConnIdleTime: 5m
|
|
User:
|
|
Username: zitadel
|
|
SSL:
|
|
Mode: disable
|
|
Admin:
|
|
Username: zitadel
|
|
SSL:
|
|
Mode: disable
|
|
|
|
Logstore:
|
|
Access:
|
|
Stdout:
|
|
Enabled: true
|