You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(objectos): bump @objectstack 12.4 -> 14.7 and refresh docs for the 13/14 releases
apps/objectos/package.json pins all @objectstack/* to 14.7.0 (was 12.4.0).
Verified: pnpm resolves 14.7.0 everywhere, 'objectstack compile' passes the
new ADR-0090 security-posture gate, tsc --noEmit is clean, and the runtime
smoke test boots and serves /api/v1/health. The 12.1 projectResolution
workaround in objectstack.config.ts is still required on 14.7 (verified
against the shipped validator) — comment updated accordingly.
Docs (en + zh-Hans; other locales await the translation sync):
- configure/permissions: Roles page renamed to Positions (roles/profiles
converged per Permission Model v2, ADR-0090) with everyone/guest anchors,
effective-dated grants and delegation; overview/permission-sets/
record-access updated for private-by-default sharing, adminScope
delegated administration, the explain engine and object-qualified FLS keys
- build/data-model: enforced enable.* capability flags (v14) and the
lifecycle retention contract (ADR-0057)
- configure/authentication: phone/SMS OTP sign-in and admin user
management/bulk import (14.3)
- configure/api-access: self-serve OAuth 2.1 for MCP clients and the
scope-derived permission ceiling (13.0/14.5)
- reference/security, cli, environment-variables: Permission Model v2
layering, security lints and access-matrix gate, os db clean,
OS_LIFECYCLE_DISABLED / OS_TELEMETRY_DB
- resources/changelog: 12.x-14.x release-train highlights, support windows
and compatibility matrix moved to 14.x
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LTAZUKc9W5BFjPtctGeZwd
Copy file name to clipboardExpand all lines: content/docs/configure/api-access.mdx
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,13 +45,14 @@ Both are enforced at the REST layer — see
45
45
46
46
## Authentication options
47
47
48
-
Callers can authenticate in three ways:
48
+
Callers can authenticate in four ways:
49
49
50
50
| Method | Best for | How |
51
51
|---|---|---|
52
52
| Session cookie | Browser/UI traffic | Sign in through `/api/v1/auth/*`; cookies are scoped to the project hostname |
53
53
| Bearer access token | Mobile, SPA, short-lived server jobs | Exchange credentials at `/api/v1/auth/sign-in/email` and pass `Authorization: Bearer <token>`|
54
54
| API key | Server-to-server, ETL, long-lived integrations | Create a `sys_api_key`, pass it as a bearer token |
55
+
| OAuth 2.1 (MCP) | AI agents / MCP clients acting as a signed-in user | Self-serve authorization-code + PKCE flow against the deployment itself |
55
56
56
57
All three pass through the same `AuthPlugin` and resolve to a `sys_user`
57
58
context that the `SecurityPlugin` evaluates against permissions and
@@ -95,6 +96,28 @@ To revoke a key, run the `revoke_api_key` action on the corresponding
95
96
`sys_api_key` record (also available in the Console UI). Revocation takes
96
97
effect immediately on the next request.
97
98
99
+
## MCP clients & OAuth 2.1 (ObjectStack 13+)
100
+
101
+
Any OAuth-capable MCP client — Claude.ai custom connectors, Claude
102
+
Desktop, Claude Code — can connect **self-serve**, without an admin
103
+
minting API keys:
104
+
105
+
- Each deployment acts as its own authorization server (backed by the
0 commit comments