Auth0 vs Ory for HIPAA and healthcare

Auth0 documents a BAA for covered entities that put ePHI in user profiles, but not on Azure, and plan eligibility must be confirmed. No Ory BAA was found, so a self-hosted Ory deployment leaves the HIPAA duties with your organization.

On this page

Auth0 vs Ory for HIPAA: which side fits which setup

Auth0 is the side with a documented Business Associate Agreement, subject to plan eligibility confirmed in writing and no Azure deployment. Self-hosted Ory fits teams that must keep identity data in their own infrastructure and accept that their organization carries the HIPAA obligations, because no Ory BAA was found on the pages reviewed. If you are a covered entity or business associate putting identity in front of ePHI, the first question is who signs what. Auth0's documentation says it is a Business Associate under HIPAA and HITECH, can provide its BAA on request, and applies that BAA to customers who qualify as a Covered Entity and who provide ePHI as part of the Auth0 user profile. Read the Auth0 data privacy and compliance documentation before you assume coverage for your use.

The decision turns on whether ePHI enters the identity layer at all. A common design keeps clinical data out of login, directory and token flows by passing only a stable subject identifier and attributes that carry no health content, which shrinks the set of systems an assessor must review. If ePHI does enter the identity layer, the Auth0 side needs three checks. First, confirm in writing which plan qualifies, since the documentation does not list eligible plans. Second, confirm that the deployment is not on Azure, because Auth0 states HIPAA compliance is not available there. Third, record the tenant region, because public cloud tenants are created in a chosen region and the tenant name cannot be changed after creation. Auth0 Private Cloud runs on AWS or Azure, so confirm in writing whether a given private deployment falls under the BAA before you rely on it.

On the Ory side, the question is where the tenant and the database sit. Ory Kratos stores identities in SQLite, PostgreSQL, MySQL or CockroachDB, so the database location, backups, encryption and access controls become part of your HIPAA evidence, and your team owns patching and upgrades. For Ory Network, the managed service, ask Ory whether it signs a BAA before any PHI goes into it. Before you choose, confirm the Auth0 plan, deployment and region in writing, and map which identity attributes would hold ePHI so your security and compliance teams can review the same data flow. This page covers only the compliance angle. The general Auth0 versus Ory comparison of features, licensing and architecture sits on its own page.

Which side fits your situation

Choose Auth0 when identity profiles will hold ePHI, you want a vendor agreement on file, and a managed multi-tenant service fits your data location rules. Auth0's documentation says it is a Business Associate under HIPAA and HITECH and can provide its BAA on request. This advantage matters most when your team cannot staff a self-hosted identity platform and your compliance lead needs a counterparty agreement before go-live. The cost is a recurring subscription tied to eligibility, and the agreement only covers the use Auth0 describes.

  • Agreement scope: The BAA applies to Covered Entities that provide ePHI as part of the Auth0 user profile, so confirm your data flows fit that wording before loading records.
  • Plan eligibility: The documentation does not list which subscription plans qualify. Get written confirmation of the qualifying plan from Auth0 before you sign.
  • Cloud restriction: Auth0's documentation states HIPAA compliance is not available on Azure deployments, so check the cloud for both public and Private Cloud tenants.
  • Recurring cost: Plans are priced by monthly active users, defined as non-internal users who authenticated during a month for a given tenant. Request a quote built on your projected user count and the features you need.
  • Region choice: Public cloud tenants can be created in several regions and the tenant name cannot be changed after creation, so settle both in your residency review.

If your identity profiles hold no PHI, the BAA question shrinks and the decision leans on hosting, staffing and region. Confirm plan eligibility and the BAA's coverage wording with Auth0 in writing before any ePHI enters a tenant.

What the HIPAA Security Rule asks of an identity platform

The HIPAA Security Rule applies to covered entities and business associates that create, receive, maintain or transmit electronic protected health information (ePHI). It is codified in 45 CFR Part 164 Subpart C. For an identity platform, the first question is whether it touches ePHI at all. If your sign-in flow stores patient identifiers in user profiles or passes them as token claims, the platform is in scope, and the business that runs it may need a business associate agreement. The standards are grouped into administrative safeguards (164.308), physical safeguards (164.310) and technical safeguards (164.312), with organizational requirements (164.314) and documentation requirements (164.316) alongside. Appendix A lists 18 standards and 36 implementation specifications, of which 14 are required and 22 are addressable.

Several identity-related specifications are addressable, and that changes how you record decisions. Under 45 CFR 164.306(d), for each addressable specification you must assess whether it is reasonable and appropriate for your environment. If it is not, you document why and implement an equivalent alternative measure where that is reasonable. Addressable does not mean optional. For example (illustrative), if session timeouts are enforced at a reverse proxy in front of the identity platform, that decision and its reasoning belong in your documentation. Write one assessment per decision: who may administer the tenant or instance, how MFA is enforced for clinical users, how long tokens live, and whether identity data at rest is encrypted by the database layer. Confirm each choice with your privacy and security officers before go-live.

The technical safeguards map most directly onto the identity layer. Access control (164.312(a)) covers unique user identities and access limited to what each user needs, audit controls (164.312(b)) cover recording activity in systems that hold ePHI, and person or entity authentication (164.312(d)) covers verifying who is asking for access. Transmission security (164.312(e)) covers protecting the login and token traffic that passes between users, the identity platform and your applications. In practice, check admin roles on each tenant or instance, MFA policy, token lifetimes, and where authentication logs are sent. Ory Kratos supports TOTP and passkeys, so confirm which factors your policy requires. Start with the HHS FAQ on certification, which sets the baseline for what an assessor will expect. This section does not assume any certificate exists, so ask your assessor which evidence they accept.

How Auth0 and Ory meet HIPAA requirements as documented

This table sets the documented HIPAA positions for Auth0 and Ory side by side. Read each cell as what the vendor publishes today, then confirm the open items in writing before any PHI goes into either platform. The main takeaway: Auth0 documents a BAA on request but excludes Azure deployments, while the Ory pages reviewed describe no BAA, so self-hosted Ory keeps the HIPAA obligations with your own team.

RequirementAuth0Ory
BAA availabilityBusiness Associate Agreement available on request for Covered Entities that send ePHI in the user profile.No Ory BAA found on pages reviewed. Ask Ory before any PHI enters Ory Network.
Plan eligibilityDocumentation does not list which plans qualify. Confirm eligibility with Auth0 before signing.Ory Network and the Enterprise License are the two documented options. Confirm which, if any, Ory will cover with a BAA.
Azure restrictionHIPAA compliance is not available on Azure deployments, so Azure hosting is excluded.No Azure restriction found in the pages reviewed. Self-hosted Ory runs in your Azure account if you choose.
Hosting and data locationPublic tenants in Australia, Canada, Europe, Japan, the UK or the US. Private Cloud is dedicated on AWS or Azure.Self-hosted Ory runs where you host it, so you set data location. Confirm Ory Network regions with Ory.
Encryption and audit logsNot covered in the documentation reviewed. Confirm encryption and audit log coverage with Auth0.Self-hosted: you design and evidence encryption and audit logging. Confirm Ory Network and Enterprise License coverage with Ory.
Access control and MFAMFA and admin access controls are not detailed in the documentation reviewed. Confirm factors and admin roles with Auth0.Kratos supports passwords, passkeys and TOTP MFA. Hydra is OpenID Certified for OAuth 2.0 and OIDC.
Database optionsManaged by Auth0 in the tenant's region. Custom database connections start on the Professional plan.Kratos supports SQLite, PostgreSQL, MySQL and CockroachDB. You choose the database and own its backups.
Vendor attestationsAttestation report contents are not covered in the documentation reviewed. Ask Auth0 for current reports and scope.Hydra's OpenID Certified status covers OIDC conformance only and is not a HIPAA attestation. Confirm Ory attestations for self-hosted and Ory Network with Ory.
Data export on exitBulk user exports are documented. Confirm export scope, format and any fees with Auth0 before exit planning.Self-hosted data sits in your own database, so export is a database task. Confirm Ory Network export options with Ory.

Who covers what on each side

The four cards split HIPAA work by who holds it: the vendor side, where Auth0 or Ory accepts obligations under a BAA, and the organization side, where your team runs the controls. For Auth0, the BAA and tenant setup decide scope. For self-hosted Ory, your organization carries the whole Security Rule program. For Ory Network, the BAA answer comes first.

Auth0 vendor side

Auth0 states that it is a Business Associate under US HIPAA and HITECH and will provide its Business Associate Agreement on request. That agreement covers covered-entity customers who send ePHI through the user profile, so profile contents set the scope. Pick the public cloud tenant region at creation, from Australia, Canada, Europe, Japan, the United Kingdom or the United States. Auth0 also states HIPAA compliance is not available on Azure deployments, so confirm whether a Private Cloud deployment on AWS or Azure is in scope.

Auth0 compliance docs

Auth0 organization side

Confirm plan eligibility with Auth0 before you sign the BAA, because its documentation does not say which plans qualify. Signing and that first check are one-time steps. Decide which fields belong in the user profile, since that choice sets what the agreement covers. MFA policy, tenant admin access and the export procedure recur: review admin access on a schedule, test exports, and keep each output in an evidence file.

Bulk user exports

Self-hosted Ory organization side

With self-hosted Ory, your organization carries the HIPAA obligations for the whole stack. You own hosting, the database (Kratos supports SQLite, PostgreSQL, MySQL and CockroachDB), TLS, patching, backups, logs and access reviews. The Security Rule applies to covered entities and business associates, so the risk analysis, policies and workforce controls are yours too. Design these once, then run patching, backup tests and access reviews on a recurring schedule that you document.

Appendix A matrix

Ory Network vendor side

Ory Network is managed by Ory, so the vendor questions differ from the self-hosted path. Do not assume a BAA exists: ask whether Ory signs a BAA in writing, and do not send PHI until the answer is in the contract. Ask where identity data is stored and processed, and which attestations Ory holds and will share with your assessor. Recheck these answers at each renewal.

Ory compliance readiness

What the Auth0 BAA covers and where it stops

Auth0's documentation says Auth0 is considered a Business Associate under US HIPAA and HITECH legislation and can provide its Business Associate Agreement on request. The BAA applies to a customer that qualifies as a Covered Entity and that provides ePHI to Auth0 as part of the Auth0 user profile. Those two conditions set the gate, so confirm your own status before assuming coverage. The same documentation does not state which subscription plans qualify, which makes plan eligibility the first point to settle in writing with Auth0, before a tier is chosen or a login flow is built around one. The primary text is in the Auth0 Data Privacy and Compliance docs.

The BAA also stops at the deployment model. Auth0's documentation states that HIPAA compliance is not available on Azure deployments, so Private Cloud on Azure falls outside this path, whatever plan sits above it. Private Cloud is offered on AWS or Azure, so ask Auth0 in writing whether the AWS variant carries the same HIPAA position before it appears in an architecture. If availability is part of your risk analysis, note that the 99.99% SLA and Private Cloud are both Enterprise plan items, so the Enterprise tier is the one to price. Ask for the SLA terms and the private deployment terms in the order form so both are contractual, and confirm they apply to the tenant you will actually use.

Put three questions to Auth0 in writing before you rely on the BAA. First, plan eligibility: which named plans qualify, and whether eligibility attaches to the tenant or to the contract. Second, scope: whether ePHI appearing outside the user profile, such as logs, user_metadata, app_metadata, custom database fields or support tickets, is in scope or excluded. Treat it as excluded until Auth0 says otherwise, and map every place your application writes clinical identifiers. Third, the contracting entity: Okta completed its acquisition of Auth0 on May 3, 2021, so confirm which legal entity signs the BAA, which entity operates your tenant, and which subprocessor list applies. Request the answers as signed documents, because an assessor will ask for the agreement itself, not a summary from a sales call.

Where ePHI and login traffic cross the trust boundary

This illustrative diagram follows a patient or staff member from sign-in to a clinical or staff app. The app sends login to one of two paths. The Auth0 tenant, in the chosen region, sits on the vendor side, where a Business Associate Agreement is available on request and plan eligibility must be confirmed. Self-hosted Ory services run inside the organization's network, beside its database and log sink. Check each edge marked ePHI check. Profile fields and logs are where health-related identifiers could appear, so answer that first. If no ePHI reaches them, identity data may fall outside scope. If it does, confirm the vendor BAA position and your own controls.

Illustrative flow: login paths, profile and log locations, and where ePHI could appear.

Evidence an assessor asks for in a HIPAA review

Auth0 documents that it is a Business Associate under HIPAA and HITECH and can provide its Business Associate Agreement on request. The BAA applies to customers who qualify as covered entities and who place ePHI in the Auth0 user profile. Most of the Auth0 file is contract and tenant records that Auth0 or your admins can produce, while the data inventory stays with you.

  • Executed BAA copy: Request the BAA from Auth0 and keep a signed copy in the compliance file. Confirm plan eligibility in writing, because the Auth0 documentation does not state which subscription plans qualify.
  • Written plan confirmation: Get Auth0's written confirmation of the plan and deployment the BAA covers. HIPAA compliance is not available on Azure deployments, so record the cloud your tenant runs on.
  • Tenant region record: Keep a record of the public cloud region where the tenant was created, which is one of Australia, Canada, Europe, Japan, the United Kingdom or the United States. Tenant names cannot be changed after creation, so record the name as well.
  • Export records: Keep logs of each bulk user export and data export, including who ran it, when, and where the file was stored. Use Auth0's bulk user export and export data documentation to describe the process to the assessor.
  • Attestation reports: Ask Auth0 which attestation reports it can provide and what each one covers. Treat the scope as unconfirmed until Auth0 states it in writing.

Check that the BAA covers the tenant you actually run, and that your own risk analysis lists which user profile fields contain PHI.

Configuring either side for a HIPAA-scoped login

Steps 1 to 4 apply if you choose Auth0, and steps 5 to 8 apply if you choose self-hosted Ory. The sequence produces a signed BAA where one applies, written plan and region confirmations, and an evidence folder that an assessor can read. No single step makes the environment compliant on its own, because the Security Rule is assessed across the whole system, its configuration and its people.

  1. Decide whether ePHI enters Auth0 user profiles

    The organization decides first whether protected health information will be stored in Auth0 user profiles, for example a diagnosis code kept in a custom attribute (illustrative). Auth0's documentation says it is a Business Associate and can provide its Business Associate Agreement on request, and it applies that agreement to Covered Entities that provide ePHI as part of the user profile. The data flow therefore sets the scope of the agreement. Request the BAA from Auth0 in writing and file the executed copy with the compliance team. Check: a signed agreement on file and a data map that lists every profile field that could hold health information. Who: the organization decides and requests, and the vendor provides the agreement.

  2. Confirm Auth0 plan eligibility in writing

    Auth0's documentation does not say which subscription plans qualify for the BAA, so the organization asks Auth0 to confirm eligibility in writing for the specific plan it intends to buy. Auth0 offers Free, Essentials, Professional and Enterprise plans priced by monthly active users, so the plan also decides which features the tenant can use, such as custom database connections, which start on Professional. Get the written confirmation, the plan name and the covered features into the quote before signing. Check: a written statement from Auth0 that names the plan matching the purchase order. Who: the organization leads with procurement, and the vendor confirms.

  3. Choose a tenant region and rule out Azure

    The organization chooses the region when the tenant is created, because a tenant name cannot be changed after creation. Auth0 public cloud tenants can be created in Australia, Canada, Europe, Japan, the United Kingdom or the United States. Auth0's documentation states that HIPAA compliance is not available on Azure deployments, and Auth0 Private Cloud runs on AWS or Azure, so the deployment choice must rule out Azure as well. Record the region, the deployment type and the reason for the choice in the system record. Check: the tenant settings show the chosen region, and the vendor confirms in writing that the deployment is not on Azure. Who: the organization decides, and the vendor confirms the deployment.

  4. Set MFA, admin access and export procedure

    The organization requires multi-factor authentication for tenant administrators and for users who reach health-related applications, limits which people can change tenant and connection settings, and writes down how user data will be exported. Auth0 documents bulk user exports, so the procedure should name who runs an export, where the files are stored, how they are protected and when they are removed. A partner can configure and test the settings, but the organization approves the policy. Check: exported admin role assignments and MFA policy settings, plus one tested export recorded in the change log. Who: the organization owns the policy, and a partner can configure it.

  5. Choose the database and host with TLS

    The organization, with a partner if engaged, chooses the database from the list Ory supports for Kratos: SQLite, PostgreSQL, MySQL or CockroachDB. Confirm with Ory's documentation which of these it recommends for production before choosing. Deploy in your own network, whether that is your cloud account, a data center or an air-gapped environment, and terminate TLS on every public and internal endpoint. Check: the configuration shows the database engine and certificate chain, and a connection attempt without TLS fails. Who: the organization owns the hosting, and the partner builds the environment if engaged.

  6. Enable MFA with TOTP or passkeys

    Kratos supports multi-factor authentication such as TOTP, along with passkeys, passwords, passwordless codes and social sign-in. The organization selects which second factor applies to each user group, for example administrators, clinicians and patients (illustrative groups), and configures the login flow to require it. Keep the configuration under version control so changes leave a history. Check: a test login for each user group fails without the second factor, and the configuration file is in version control. Who: the organization sets the policy, and internal engineers or a partner configure it.

  7. Document each addressable specification decision

    Under 45 CFR 164.306(d), each addressable implementation specification must be assessed for whether it is reasonable and appropriate. If it is not implemented as written, the organization documents why and implements an equivalent alternative measure where that is reasonable and appropriate. Write one record per decision with the specification title, the assessment, the decision and the named owner. Check: a register that covers every addressable specification in Appendix A to Subpart C, reviewed and signed by the security official. Who: the organization makes and owns the decisions, and a partner can draft the register.

  8. Build the evidence folder for assessors

    The organization assembles the records that support its documentation under 45 CFR 164.316 and the decisions above: the Business Associate Agreement where one applies, the plan and region confirmations, the MFA and admin settings, the export procedure, the specification register, the TLS and database configuration, and test results. Store them in one controlled location with version history. Check: an index maps each record to the step that produced it, and the compliance lead reviews it before any assessment. Who: the organization owns the folder, and a partner can prepare the index. An assessor, not the vendor or the partner, decides whether the evidence is sufficient.

Questions to answer before hiring help on a HIPAA identity project

Can Auth0 or Ory be used for HIPAA workloads?

Yes, but the answer differs by platform and by how you deploy it. Auth0 states that it is a Business Associate under US HIPAA and HITECH and will provide its Business Associate Agreement on request. The BAA applies to customers who qualify as a Covered Entity and who put ePHI into the Auth0 user profile. Two caveats apply: Auth0's documentation says HIPAA compliance is not available on Azure deployments, and it does not list which subscription plans qualify, so confirm plan eligibility with Auth0 in writing. Ory's published material on global compliance mentions HIPAA only in general terms and does not describe a BAA. For self-hosted Ory, your organization carries the HIPAA obligations. For Ory Network, ask Ory in writing whether it signs a BAA before any PHI enters it.

How much effort does a HIPAA identity project take?

Effort depends on a few drivers, and no reliable duration can be set until they are scoped. Check each one against your environment:

  • Number of applications: each one needs its own connection, test cases and access rules.
  • ePHI in profiles: whether PHI sits in user profiles decides whether the BAA path applies and how much data mapping and minimization is needed.
  • Federation: the number of external identity providers, directories such as Active Directory and SSO connections that must be brokered.
  • Database and logging: production database setup, audit log retention and log review.
  • Policy writing: access policies, role definitions and the written procedures an assessor will read.

Ask for the effort broken down by these items in any written scope.

What drives the cost of Auth0 or Ory for healthcare?

For Auth0, the recurring plan fee follows your user count and tier. Auth0 prices its Free, Essentials, Professional and Enterprise plans by monthly active users, meaning non-internal users who authenticated during a month for a given tenant. According to Auth0's pricing page, the Free plan supports up to 25,000 MAUs, custom database connections start on Professional, and private deployment as an add-on and a 99.99% SLA are Enterprise only. For self-hosted Ory, the Enterprise License is quoted by Ory, so ask for its scope and price in writing. Your own costs recur in both cases: hosting, databases, log storage and staff time for upgrades. DeployOpen's quote follows the written scope, which should list the plan or license, the applications, the documentation and the testing. DeployOpen is not a reseller, so license fees are paid to the vendor.

Can our own team run a HIPAA identity project without outside help?

Yes, if your team can run the platform day to day and carry the program documentation. Running it means installing, patching, upgrading, backing up and monitoring the identity service, including its database and logs, inside your own infrastructure. Carrying the documentation means keeping the risk analysis, written policies, access reviews, change records and the evidence an assessor will request. For self-hosted Ory, no vendor BAA is involved, so your organization holds the HIPAA obligations in full. If one part is thin, a partner can take a defined piece in writing, such as hardening, documentation or testing, while your staff keep ownership. DeployOpen plans, implements, hardens, documents and supports self-hosted platforms in your infrastructure and prepares systems and evidence. It does not issue audit reports, attestations or certifications; independent auditors and certification bodies do that.

What does a HIPAA identity project need from our team?

Four things need to be settled before work starts, and the rest of the plan follows from them. First, named owners: one for the identity program, one for security and compliance evidence, and one for the business applications, each with authority to approve changes. Second, access: administrator accounts in your cloud account, data center or network, plus read access to existing directories, applications and logs. Third, a risk analysis that maps where ePHI flows through login, federation, the database and logs, as the Security Rule requires of covered entities and business associates. Fourth, a decision on the BAA path: whether your Auth0 plan and deployment qualify, or, for Ory, whether PHI stays out of Ory Network until a BAA is signed. Confirm the exact obligations with your compliance lead, then write these items into the scope so the quote reflects them.

How hard is it to move identity data out of Auth0 or Ory later?

Exit cost depends on what each side exports, in which formats, and whether password hashes and MFA enrollments move with the users. Before committing, check the export path and data formats each platform provides, then test them. Auth0 documents bulk user exports, so run one on a non-production tenant and confirm which fields come out, including password hashes and MFA factors. Auth0 tenant names cannot be changed after creation, so settle naming before you build. With self-hosted Ory, the identity data sits in your own database, so exit depends on the schema, your export tooling and the cutover plan you control. Ask both platforms to state their export formats and any fields that do not export, and write a parallel run and a rollback plan into the scope.

How DeployOpen helps with the HIPAA angle of an identity build

DeployOpen plans, implements, integrates, hardens and documents self-hosted identity platforms inside your own cloud accounts, data centers or air-gapped networks. For a HIPAA identity build, the platform, its controls and its evidence are prepared for your compliance team to review, while your organization keeps responsibility for the HIPAA obligations and any Business Associate Agreement decisions. DeployOpen prepares evidence for assessments but does not issue audit reports or certifications; independent auditors do.

How we scope

  • The written scope names which identity platform, deployment target, user populations and applications are in and out.
  • We confirm with your team whether identity data includes ePHI, which sets the data handling controls.
  • Fixed-scope engagements are agreed in writing before work starts, and ongoing support is available as a retainer.

How we build

  • We deploy the chosen identity platform in your infrastructure with SSO, access control and audit logging configured for review.
  • We integrate the platform with your directory, such as Active Directory or LDAP, and your OIDC or SAML apps.
  • We harden the deployment, set up backups and test access paths, with security testing of the identity layer before go-live.

How we hand over

  • Documentation covers the architecture, configuration, data flows, access roles and the logging your assessor will ask to see.
  • Evidence is organized by Security Rule standard, so your team can check each safeguard against its setting or log.
  • Vendor questions on Business Associate Agreement terms and plan eligibility go to your procurement team in writing.

How we support

  • Retainers cover ongoing support, upgrades and continuous testing after go-live, if you want them.
  • Upgrades follow your change control process, and we document each change for the evidence file.
  • Ask the vendor for a current release and support window before you commit, since these change over time.

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.