Skip to content

aegis-web

The Aegis console. People sign in once, through Keycloak. An admin invites people and decides who can change things and who can only look.

Repository ci security

  browser  --Sign in-->  aegis-web  --sends you to-->  Keycloak (from aegis-deploy)
                             |                              ^
                             +-- People page, with the admin's own token

What it does today

  • Sign in. OpenID Connect with PKCE. The password is typed on Keycloak's page, and the console holds no password and no client secret.
  • Overview. Your name, your access, and where sign-in happens.
  • People (admins only). Invite someone by email as admin or read, resend an invite, and move people between the two groups. A console that is already open picks up a change within five minutes.
  • Sign out ends the session in the console and in Keycloak.

The session is an encrypted cookie and nothing is kept on the server, so several copies can run side by side. The People page calls Keycloak with the signed-in admin's own token, so Keycloak's records show who invited or moved whom.

Run it (laptop, free)

You need Node.js 22+, make, openssl, and Keycloak running from aegis-deploy with at least one admin who has set a password. Keep port 3000 free, and clone both repositories into the same folder.

git clone https://github.com/debanjan0212/aegis-web && cd aegis-web
make install   # exactly what package-lock.json lists
make dev       # creates .env.local with a session key; open http://localhost:3000

Invite emails land in the mail catcher at http://localhost:8025.

make check     # lint, types, unit tests, package audit, build
make e2e       # the whole story in Chrome against a real Keycloak (needs Google Chrome)

Connects to

Repository How
aegis-deploy Its Keycloak realm is where people sign in, and its aegis-web client is the one the console uses
aegis-pipelines The shared security checks
Aegis War Room Sign-in with roles is a step the war room needs before it is split

Cost

$0 on a laptop. There is no container image yet, so no hosted figure.

Not here yet

From the README: tenants, pages for the products, removing a person from the console, a container image and the Argo CD install, people management on Okta or Microsoft Entra, and paging beyond 500 people.