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 inNOTICE) - Default local URL / issuer:
http://localhost:8000
Last updated: 2026-07-15.
Contents
| Doc | Covers |
|---|---|
| architecture.md | What it is, how it's built, deployment topology |
| running.md | Build + run locally (Docker/SQLite), config, admin login |
| oidc.md | OIDC/OAuth2 endpoints, login + logout flows, token verification |
| sso-setup.md | The seed-sso.py script + Google Cloud Console setup checklist |
| integration.md | Onboard a new app (org/app/provider model) + reference integrations |
| rebrand.md | The Liquidity rebrand, assets, the Google account-chooser fix, upstream tracking |
| production.md | Production 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 party | How |
|---|---|
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 apps | Register 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.