Liquidity Docs

Liquid IAM - Documentation

Liquid IAM is Liquidity's identity provider: a fork of

Liquid IAM is Liquidity's identity provider: a fork of Casdoor (Apache-2.0) rebranded to "Liquidity IAM". It is the OIDC/OAuth2 issuer that gates the Liquidity stack via Google SSO restricted to @satschel.com.

  • Repo: liquidity-alt/liquid-iam · Branch: rebrand/liquidity-iam
  • Upstream: Casdoor v3.108.0 (attribution retained in NOTICE)
  • Default local URL / issuer: http://localhost:8000

Last updated: 2026-07-15.

Contents

DocCovers
architecture.mdWhat it is, how it's built, deployment topology
running.mdBuild + run locally (Docker/SQLite), config, admin login
oidc.mdOIDC/OAuth2 endpoints, login + logout flows, token verification
sso-setup.mdThe seed-sso.py script + Google Cloud Console setup checklist
integration.mdOnboard a new app (org/app/provider model) + reference integrations
rebrand.mdThe Liquidity rebrand, assets, the Google account-chooser fix, upstream tracking
production.mdProduction hardening (Postgres, non-root, HTTPS issuer, secrets)

What it does (one paragraph)

Liquid IAM issues and verifies identity for the Liquidity stack over standard OIDC/OAuth2 (authorization-code + PKCE). It federates login to Google, gates the email domain to @satschel.com via a provider email-regex (with just-in-time user creation), and issues JWTs that relying parties verify against its JWKS. It holds the liquidity organization and its applications (e.g. transfer-agent), each with its own client id, redirect URIs, and providers - so every Liquidity app shares one SSO while exposing its own surface.

Who consumes it

Relying partyHow
Transfer Agent console (transfer-agent-fe)casdoor-js-sdk PKCE flow; VITE_OIDC_* env
Transfer Agent backends (ta-api, subledger-api)coreos/go-oidc verifies JWTs against JWKS; TA_OIDC_* env
Future Liquidity appsRegister a new Application in the liquidity org - see integration.md

Quick start

docker build --target STANDARD -t liquid-iam:local .
docker run -d --name liquid-iam --user 0 -p 8000:8000 -v liquid-iam-data:/data liquid-iam:local
# open http://localhost:8000  (admin / 123 in the built-in org - change in prod)
python3 scripts/seed-sso.py   # configure Google SSO (needs Google client id/secret)

See running.md and sso-setup.md for detail.