---
title: "Enterprise auth: SSO, SCIM, RBAC, audit export"
description: "Organizations with RBAC, SAML and OIDC SSO, SCIM 2.0, API keys, tenant tagging, audit export to webhook or Splunk, GDPR tools and compliance mapping."
canonical: https://theauth.dev/enterprise/
lastmod: 2026-10-31
---

Enterprise

# Enterprise controls, self-hosted

Organizations, SSO, directory sync and audit export in the same MIT-licensed library as agent identity. You run it, so the data stays in your database.

[Talk to us in Discussions](https://github.com/glincker/theauth/discussions) [Quickstart](https://docs.theauth.dev/quickstart)

## Enterprise datasheet

**Datasheet**TypeScript core unless noted

Identity and access

Audit and data

Go also ships a SAML 2.0 service provider, SCIM 2.0 and RBAC. See the [Go package](https://pkg.go.dev/github.com/glincker/theauth-go/v2).

SSO connections link an organization to an identity provider over SAML 2.0 or OIDC, and a SCIM 2.0 endpoint takes users and groups from the customer's directory. Agents can carry a tenantId so you can list them by tenant; enforcing tenant boundaries stays in your own resource checks.

audit.go

```go
sink, err := splunkhec.New("https://splunk.example.com:8088", os.Getenv("SPLUNK_HEC_TOKEN"))
if err != nil {
    log.Fatal(err)
}

a, _ := theauth.New(theauth.Config{
    Storage: store,
    BaseURL: "https://myapp.com",
    Audit: &theauth.AuditConfig{
        Sinks: []theauth.AuditSink{sink},
    },
})
```

Audit export

## Stream audit events to your SIEM

The Go audit log is append-only and asynchronous. If the buffer fills, events are dropped and counted rather than slowing sign-in. A failing sink never blocks storage writes.

Compliance mapping

## Mapped, not certified

These are evidence aids for your own assessment. theAuth holds no certification against any of them.

- EU AI ActAudit records for record-keeping (Article 12), approval gates and depth limits for human oversight (Article 14).mapping
- NISTIdentity provenance, least-privilege permissions, revocation and expiry, audit trail.mapping
- SOC 2Access control, agent limits, role-based grants and event logging mapped to CC6 and CC7.mapping
- ISO 42001Logged inputs, results and durations mapped to Annex A.8.mapping

Contact

No sales channel is documented. Questions about enterprise needs go to [GitHub Discussions](https://github.com/glincker/theauth/discussions). Pricing is on the [pricing page](https://theauth.dev/pricing/).

- [Security](https://theauth.dev/security/)
- [Human auth](https://theauth.dev/human-auth/)
- [Agent identity](https://theauth.dev/agent-identity/)
- [Trust on the homepage](https://theauth.dev/#trust)
