Repository navigation
Turnkey experience, pluggable persistence, HTMX console, observability, webhooks, and B2B multi-tenancy release.
Quick Start (10 seconds, zero dependencies)
curl -fsSL https://raw.githubusercontent.com/arturoeanton/goscim/main/scripts/install.sh | sh
goscim -demo
# Open http://127.0.0.1:8080/uiOr via Docker:
docker run --rm -p 8080:8080 ghcr.io/arturoeanton/goscim:1.4.0 -demoAdded
- Zero-dependency
-demomode &SCIM_STORE=memory:goscim -demostarts in milliseconds from any working directory using embedded default schemas (config/embed.go), seeds sample SCIM 2.0Usersand nestedGroups(demonstratingdirectandindirectUser.groupsmemberships), enables/ui, and prints ready-to-runcurlandgoscim conformancecommands. - Embedded SQLite store (
SCIM_STORE=sqlite,SCIM_SQLITE_PATH): pure-Go (modernc.org/sqlite,CGO_ENABLED=0) ACID single-file persistence inWALmode supporting atomicuniqueness: serverand cross-tenantuniqueness: globalclaims without external database infrastructure. - Embedded HTMX Web Console & Live Traffic Inspector (
/ui,-ui/SCIM_UI=true): air-gapped single-binary UI (with vendored HTMX 2.0.4 and optionalSCIM_UI_TOKENguard) featuring live telemetry cards,Users/Groups/Elementsdirectory CRUD, an interactive SCIM-to-N1QL filter playground, a 200-entryngrok-style live request/response inspector (with automatic secret redaction), and a one-click conformance runner. Seedocs/ui-and-webhooks.md. - Prometheus metrics endpoint (
GET /metrics): zero-dependency Prometheus 0.0.4 text exposition (goscim_build_info,goscim_store_up,goscim_http_requests_total,goscim_http_request_duration_seconds,goscim_auth_failures_total,goscim_uniqueness_conflicts_total,goscim_webhook_deliveries_total), enabled by default (SCIM_METRICS) with optional constant-time Bearer protection (SCIM_METRICS_TOKEN). - Automatic Couchbase secondary N1QL (
GSI) indexes:EnsureResourceIndexes(SCIM_COUCHBASE_AUTO_INDEX, enabled by default) inspects loaded JSON schemas at startup and createsIF NOT EXISTSsecondary indexes for_scim_tenant,externalId,uniqueness: server|globalattributes (LOWER(...)whencaseExact: false), andDISTINCT ARRAYindexes for multi-valued complex.valuesub-attributes. - Signed outbound CloudEvents 1.0 webhooks:
SCIM_WEBHOOK_URLS,SCIM_WEBHOOK_SECRET(X-SCIM-Signature-256: sha256=<hmac>),SCIM_WEBHOOK_EVENTS, andSCIM_WEBHOOK_MAX_RETRIES, with per-resource shard ordering,io.goscim.user.deactivatedtransition detection, exponential retries on429/5xx, and schema-aware stripping ofreturned: "never"fields. - Live conformance verifier (
goscim conformance): CLI subcommand (-url,-token,-basic,-profile all|rfc|entra|okta|keycloak,-json) and programmaticscim.RunConformancerunner verifying live SCIM 2.0 servers end to end and cleaning up all temporary records. - Native B2B SaaS multi-tenancy:
/tenants/:tenant/scim/v2/...URL routes plus credential-bound tenant isolation via@<tenant>inSCIM_BEARER_TOKENS,SCIM_BEARER_TENANT, andSCIM_JWT_TENANT_CLAIM, isolating resources, searches,/Bulk,Group.members <-> User.groups, anduniqueness: serverper tenant acrosscouchbase,sqlite, andmemorystores. - Release, installer, Keycloak lab, and Helm chart:
.goreleaser.yaml,.github/workflows/release.yml(multi-OS/arch binaries + multi-archghcr.io/arturoeanton/goscimimage),scripts/install.sh,docker-compose.keycloak.yml+deploy/keycloak/goscim-realm.json, andcharts/goscim/.
Full Changelog: v1.3.0...v1.4.0