SCIM interoperability evidence
The matrix targets the PostgreSQL-backed SCIM service-provider adapter. It pins draft-zollner-scim-interop-profile-02, published November 2, 2026. The draft remains work in progress. This matrix records the implemented RFC profile and the remaining differences from the pinned draft. It does not claim full draft profile conformance.
Inventory and evidence
The source inventory is spec/requirements/scim-interop-02.json (spec/requirements/scim-interop-02.json).
Each row identifies a draft section, requirement strength, scope, expected status, probe, and coverage note.
The inventory distinguishes these results:
| Status | Meaning |
|---|---|
passed |
An executable probe verifies the precise behavior described by that row. |
unsupported |
An executable probe verifies a known difference from the draft requirement. |
untested |
The suite does not establish the behavior; the row explains the missing evidence. |
Passing rows cover their stated cases, not every possible input or an entire draft section. Conditional rules for unadvertised attribute types remain untested, with that condition stated explicitly. Deployment and client obligations remain visible even though the in-process server suite cannot establish them.
The matrix exercises the real Axum routes and PostgreSQL provisioning store. Every probe uses fresh organization and directory identifiers in the selected test database. Authentication discovery is disabled for these protocol tests; upstream SAML and OIDC behavior has separate suites.
The evidence report records the implementation version, pinned draft, timestamp, transport, storage, counts, and observations for every row.
It contains no directory credentials or database URLs.
Its path defaults to work/scim-interop-report.json.
SCIM_MATRIX_REPORT_PATH selects another report destination.
Run the matrix
Start the local PostgreSQL fixture:
docker compose up -d --wait postgresRun the dedicated command:
npm run test:scim:interopThe command uses the dedicated enterprise_test database by default.
Set TEST_DATABASE_URL to select another isolated test database.
The command supplies the public fixture credential hashes.
It does not reset or truncate a database.
The regular bash scripts/test.sh gate runs the same matrix and checks the generated report.
The report checker also keeps the documented table consistent with the source inventory.
CI preserves the JSON report as the scim-interop-profile-02 artifact, including after a probe failure.
The report checker rejects inconsistent counts, missing inventory rows, stale expectations, and reported regressions.
Coverage boundaries
Passing probes cover authenticated discovery, schema references, ASCII case rules, equality lookup, uniqueness errors, stable resource addressing, and SCIM JSON responses. They also cover User and Group pagination, atomic PATCH, supported collection operations, deactivation, deletion visibility, username reuse, and committed write visibility.
Known differences include draft profile discovery, pagination discovery, and oversized page handling. The runtime also reserves immutable external IDs after deletion for identity continuity. That behavior needs an explicit security and compatibility decision before any change.
Untested areas include Unicode PRECIS behavior, complete email comparison semantics, draft-specific simple-collection removal, and other PATCH constraint combinations. Production TLS and ingress rate limiting also need deployment evidence. The matrix does not certify the TypeScript SDK or external SCIM clients against client-side profile requirements. The source inventory gives the exact coverage and reason for each row.
Reviewed matrix baseline
The initial November 10, 2026 run records 24 passing rows, 10 unsupported rows, and nine untested rows. The November 12 implementation records 32 passing rows, four unsupported rows, and eight untested rows.
These are coverage counts, not a percentage of draft compliance.
| ID | Draft section | Status | Behavior |
|---|---|---|---|
claim-guard |
4 | passed |
No unsupported draft conformance claim |
profile-discovery |
4 | unsupported |
Discoverable draft profile identifier |
discovery-auth |
5.1 | passed |
Credentials protect configuration discovery |
discovery-catalog |
5.1 | passed |
Resource names and schema references agree |
username-case |
5.2 | passed |
Username filtering and uniqueness use consistent case rules |
identifier-case |
5.2 | passed |
Server IDs and external IDs preserve case |
unicode-precis |
5.2 | untested |
Unicode username preparation and comparison |
email-value-case |
5.2 | untested |
Case-insensitive email value comparisons |
unknown-schema |
5.3 | passed |
Undefined attributes and schema URIs produce precise errors |
readonly-write |
5.3 | passed |
POST and PUT ignore server-owned values |
typed-values |
5.4 | passed |
Typed values agree with advertised restrictions |
resource-address |
6.1 | passed |
Stable ID addressing without username aliases |
media-types |
6.2 | passed |
Success and error documents use SCIM JSON |
equality-filters |
6.3 | passed |
Equality lookup and unsupported filter errors |
conjunction-filters |
6.3 | passed |
Conjunction filters |
attribute-exclusion |
6.3 | passed |
Exclude selected response attributes |
index-pagination |
6.4 | passed |
Stable index pages with an empty final page |
pagination-discovery |
6.4 | unsupported |
Pagination capability discovery |
pagination-limit |
6.4 | unsupported |
Clamp oversized requested pages to the server limit |
cursor-rejection |
6.4 | passed |
Reject unsupported cursor query parameters |
default-page-capacity |
6.4 | untested |
Default page size and capacity on larger datasets |
patch-atomic |
6.5 | passed |
Atomic multi-operation updates |
patch-operation-case |
6.5.1 | passed |
Accept case variations of operation names |
singular-equivalence |
6.5.2.1 | passed |
Singular add and replace have equivalent effects |
complex-merge |
6.5.2.1 | passed |
Whole-complex updates preserve omitted subattributes |
collection-operations |
6.5.2.2 | passed |
Replace, idempotent add, and clear email collections |
filtered-no-target |
6.5.2.2 | passed |
Unmatched filtered replacement returns noTarget |
filtered-remove |
6.5.2.2 | passed |
Removing an absent element succeeds without changes |
group-members |
6.5.2.2 | passed |
Group member add and filtered remove are idempotent |
simple-multivalues |
6.5.2.2 | untested |
Filtered removal from writable simple-value collections |
patch-error-types |
6.5.3 | passed |
PATCH filter operator errors use invalidFilter |
patch-other-constraints |
6.5.3 | untested |
Other PATCH constraint and error combinations |
deactivation-retains |
6.6 | passed |
PATCH deactivation retains the resource |
deletion-hides |
6.6 | passed |
Deleted resources disappear from ID operations and lists |
username-reuse |
6.6 | passed |
Deleted usernames can identify new resources |
external-id-reservation |
6.6 | unsupported |
Release enforced unique client identifiers after deletion |
conditional-headers |
6.7 | passed |
Reject unevaluated conditional request headers |
write-visibility |
6.7 | passed |
A successful write is visible after its response |
bulk-optional |
6.8 | passed |
Optional bulk-operation interoperability |
uniqueness-errors |
6.9 | passed |
Uniqueness conflicts use 409 and the SCIM uniqueness type |
rate-limiting |
6.9 | untested |
Deployment rate limits and Retry-After behavior |
tls-transport |
7 | untested |
TLS and deployment security profile |
client-obligations |
6.2-6.9 | untested |
SDK and external-client profile obligations |
general-rfc-profile |
5.1 | passed |
Custom schemas, typed queries, projections, ETag races, and bulk references |
Failure and release interpretation
A green run means the implementation matches the reviewed matrix baseline. An expected unsupported result is evidence of a gap, not a conformance pass. Unexpected responses, failed assertions, and changed observed statuses fail the test run. The runner still writes a report with failed rows when a probe fails. A behavior change needs a corresponding reviewed inventory update. A report-only status edit cannot turn a failed probe into passing evidence.
Before release candidate acceptance, record a disposition for each unsupported or untested row. Fix violations of the published capability contract as stabilization work. New draft capabilities require an explicit scope decision. Keep the documented supported SCIM profile accurate throughout that process. Only advertise a profile identifier after all applicable requirements and deployment evidence support that claim.
See the v1 plan (docs/v1-plan.md) for the standards review and mandatory release gates.
The general-profile probe also checks failOnErrors, operation limits and payload limits.
Excess bulk operations and payloads return HTTP 413 with the exceeded limit, as specified by RFC 7644 section 3.7.4.
The PostgreSQL regression general::bulk_reauthenticates_after_a_credential_is_revoked_during_an_operation holds an authorized first operation, commits credential revocation and verifies rejection of the next operation.
This boundary permits an operation authenticated before revocation to finish; dependency-deferred work authenticates again.