Duende.IdentityServer.Admin
Modern admin UI for Duende IdentityServer and ASP.NET Core Identity đ
Install / Use
/learn @skoruba/Duende.IdentityServer.AdminREADME
Skoruba.Duende.IdentityServer.Admin v3 đ
Modern admin UI for Duende IdentityServer and ASP.NET Core Identity.
Versions
-
â Stable (production): v2.7.0
https://github.com/skoruba/Duende.IdentityServer.Admin/tree/release/2.7.0 -
đ Next generation (v3 â preview) â current prerelease:
3.0.0-preview.22- React + TypeScript + Tailwind CSS + shadcn/ui
- .NET 10 backend REST API
- New monitoring and wizard flows
Administration UI Preview
The UI is built with Tailwind CSS and shadcn/ui components.
đ§ Dashboard (Light)

đ Dashboard (Dark)

đ§ââī¸ Client Creation â Wizard Flow

đ Client Creation â Summary

đŧ Client Management

đĄ Monitoring
Define and track configuration rules for clients, API resources, and identity resources:
- Flag deprecated OAuth 2.1 flows
- Enforce required scopes
- Validate naming conventions
- Warn about expired client secrets
đ§ą Configuration Rules

đ§Š Configuration Issues

đ Monitoring Dashboard

Solution Structure

â Prerequisites
- .NET 10 SDK
- Node.js 18+ and npm (required for the React client)
- SQL Server (default LocalDB) or PostgreSQL
- Duende IdentityServer 7.4.5
Note: Using older .NET versions may cause 502.5 errors on IIS or application startup failures.
đĻ Installation via dotnet new Template
đ Database note:
This template includes default EF migrations. Review them and back up your database before applying.
âšī¸ Migration note from IdentityServer4.Admin:
TheUserSecretsIdfor Admin, Admin API, and STS projects remains the same as in the olderSkoruba.IdentityServer4.Adminsolution to ease config migration. If you still have secrets from the old project on your machine, they will be reused (e.g.,ApplySeedcould point at your old DB). Change or clear user secrets if you need isolation.
1. Install the template
dotnet new install Skoruba.Duende.IdentityServer.Admin.Templates::3.0.0-preview.22
2. Create a new project
dotnet new skoruba.duende.isadmin \
--name MyProject \
--title MyProject \
--adminemail "admin@example.com" \
--adminpassword "Passw0rd-123" \
--adminrole MyRole \
--adminclientid MyClientId \
--adminclientsecret MyClientSecret \
--dockersupport true \
--requirepushedauthorization true
Template Options
| Option | Description |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| --name | Project name |
| --title | Admin UI title and footer text |
| --adminemail | Initial admin email |
| --adminpassword | Initial admin password |
| --adminrole | Role name used for admin authorization |
| --adminclientid | Client ID for the Admin UI OIDC client |
| --adminclientsecret | Client secret for the Admin UI OIDC client |
| --dockersupport | Include Docker support (true / false) |
| --requirepushedauthorization | Require PAR for admin client (true / false, default true). Note: PAR requires Duende IdentityServer Business Edition or higher. More info |
đ Quick Start â Local Development
Note: This section is for developers who want to clone and contribute to the repository. If you want to use the template, see the section above.
The solution contains three runnable services:
| Service | Project | Purpose |
| ------------- | -------------------------------------------- | ------------------------------- |
| STS | Skoruba.Duende.IdentityServer.STS.Identity | IdentityServer + authentication |
| Admin API | Skoruba.Duende.IdentityServer.Admin.Api | REST API backend |
| Admin UI | Skoruba.Duende.IdentityServer.Admin | SPA host |
1. Clone the repository
git clone https://github.com/skoruba/Duende.IdentityServer.Admin
cd Duende.IdentityServer.Admin
2. Install React dependencies (first run only)
cd src/Skoruba.Duende.IdentityServer.Admin.UI.Client
npm install
cd ../..
3. Run the services
Open three terminals and run:
# Terminal 1: STS (IdentityServer)
cd src/Skoruba.Duende.IdentityServer.STS.Identity
dotnet run
# Terminal 2: Admin API
cd src/Skoruba.Duende.IdentityServer.Admin.Api
dotnet run
# Terminal 3: Admin UI Host
cd src/Skoruba.Duende.IdentityServer.Admin
dotnet run
4. Default local URLs
| Service | URL | | ------------- | ----------------------------------------------------- | | STS | https://localhost:44310 | | Admin API | https://localhost:44302 | | Admin UI | Check console output (usually https://localhost:7127) |
By default, database migrations and seed data are enabled in Admin API (
ApplyDatabaseMigrations,ApplySeed).
đŗ Running via Docker (Optional)
Tip: For the fastest onboarding, use the
dotnet runapproach above. Docker requires custom domain and certificates.
DNS Configuration
Update your hosts file to resolve skoruba.local:
Windows: C:\Windows\System32\drivers\etc\hosts
Linux / macOS: /etc/hosts
127.0.0.1 skoruba.local sts.skoruba.local admin.skoruba.local admin-api.skoruba.local
Certificates Setup
Use mkcert to generate self-signed local certificates.
Windows
cd shared/nginx/certs
mkcert --install
copy $env:LOCALAPPDATA\mkcert\rootCA-key.pem ./cacerts.pem
copy $env:LOCALAPPDATA\mkcert\rootCA.pem ./cacerts.crt
# Generate skoruba.local certificates
mkcert -cert-file skoruba.local.crt -key-file skoruba.local.key skoruba.local *.skoruba.local
mkcert -pkcs12 skoruba.local.pfx skoruba.local *.skoruba.local
macOS / Linux
cd shared/nginx/certs
mkcert -install
# Copy root certificates (adjust paths for your system)
# macOS: ~/Library/Application\ Support/mkcert/
# Linux: ~/.local/share/mkcert/
cp "$(mkcert -CAROOT)/rootCA-key.pem" ./cacerts.pem
cp "$(mkcert -CAROOT)/rootCA.pem" ./cacerts.crt
# Generate skoruba.local certificates
mkcert -cert-file skoruba.local.crt -key-file skoruba.local.key skoruba.local *.skoruba.local
mkcert -pkcs12 skoruba.local.pfx skoruba.local *.skoruba.local
Run Docker Compose
docker-compose build
docker-compose up -d
Docker setup is based on bravecobra's repository â thanks! đ
Docker Images
Docker images are available on Docker Hub.
To publish images, check build/publish-docker-images.ps1 and update the profile name.
đī¸ EF Core & Data Access
DbContexts
The solution uses the following DbContext classes:
AdminIdentityDbContextâ ASP.NET Core Identity dataAdminLogDbContextâ Logging dataIdentityServerConfigurationDbContextâ IdentityServer configuration storeIdentityServerPersistedGrantDbContextâ IdentityServer operational storeAuditLoggingDbContextâ Audit logging- `IdentityServe
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
