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
{{ message }}
Repository navigation
Commit 87aac98
Browse filesBrowse the repository at this point in the historyBrowse files
{route: 'POST /api/v1/auth/admin/scim/mint-credential',family: 'objectstack-mount',source: 'objectstack',disposition: 'server-only',requires: 'scim',note: 'no SDK method builds this URL — an operator script or the identity-provider setup posts it; mints the bearer a SCIM connection authenticates with (scim-connection-service.ts) and answers the plaintext once, Cache-Control: no-store — only its keyed one-way digest is stored, and nothing logs it; refused 503 SERVICE_UNAVAILABLE while SCIM is off; one sys_audit_log row per mint naming the admin and the connection, never the credential; platform-admin gated (ADR-0068), ADR-0134'},
256
256
{route: 'POST /api/v1/auth/admin/scim/revoke-credential',family: 'objectstack-mount',source: 'objectstack',disposition: 'server-only',note: 'no SDK method builds this URL — an operator script posts it with the credentialId the mint answered; switches that credential row inactive, so the SCIM verifier refuses its bearer from the next request on (rotation is a second mint for the same connection, then this); 404 for an unknown credential, 409 when already revoked; one sys_audit_log row per revoke naming the admin and the connection; served whether or not SCIM is on; platform-admin gated (ADR-0068), ADR-0134'},
257
-
{route: 'POST /api/v1/auth/admin/scim/set-group-mapping',family: 'objectstack-mount',source: 'objectstack',disposition: 'server-only',requires: 'scim',note: 'no SDK method builds this URL — an operator script posts it; saves one sys_idp_group_mapping row (a SCIM connection group, by externalId or displayName, to one permission set in the connection organization) and re-projects the connection so current members gain it; refused 400 VALIDATION_FAILED on permissionSet for any set outside the organization boundary (administrator sets, agent ceilings, superuser wildcards, adminScope, non-organization capabilities), judged by the security service; a re-save of the same group and set is idempotent in the connection organization, and refused 409 RESOURCE_CONFLICT naming the old mapping when that row lives in another organization (delete it first); 503 while SCIM or the security service is absent; one sys_audit_log row per save; platform-admin gated (ADR-0068), ADR-0134 D4'},
258
-
{route: 'POST /api/v1/auth/admin/scim/delete-group-mapping',family: 'objectstack-mount',source: 'objectstack',disposition: 'server-only',note: 'no SDK method builds this URL — an operator script posts it with the mappingId the save answered; deletes that sys_idp_group_mapping row and re-projects the connection so the grants it made go (with SCIM off nothing is re-projected and those grants stay until removed by hand; the answer says reprojected: false); 404 for an unknown mapping; one sys_audit_log row per delete; platform-admin gated (ADR-0068), ADR-0134 D4'},
257
+
{route: 'POST /api/v1/auth/admin/scim/set-group-mapping',family: 'objectstack-mount',source: 'objectstack',disposition: 'server-only',note: 'no SDK method builds this URL — an operator script posts it; saves one sys_idp_group_mapping row (a group, by externalId or displayName, to one permission set) for a SCIM connection (connectionId: in the connection organization, re-projected at once so current members gain it) or an SSO provider (providerId: in the provider organization, applied at each member next sign-in through that provider, from the userInfo.groups the provider mapping.extraFields fills; the answer says reprojected: false); exactly one of connectionId / providerId; refused 400 VALIDATION_FAILED on permissionSet for any set outside the organization boundary (administrator sets, agent ceilings, superuser wildcards, adminScope, non-organization capabilities), judged by the security service; a re-save of the same group and set is idempotent in the connection organization, and refused 409 RESOURCE_CONFLICT naming the old mapping when that row lives in another organization (delete it first); 503 while SCIM (connectionId), SSO (providerId) or the security service is absent; one sys_audit_log row per save; platform-admin gated (ADR-0068), ADR-0134 D4'},
258
+
{route: 'POST /api/v1/auth/admin/scim/delete-group-mapping',family: 'objectstack-mount',source: 'objectstack',disposition: 'server-only',note: 'no SDK method builds this URL — an operator script posts it with the mappingId the save answered; deletes that sys_idp_group_mapping row; a SCIM mapping re-projects the connection so the grants it made go (with SCIM off nothing is re-projected and those grants stay until removed by hand; the answer says reprojected: false), an SSO mapping removes at once the grants its provider projected for that set in that organization unless another of the provider mappings still names it (then each member next sign-in decides); 404 for an unknown mapping; one sys_audit_log row per delete; platform-admin gated (ADR-0068), ADR-0134 D4'},
259
259
{route: 'POST /api/v1/auth/admin/sso/register',family: 'objectstack-mount',source: 'objectstack',disposition: 'server-only',requires: 'sso',note: 'no SDK method builds this URL — the sys_sso_provider register action posts flat form fields; ObjectStack bridge re-dispatching into @better-auth/sso /sso/register, platform-admin gated ahead of the delegation (ADR-0068 D4), so registering an identity provider never rests on the vendor\'s own check alone. Distinct path from the vendor\'s own /sso/register, which the catch-all serves'},
260
260
{route: 'POST /api/v1/auth/admin/sso/register-saml',family: 'objectstack-mount',source: 'objectstack',disposition: 'server-only',requires: 'sso',note: 'no SDK method builds this URL — the sys_sso_provider register_saml_provider action posts flat fields the bridge reshapes into better-auth\'s nested samlConfig; platform-admin gated ahead of the delegation (ADR-0068 D4), ADR-0069 P3'},
261
261
{route: 'POST /api/v1/auth/admin/sso/request-domain-verification',family: 'objectstack-mount',source: 'objectstack',disposition: 'server-only',requires: 'sso',note: 'no SDK method builds this URL — the sys_sso_provider action posts it and renders the returned DNS TXT record; ObjectStack bridge over @better-auth/sso, additionally gated on the opt-in ssoDomainVerification switch (OS_SSO_DOMAIN_VERIFICATION) — off means the inner endpoint 404s, the mount itself is unconditional; platform-admin gated (ADR-0068 D4), ADR-0135 D6'},
0 commit comments