Auth0 vs Keycloak for SOC 2 and ISO 27001 audits

Auth0 brings vendor SOC 2 Type 2 and ISO 27001 reports, with log retention set by plan. Keycloak keeps identity inside your own audit boundary, and your team produces the evidence. The auditor's view of vendor reports decides much of it.

On this page

Auth0 vs Keycloak for SOC 2 and ISO 27001 audits: which side fits

Auth0 fits when a vendor's audited report can cover the identity layer within your SOC 2 or ISO 27001 scope, and your team accepts tenant logs held by the vendor on a plan-based retention schedule. Keycloak fits when identity must stay inside your own boundary and your team will own the controls and evidence. This page covers only the compliance angle; the general Auth0 vs Keycloak comparison is on its own page. The decision turns on three questions: whether the auditor will accept a vendor report for the part of the system the vendor runs, how long logs must be retained, and who will operate the platform day to day.

On the Auth0 side, the vendor's documentation describes an annual SOC 2 Type 2 audit by an independent auditor covering all five Trust Services Criteria, with the report available through the Support Center's Compliance option. It also describes an annual ISO 27001, 27017 and 27018 audit, with certificates and, under NDA, the Statement of Applicability available there. Those reports cover the vendor's own controls, so your auditor will still ask about tenant administrator access, change approval and how the vendor report maps to your system description. Log retention is the sharper constraint: tenant logs are kept 1 day on Starter, 5 days on Essentials, 10 days on Professional and 30 days on Enterprise. If your retention period is longer, confirm in writing whether log streaming to your own store meets it before you commit. See the Auth0 log retention page for the current terms.

On the Keycloak side, the evidence is yours to produce. The Keycloak Server Administration Guide documents auditing of user events and admin events, which are the main sources for sign-in and configuration change evidence, along with passkey, recovery code and TOTP/HOTP options and brute force lockout. Those are features. Your team still has to document the production database (Keycloak requires a relational database in production), set how long event records are kept, run periodic reviews of realm administrators, and name who owns upgrades and patching. DeployOpen prepares systems, controls and evidence for these assessments, but independent auditors and certification bodies issue the reports.

Which side fits which audit situation

Each card pairs an audit situation with the platform it points to and the condition that would change that answer. The four situations turn on one question: who produces the evidence an assessor samples, and who operates the system that produces it. Confirm each condition with the vendor, your auditor and your own log retention before you rely on it.

Vendor reports must cover identity

Auth0 fits when your auditor expects the identity provider to sit inside a third party's assurance. Auth0 documents an annual SOC 2 Type 2 audit covering all five Trust Services Criteria, plus annual ISO 27001, 27017 and 27018 audits, with reports available through its Support Center. The vendor's SOC 2 Type 2 and ISO reports cover the identity layer only for the product and plan you buy, so with Keycloak you write and evidence every identity control yourself. The condition that changes the answer: confirm the report's scope names your Auth0 product, plan and region, and agree with your auditor how the vendor report feeds your own scope.

Auth0 compliance docs

Identity data stays in your environment

Keycloak fits when identity data and admin tooling must run inside your own cloud account, data center or air-gapped network. You host the server, so the evidence of where data lives comes from your own infrastructure records. Auth0's standard offering is multi-tenant public cloud. Its Private Cloud option is a dedicated managed deployment on AWS or Azure for isolation or guaranteed capacity, and the supplied documentation does not show it running inside your account or on an air-gapped network. Confirm with Auth0 whether Private Cloud meets your residency and admin-access rules, and whether it is included in your plan, since private deployment is an Enterprise add-on.

Auth0 Private Cloud

Small team without database skills

Auth0 fits a small platform group that has no database or Kubernetes operations skills. Keycloak needs a relational database in production, and its Operator for Kubernetes and OpenShift is installed through Operator Lifecycle Manager or kubectl, so someone on your team must own backups, upgrades and patching of both. With Auth0, the vendor runs the service and you configure it. The condition that changes the answer: if you already operate PostgreSQL and a Kubernetes platform with tested restores, Keycloak's operating load drops and its control benefits may justify it. Ask any Auth0 quote for the monthly active user count and plan tier, since the Free plan has limits and some features sit only on higher plans.

Keycloak Operator installation

Auditor samples admin changes directly

Keycloak fits when your auditor will sample administrator changes from your own records. Keycloak's Server Administration Guide documents auditing of user events and admin events, the main sources of audit evidence for sign-in and configuration changes, and you decide where they are stored and for how long. Auth0's tenant logs cover tenant administrator actions and Management API operations, but log retention on Enterprise plans is 30 days, so an older sample needs a log stream to your own analysis tool or webhook. The condition that changes the answer: if your Auth0 log stream keeps records for the full audit period, the admin trail is equally sampleable. Confirm retention and export before the audit window opens.

Auth0 log retention

What SOC 2 and ISO 27001 ask of an identity and SSO platform

A SOC 2 examination tests a service organization's controls against the AICPA 2017 Trust Services Criteria, in the version with revised points of focus published in 2022. Security applies to every SOC 2 through the common criteria CC1 to CC9, and the availability, processing integrity, confidentiality and privacy categories are added only when they are in scope. For identity work, the logical access criteria in CC6 are where sign-in, provisioning and removal get tested, so list the applications, realms and tenants the report covers before the observation window starts. A Type 1 report describes the system and states whether controls were suitably designed as of one date. A Type 2 report adds an opinion on whether those controls operated effectively over a period. That difference is why identity controls are tested over time: an assessor will sample MFA enforcement, account removals and administrator changes from throughout the observation window.

ISO/IEC 27001:2022 is a management system standard, and its Annex A lists 93 controls in four themes: organizational (37 controls), people (8), physical (14) and technological (34). Identity work lands mostly in the technological theme, where control 5.16 covers identity management, 5.18 covers access rights, 8.5 covers secure authentication and 8.15 covers logging. The people theme touches onboarding, role changes and offboarding, so those steps need records too. ISO does not certify organizations. Accredited certification bodies do, and a certification cycle lasts three years with at least one audit in every calendar year, which means surveillance audits fall in the years between initial certification and recertification. Ask your certification body early which Annex A controls it will sample and which identity records it expects.

Translate both standards into four questions. Who can sign in: set the MFA and passkey policy, configure the temporary and permanent lockout that Keycloak's brute force protection documents, and keep those settings as evidence. How access is granted and removed: confirm that a leaver removed from the directory or identity source also loses SSO access. Administrator changes: enable Keycloak's admin events and user events and ship them to storage you control. Auth0's tenant logs cover administrator actions, Management API operations and user authentications, but Auth0 log retention keeps them only 1 day on Starter and 30 days on Enterprise, so export them to cover a full Type 2 period. Vendor assurance: Auth0 makes its annual SOC 2 Type 2 report available through its Support Center, while self-hosted Keycloak comes with no vendor report, so your own patch records and change tickets become the evidence.

How Auth0 and Keycloak each meet the identity controls as documented

This table sets out what Auth0 and Keycloak document for each identity control an auditor is likely to examine. Read the Keycloak column as evidence your team must produce from its own deployment, and treat each item marked to confirm as a question for the vendor before fieldwork starts. The main takeaway is that Auth0 supplies much of the assurance and log evidence as a managed service, while Keycloak gives you the controls and leaves the evidence to you.

Requirement areaAuth0 as documentedKeycloak as documented
Vendor assurance reportAnnual SOC 2 Type 2 report by an independent auditor covering all five Trust Services Criteria. Request it through the Support Center Compliance option.No assurance report covers the product itself. The assessor examines your organization's deployment instead.
ISO certificatesAnnual ISO 27001, 27017 and 27018 audit. Certificates via the Support Center; Statement of Applicability available under NDA.Certification covers your organization's ISMS and its scope. Confirm with your certification body how Keycloak sits in that scope.
Audit trail of admin and sign-in eventsTenant logs cover administrator actions, Management API operations and user authentications.Auditing tracks user events and admin events, the main sources of sign-in and configuration evidence.
Log retentionTenant logs kept 1 day on Starter, 5 on Essentials, 10 on Professional, 30 on Enterprise. Confirm current plan names with Auth0.Event retention is set by your organization. Confirm expiry and storage design with your Keycloak platform team.
Log exportLog streaming sends tenant logs to analysis tools or a custom webhook stream.Export runs through your own log pipeline. Confirm with your platform team how events reach your SIEM.
MFA optionsConfirm with Auth0 which MFA factors and enforcement options your plan includes.Passkeys, recovery codes, TOTP and HOTP, plus WebAuthn and OTP policy configuration.
Brute force protectionConfirm with Auth0 which attack protection and lockout controls your plan includes.Temporary and permanent lockout of accounts after failed sign-ins. Set thresholds to your policy.
Data location and deployment modelPrivate Cloud is dedicated managed hosting on AWS or Azure. Private deployment add-on is Enterprise only. Confirm region and encryption settings with Auth0.You choose the region, hosting and encryption of the Apache-2.0 server you deploy.
Release and patchingAuth0 operates the service. Confirm release notice, patch windows and change process with Auth0.Current release 26.8.1, published October 13, 2026. Four minor releases a year; breaking changes in minors are opt-in.

What each vendor covers and what your team still configures and evidences

Auth0 is a vendor-operated service, so its audit reports describe the platform, while your team still configures the tenant, keeps its logs and reviews admin access. Keycloak is software you run, so the project supplies code and releases, and your team owns hosting, the database, logging and the evidence an assessor will ask for.

Auth0 vendor responsibilities

Auth0 undergoes a SOC 2 Type 2 audit each year by an independent auditor, covering all five Trust Services Criteria, and the report is available through the Support Center's Compliance option. It also has an annual ISO 27001, 27017 and 27018 audit, with certificates available through the Support Center and the Statement of Applicability available under an NDA. These reports cover the platform, so they say little about how your tenant is configured. Auth0 has been part of Okta since May 3, 2021, so ask which entity's reports and subprocessor list cover the Auth0 product line.

Auth0 compliance docs

Your Auth0 configuration and evidence

Your team sets the tenant and MFA configuration and chooses the plan, and the plan sets the log window: tenant logs are kept 1 day on Starter, 5 days on Essentials, 10 days on Professional and 30 days on Enterprise. The logs cover tenant administrator actions, Management API operations and user authentications, so schedule log pulls or log streaming to your analysis tools before the window closes. Review administrator access on a fixed schedule, remove administrators and applications when people or systems leave, and confirm which report scope applies to the plan you buy.

Auth0 log retention

Keycloak project responsibilities

Keycloak is licensed under Apache-2.0, and the project publishes documented releases, with Keycloak 26.8.1 released on October 13, 2026 as the current release. Since Keycloak 26.0 the project plans four minor releases a year, and breaking changes in a minor release are opt-in. The Keycloak Operator for Kubernetes and OpenShift installs through the Operator Lifecycle Manager or kubectl, and the documentation sets the configuration baseline. Nothing the project publishes stands in for an audit of your deployment, so record the release you run and the configuration you changed.

Keycloak releases page

Your Keycloak hosting and evidence

Your team owns the hosting, a production database such as PostgreSQL 14 to 18 (the default dev-file database is unsuitable for production), TLS, high availability and patching to a current release. It also owns event auditing: enable user and admin events, confirm how they reach your log platform, and back up the database. Restrict administrator access, configure MFA with passkeys, TOTP or WebAuthn, and set brute force lockout. Assemble the evidence pack from these settings, change records and logs before the assessor asks for it.

Keycloak admin guide

Evidence an assessor asks for and where each side produces it

For Auth0, much of the vendor evidence arrives as documents, while the tenant logs and configuration are data you must export and keep. An assessor will typically ask for the following:

  • Assurance report and scope: Auth0 states it undergoes an annual SOC 2 Type 2 audit by an independent auditor covering all five Trust Services Criteria, and the report is available through the Support Center's Compliance option. Check that the report period and scope cover the features your tenant uses.
  • ISO certificate and Statement of Applicability: Auth0 states it is audited annually against ISO 27001, 27017 and 27018. Certificates are available through the Support Center, and the Statement of Applicability is available under an NDA.
  • Administrator, API and sign-in records: Tenant logs cover tenant administrator actions, Management API operations and user authentications. Log streaming can send them to an analysis tool or a custom webhook. Retention is short: the log retention page lists 1 day on Starter, 5 on Essentials, 10 on Professional and 30 on Enterprise.
  • MFA, lockout, configuration and access review records: Auth0 provides the settings, but your team must capture dated exports of MFA and lockout configuration and keep its own access review records. Confirm with Auth0 which configuration exports your plan supports.
  • Release, patch, data location and subprocessor records: The data privacy and compliance documentation is the starting point for data location and subprocessors. Confirm the current subprocessor list and hosting region for your tenant in writing.

Before the audit period starts, confirm your plan's log retention and a log streaming destination, because sign-in records for the full period may not exist in the tenant if retention is shorter.

How sign-in and administrator events become audit evidence

Sign-in and administrator activity starts with users and applications outside the trust boundary. On the Auth0 side, the vendor operates the tenant, so the organization depends on log streaming to move tenant logs into its SIEM or evidence store before the plan's retention window closes. On the Keycloak side, the organization runs the server and database, so user and admin events, once auditing is enabled, travel through its own log pipeline to the same store. Check that each export is configured and complete for the whole audit period, because the assessor will sample from that store.

Both paths end in one evidence store that the assessor samples.

Where the audit trail breaks: retention, export and ownership

The Auth0 retention window is the first place the audit trail can break. Auth0 keeps tenant logs for 1 day on the Starter plan, 5 days on Essentials, 10 days on Professional and 30 days on Enterprise, according to its log data retention page. Any audit period longer than the window therefore depends on exports made before the logs expire. Tenant logs cover administrator actions, Management API operations and user authentications, and log streaming can send them to an analysis tool or a custom webhook stream. Your team must run that export continuously, store the output in a system you control and keep it for the full audit period. Before you choose a plan, confirm in writing with Auth0 which plan includes the SOC 2 Type 2 report through the Support Center and which plan includes log streaming. The retention table alone does not settle either question, and the answer changes what you must build.

Keycloak has the opposite problem: it records little about sign-ins and administrative changes until you turn on auditing. The Keycloak Server Administration Guide documents configuring user event and admin event auditing, and those two event types are the main evidence for sign-in activity and configuration changes. Your team also sets where the events go and how long they are kept, so the retention period is a decision your team owns and must be able to defend. An assessor will ask for proof that the setting was active for the whole period. Prepare a dated export of the realm event configuration, a change record showing when auditing was enabled and events from the first and last days of the window. If auditing was off for any stretch, those events cannot be recreated later, so check the setting now and confirm the destination storage is under your own controls.

Ownership of change records looks the same on both sides. Changes to realms, clients, identity providers and MFA policies must pass through your own change process, whether the platform is Auth0 or Keycloak. Platform logs show who changed what and when, but they cannot show that a ticket approved the change. An assessor will pick changes from the period and check that each change ticket, approval and deployment record matches the matching log entry for the actor, the time and the object changed. For example, in an illustrative case, a client secret rotated in the admin console with no ticket would be a finding. Run a reconciliation between the change log and the tickets on a regular schedule, assign a named owner to it and walk through a sample of changes with your auditor before the examination window opens.

Setting up Keycloak so the audit trail is in place from the first day

This sequence puts the audit trail in place before any production sign-in, so event records, MFA and lockout settings, and change dates exist from day one. Each step closes with a check that produces evidence an assessor can pull without manual edits. The Auth0 path follows the same logic: configure log streaming in the tenant, but check the plan's retention first, since tenant logs are kept 1 day on Starter and 30 days on Enterprise.

  1. Deploy Keycloak on a production database

    Deploy Keycloak 26.8.1, or the current patch of the release line you choose, on a production database. Keycloak supports PostgreSQL 14 to 18 among other listed databases, and its default dev-file database is not suitable for production. Install with the Keycloak Operator installation guide method through the Operator Lifecycle Manager, which Keycloak recommends, with kubectl, or on virtual machines. The platform team owns this step. Done when a restart keeps a test realm and the database is included in backups.

  2. Enable user and admin event auditing

    Turn on user events and admin events for every realm in scope, using the auditing settings described in the Keycloak Server Administration Guide. User events record authentication activity such as sign-ins, and admin events record configuration changes made through the admin console or the admin API. The identity lead records the list of in-scope realms in the control register, so the assessor can see the boundary. Done when a test sign-in and a test configuration change each produce an entry that can be found in the event view.

  3. Set lockout and MFA policy with owners

    Configure brute force protection with temporary and permanent lockout, then set the MFA options: passkeys, WebAuthn, TOTP or HOTP, and recovery codes. Choose values that match your written access policy, and get each one approved by a named owner before go-live. Write the setting, the owner, the approval date and the reason into the decision register. Done when an export of the realm settings matches the register line for line.

  4. Forward events and record the go-live date

    Connect event output to the log pipeline your security team monitors, using the event logging option your deployment supports and confirming it in the Keycloak documentation. Check that each forwarded record carries the time, realm, acting user and event type. Record the date the setting went live in the change record, since an assessor will ask from which date each control operated. Document the pipeline's retention period next to it. Done when a test event appears in the log platform and matches the entry in Keycloak.

  5. Write and test the upgrade procedure

    Write an upgrade procedure for the four minor releases Keycloak plans each year, and read each release's notes, since Keycloak says breaking changes in a minor release will be opt-in. Include a rollback path, and run the upgrade and rollback once in a staging copy that uses the same database engine as production. Name the approver for each upgrade and keep the tested steps in the change record. Done when the staging rollback succeeds and the write-up is filed with the procedure.

  6. Confirm a test sign-in and admin change

    Run one test sign-in with a test account, then make one test administrator change, such as assigning a role to that test account. Find both entries in the evidence store, and check that each shows the user, the time, the realm and the action. Export or capture the two entries and file them with the change record. Done when both entries can be retrieved from the evidence store without editing, which shows the trail works end to end.

Questions to settle before you hire help for a SOC 2 or ISO 27001 identity scope

What drives the effort and cost on each side of an Auth0 or Keycloak audit?

On Auth0, most of the effort goes into scoping the vendor report, choosing a plan and designing how you export tenant logs. Auth0 plans are priced by monthly active users, where an MAU is a non-internal user who authenticated during a month for a given tenant, and the Free plan supports up to 25,000 MAUs, so user growth drives the bill. On Keycloak, the software is licensed under Apache-2.0 and carries no license fee, but your team carries the platform build, database operations, high availability, patching and the evidence pipeline that shows each control working. Those costs are staff time and infrastructure, and they recur for as long as you run the server. DeployOpen does not publish a price list. A quote follows from a written scope, so ask each provider to price the same controls, environments and user volumes before you compare totals.

How long does an identity scope for SOC 2 or ISO 27001 take?

No fixed duration applies, because the timeline depends on how many systems are in scope, how complete your change records are and how much evidence already exists. DeployOpen agrees the timeline in writing before work starts, as part of a fixed-scope agreement. Your audit dates usually set the deadline. A SOC 2 Type 2 report covers operating effectiveness over a period set in the engagement, so the controls must run and leave evidence for that whole window before fieldwork. Under ISO/IEC 17021-1, a certification cycle lasts three years and includes at least one audit, either surveillance or recertification, in every calendar year. Plan identity changes so the controls stay stable around those audit dates, and ask any provider to show how its timeline maps to your audit calendar.

What does outside help need from our internal team?

Outside help needs a named owner who can make decisions for the identity platform and approve scope changes. It also needs administrator access to the platform and its configuration, plus the change records that show who altered tenants, applications, policies or realm settings and when. Read access to your SIEM or log platform matters because auditors look for sign-in and administrative events there, and someone must confirm that those events are collected. Name an auditor contact early, so questions about sampling, population and evidence format reach the team without delay. Ask the provider to list each requirement in the written scope, next to the person who will supply it.

Can our own team prepare for a SOC 2 or ISO 27001 identity audit alone?

Yes, if your team already has the platform skills, the time and the discipline to collect evidence throughout the period. On Keycloak, your team owns the server, the database, upgrades and patching, while on Auth0 it owns tenant configuration, log export and review of the vendor report. Either way, someone must be able to operate the identity layer. Auditors test both design and operation: they check that a control exists and also that it worked consistently across the period. A team that builds the controls but cannot show dated evidence of operation will struggle at fieldwork. Before you decide, inventory the skills available and be honest about who will collect the evidence each month.

Does DeployOpen certify us for SOC 2 or ISO 27001?

No. DeployOpen prepares systems, controls and evidence for the assessment, but it does not issue audit reports, attestations or certifications. Independent auditors issue SOC 2 reports, and accredited certification bodies issue ISO/IEC 27001 certificates, because ISO does not certify organizations itself. Ask your auditor or certification body which evidence formats they accept before the work begins. Vendor attestations describe the vendor's own controls. Auth0's compliance documentation covers its annual SOC 2 Type 2 and ISO audits, but you still need your own evidence showing how you configured and operated the identity platform.

What should a quote for identity audit support include?

A useful quote starts from a written scope that names the platform, the environments, the user volumes and the SOC 2 or ISO 27001 controls in play. It should list each deliverable, such as configuration records, runbooks, log export designs and the evidence list, along with the format of each one. Ask for the owner of each control on both sides, so it is clear which tasks belong to your team and which belong to the provider. The quote should also cover the retest, how scope changes are priced and when the timeline is agreed. Whether upgrades or continuous testing are separate retainers should be stated too. Compare quotes only when they cover the same scope.

How DeployOpen prepares an identity platform for audit

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source identity platforms, including Keycloak, inside your own infrastructure. For Auth0 vs Keycloak in SOC 2 and ISO 27001 audits, we prepare the controls, configuration and evidence your assessor will ask for, while independent auditors and certification bodies issue the reports and certificates. Auth0 is a managed service outside our self-hosted scope, so confirm in writing what, if anything, we would review on that side.

How we scope

  • Every engagement starts with a written scope that names the platform, the controls and the deliverables.
  • Engagements are fixed-scope, so timelines and deliverables are agreed in writing before work begins.
  • For Keycloak, the scope should list which SOC 2 criteria and ISO 27001 Annex A controls the identity platform supports.

How we build

  • Deploy Keycloak in your cloud account, data center or air-gapped network, with a supported relational database for production.
  • Configure SSO, MFA options such as passkeys and TOTP, brute force protection and the admin access model.
  • Enable user and admin event auditing, then confirm which events reach your log platform and retention period.

How we hand over

  • Documentation covers configuration, realm and client settings, admin procedures, backup and rollback steps.
  • An evidence pack maps each control to the setting, log source or procedure that supports it.
  • Your compliance team reviews the pack before the assessor does; the auditor decides what is sufficient.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, with terms agreed in writing.
  • Keycloak plans four minor releases a year, so upgrade work and retesting belong in the retainer scope.
  • Confirm with your auditor which evidence period applies, since a SOC 2 Type 2 report covers operating effectiveness over a period.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.