Skip to content
  1. Home
  2. workspace
Checking…
Demo view — sanitized data only. Sign in over HTTPS to create projects and manage the workspace.

AI Engineering Workspace

Partial

Chat, files, terminal and preview in one place. Chat sessions run on a durable Postgres-backed queue (chat only: no tools or shell). Live models need an API key; the terminal is unavailable.

Project files

read-only

docs/ZOO-IAM-KEYCLOAK.md

1# Zoo IAM (Keycloak) client for Zoo Cloud Studio
2
3Create **one new client** in realm `zoo` on `https://iam.zoobd.com`. Do not edit any existing client (Zoo Connect etc.) and do not reuse their credentials.
4
5| Setting | Value |
6|---|---|
7| Client ID | `zoo-cloud-studio` |
8| Client type | OpenID Connect |
9| Client authentication | **On** (confidential) — Studio keeps the secret in its encrypted store; PKCE (S256) is used **in addition** |
10| Authentication flow | Standard flow (authorization code) **only**. Disable implicit, direct access grants, service accounts |
11| Valid redirect URIs (exact, no wildcards) | `https://cloud.zoobd.com/auth/callback` (final) and, while TLS is on the interim port, `https://cloud.zoobd.com:8443/auth/callback` |
12| Valid post-logout redirect URIs | `https://cloud.zoobd.com/` and `https://cloud.zoobd.com:8443/` |
13| Web origins | the same two origins (no `*`) |
14| Front-channel / back-channel logout | Back-channel logout URL: `https://cloud.zoobd.com/auth/backchannel-logout`, *Backchannel logout session required: on* |
15| Proof Key for Code Exchange method | `S256` (set "Proof Key for Code Exchange Code Challenge Method" = S256) |
16| Default scopes | `openid`, `profile`, `email` (nothing else is requested) |
17| Access token lifespan | ≤ 5 min; SSO session policy per Zoo IAM defaults |
18| MFA | Enforce the realm's MFA / `acr` policy. Studio accepts whatever Zoo IAM decides and records `acr`/`amr` when present |
19
20## What Studio does with the token
21- Authorization Code + PKCE (S256), random `state` and `nonce` bound to a short-lived, single-use, httpOnly pre-login cookie.
22- The ID token signature is verified against the issuer's JWKS (RS256/ES256 only; `alg=none` and HS* are refused); `iss`, `aud`=`zoo-cloud-studio`, `exp`, `nbf`, `iat`, `nonce` and `azp` are checked.
23- Stable identity key = **(`iss`, `sub`)**. E-mail is a display attribute only and is **never** used to link accounts or to grant roles. A new external identity gets *no* organization and *no* platform-admin right; an org owner must invite it, or a platform admin must link it explicitly.
24- A new session id is minted at every login (session fixation defence); the pre-login cookie is consumed.
25- Back-channel logout tokens are verified (same JWKS) and delete every Studio session of the `sid`/`sub`.
26
27## Studio configuration (Super Admin → Settings, or environment)
28`OIDC_ISSUER=https://iam.zoobd.com/realms/zoo`, `OIDC_REDIRECT_URI=https://cloud.zoobd.com/auth/callback`, and the client secret is entered once in Super Admin (stored AES-256-GCM encrypted, never shown again).
29
30Until the secret is provided, `/auth/login` answers *"Zoo IAM is not configured"* and nothing is contacted.
31

Conversation

Partial
Sign in to start AI sessions.

Task checklist

  • Application shell deployed
  • Persistent projects
  • Agent runtime
  • Sandboxed terminal

Execution activity

No agent sessions. Git HEAD 692573d on master.

Approval requests

None pending.