Liquidity Docs

The Liquidity Rebrand & Upstream Tracking

Liquid IAM is Casdoor with a Liquidity skin and a few functional fixes. This

Liquid IAM is Casdoor with a Liquidity skin and a few functional fixes. This documents exactly what the fork changes so it can be re-based on future Casdoor releases.

Upstream tracking

  • Base: Casdoor v3.108.0 (recorded in UPSTREAM_REF).
  • Remotes: origin = liquidity-alt/liquid-iam; upstream = casdoor/casdoor.
  • Branch: rebrand/liquidity-iam.
  • License / attribution: Apache-2.0 retained; NOTICE credits Casdoor and lists the Liquidity modifications (rebrand + local/stack integration config).

To re-base: bump UPSTREAM_REF, merge the upstream tag, and re-apply the changes below (they are small and localized).

What the fork changes

Branding

  • Name: "Liquidity IAM" (footer getDefaultFooterContent() in web/src/Setting.js).
  • Logo: web/public/liquidity-logo.svg (dark-ink wordmark for light backgrounds) and liquidity-logo-dark.svg (white wordmark for dark). Selected by getLogo(themes) in Setting.js - dark theme uses the white variant, else the dark-ink variant (fixes the logo being invisible on white).
  • Theme: brand blue #0E7DE0.
  • Casdoor hyperlinks stripped from the UI; email-template footer points to https://liquidity.io.

Functional fixes

  • Google account chooser: web/src/auth/Provider.js getAuthUrl() appends &prompt=select_account for the Google provider, so users can switch accounts after logout (otherwise Google silently reuses the signed-in account).
  • Single-SSO login: the transfer-agent application shows only the Logo + Providers sign-in items (password/other hidden) via signinItems visibility - applied by seed-sso.py.

Added tooling

  • scripts/seed-sso.py - idempotent SSO seeding (Google provider + single-SSO app config; secrets from env; retries on SQLITE_BUSY). See sso-setup.md.
  • docs/liquidity-iam.md - the original run/integration runbook (this docs set supersedes and expands it).

Build note

The React frontend uses Create React App, which breaks on Node 26+. The Dockerfile pins Node 20.20.1, so always build via Docker (--target STANDARD) rather than on the host. See running.md.