Deployment & External Configuration
Everything that must be configured outside the codebase - SSO wiring, Google Cloud OAuth, the IAM application, DNS/TLS, and secrets.
Everything that must be configured outside the codebase for the platform to
work: SSO wiring, Google Cloud OAuth, the Liquid IAM application, DNS/TLS, and
secrets. Replace iam.example.com / app.example.com with the real hostnames.
Read the per-service docs first for what each piece is: components · devnet-bridge · IAM.
1. SSO wiring
Three sides must agree on the same issuer URL and the same client id:
| Where | Setting |
|---|---|
| Liquid IAM | origin / originFrontend = the public issuer URL |
| Console | VITE_OIDC_ISSUER, VITE_OIDC_CLIENT_ID, VITE_OIDC_ORG_NAME=liquidity, VITE_OIDC_APP_NAME=transfer-agent |
Backends (ta-api, subledger-api) | TA_OIDC_ISSUER_URL, TA_OIDC_CLIENT_ID |
If the issuer URLs do not match exactly (scheme/host/port), token verification
fails. The client id comes from the transfer-agent application in Liquid IAM.
2. External-config checklist
Everything here lives in third-party consoles or host configuration.
2.1 Google Cloud Console (OAuth)
The Google OAuth client is what actually authenticates users; Liquid IAM delegates to it.
- Create (or reuse) a project in Google Cloud Console.
- Configure the OAuth consent screen (Internal, if the org is Google
Workspace
satschel.com, so only org users can consent). - Create an OAuth 2.0 Client ID of type Web application.
- Authorized JavaScript origins = the IAM origin (
https://iam.example.com). - Authorized redirect URIs = the IAM callback (
https://iam.example.com/callback) - the IAM's, not the console's. - Copy the Client ID and Client secret; provide them to Liquid IAM
via
GOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET(env only, never committed). - Confirm access is limited to
@satschel.com(Internal consent screen and/or the provideremailRegexin IAM).
The redirect URI points at IAM's
/callback, because Google returns to IAM; IAM then returns to the console's/callback.
2.2 Liquid IAM application
For the transfer-agent application in the liquidity org:
-
origin/originFrontendset to the public issuer URL, matching what the console and backends use. - Redirect URIs include the console origin's
/callback(https://app.example.com/callback). - Post-logout redirect URIs include the console origin root
(
https://app.example.com), so RP-initiated logout can redirect back. - Grant types include
authorization_codeandrefresh_token. - Google provider (
google-satschel) created with the Google client id/secret andemailRegexgating@satschel.com, linked to the app. -
enablePassword=false(SSO only); change the default admin password.
See the Liquid IAM SSO setup and production hardening guides.
2.3 DNS / host / TLS
- DNS records for the hosted hostnames (IAM, console, and the Devnet backend).
- TLS certificates for those hostnames. The OIDC issuer must be HTTPS - browsers and the backend verifier require it.
- The IAM issuer (
origin) equals the public HTTPS URL exactly. - Run the services as durable, managed processes.
2.4 Secrets & data stores
-
GOOGLE_CLIENT_SECRET- provided to IAM via env; never commit. -
WALLET_API_KEY- the devnet wallet-api Bearer key is a short-lived JWT; plan to refresh it (secret manager), or the bridge will start returning 401. -
DATABASE_URLfor the devnet bridge (devnet holder database credentials). -
TA_DATABASE_URL/TA_REDIS_URLforta-api. - For IAM, use Postgres (not SQLite) and run as a non-root user in production.
3. Post-deploy smoke test
-
GET https://iam.example.com/.well-known/openid-configurationreturns the discovery doc withissuer== the configured issuer URL. - The console loads and shows the branded login screen.
- "Continue with Google" -> account chooser -> back to the console, signed in; the profile menu shows the operator's email.
- The Operations Log and other screens load. If a cross-origin backend is
used, confirm its CORS allows the
Authorizationheader. - Sign out lands back on the login screen (not a JSON page); signing in again offers the account chooser.
- The environment toggle switches backends and each serves its data.
Third-Party Services & Libraries
Everything the Transfer Agent touches outside its own code: external services,
API: `ta-api` (core)
The core Transfer Agent API: operator auth, identity, compliance, lifecycle, operations, register, corporate actions, trading & settlement, the MPC ceremony proxy, audit, reports, reconciliation.