The configuration for AdminUI is set via environment variables. These can be setup in different forms including a web.config file, a docker-compose.yml file or Azure appsettings.
AdminUI Configuration Settings (UI)
AuthorityUrlThe IdentityServer installation protecting AdminUIApiUrlThe AdminUI backend websiteUiUrlThe AdminUI frontend website
env.js
AuthorityUrlThe IdentityServer installation protecting AdminUIApiUrlThe AdminUI backend websiteUiUrlThe AdminUI frontend websiteAddUserPasswordAllows for setting a users password on creation (this is for demo purposes only, do not use in production), see more here
AdminUI Configuration Settings (API)
DbProviderSupported types and their values are:SqlServerMySql(Note: AdminUI requires the MySQL setting lower_case_table_names to befalse)PostgreSql
IdentityConnectionStringThe connection string for your Identity database (Users, Claim Types, Roles etc.)IdentityServerConnectionStringThe connection string for your IdentityServer database (Clients, Resources, Persited Grants etc.)OperationalConnectionString(Optional) The connection string for the Presisted Grants DbContext, if not supplied AdminUI will use theIdentityServerConnectionStringAuthorityUrlThe IdentityServer installation protecting the APIUiUrlThe AdminUI frontendRequireHttpsMetadataWhentrueensures IdentityServer discovery endpoint uses TLS. Should be true for productionUseLegacyPagingWhentrueallows support for legacy databases such as SQL Server 2008LicenseKeyA valid license key for AdminUIPasswordPolicy:RequireDigitdefaults totruePasswordPolicy:RequireLowercasedefaults totruePasswordPolicy:RequireNonAlphanumericdefaults totruePasswordPolicy:RequireUppercasedefaults totruePasswordPolicy:RequiredLengthdefaults to6PasswordPolicy:RequiredUniqueCharsdefaults to1UsernamePolicy:AllowedUserNameCharactersdefaults toabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._@+UsernamePolicy:RequireUniqueEmaildefaults totrueAuditRecordsConnectionStringThe database connection string for AdminUI audits, if missing will default to theIdentityServerConnectionString-
AuditRecordsCultureLanguage used for generation of audit records, if missing or invalid will default to English (en-GB).Supported languages are: -
deGerman -zh-TWChinese (Traditional) -zh-CNChinese (Simplified) -esSpanish -frFrench -AuditReadActionsDefaults totrue, iffalseno audit records will be generated for read actions e.g when a user views resources though AdminUI -
LoggingMinimumLevelDefaults toinfo. Supported logging levels aredebuginfowarningerrorcritical
LoggingOutputTemplateDefaults to[{Timestamp:dd-MM-yyyy HH:mm:ss} {Level}] {Message}{NewLine}{Exception}. For more infomation see the serilog docs.