<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: authagonal</title>
    <description>The latest articles on DEV Community by authagonal (@authagonal).</description>
    <link>https://dev.to/authagonal</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3992598%2F3d9e4aed-7459-4f38-80bb-85cef9969f27.png</url>
      <title>DEV Community: authagonal</title>
      <link>https://dev.to/authagonal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/authagonal"/>
    <language>en</language>
    <item>
      <title>Leaving Auth0: what actually moves — and the one thing they won't hand over</title>
      <dc:creator>authagonal</dc:creator>
      <pubDate>Fri, 19 Jun 2026 13:02:23 +0000</pubDate>
      <link>https://dev.to/authagonal/leaving-auth0-what-actually-moves-and-the-one-thing-they-wont-hand-over-50ni</link>
      <guid>https://dev.to/authagonal/leaving-auth0-what-actually-moves-and-the-one-thing-they-wont-hand-over-50ni</guid>
      <description>&lt;p&gt;Most teams don't leave Auth0 because they dislike it. They leave because the bill jumped, or because SAML and SCIM turned out to live behind a per-connection enterprise tier, and every new customer's SSO link adds to the meter. Then they look at &lt;em&gt;actually migrating&lt;/em&gt; their identity provider, decide it sounds terrifying, and stay another year.&lt;/p&gt;

&lt;p&gt;It's less terrifying than it looks. Here's what a real Auth0 migration involves — the boring parts, the fiddly parts, and the one genuinely hard part — so you can judge it for yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's in your Auth0 tenant
&lt;/h2&gt;

&lt;p&gt;A handful of things have to land somewhere new:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Applications&lt;/strong&gt; → OAuth/OIDC clients. Callbacks, logout URLs, allowed origins, grant types, and the client secret. Mechanical.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;APIs (resource servers) + scopes&lt;/strong&gt; → audiences and scopes, wired to the clients that use them (Auth0 tracks that as "client grants").&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Roles and their assignments&lt;/strong&gt; → roles + per-user role links.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connections&lt;/strong&gt; → enterprise (OIDC/SAML), social, and database connections. Enterprise OIDC maps cleanly to a federated provider; the rest you reconfigure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Users&lt;/strong&gt; → profiles, metadata, and linked social/enterprise identities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of that is hard in principle. The nervousness comes from three specific things.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three things that make people nervous
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Keeping identities stable.&lt;/strong&gt; Your users are referenced by their &lt;code&gt;sub&lt;/code&gt; (and your apps by &lt;code&gt;client_id&lt;/code&gt;) all over the place — refresh tokens held by downstream apps, SCIM rows in customer IdPs, user IDs stored in your own database. If a migration mints new IDs, all of that breaks silently. The fix is simple to state and essential to get right: preserve the Auth0 &lt;code&gt;user_id&lt;/code&gt; as the &lt;code&gt;sub&lt;/code&gt; and keep &lt;code&gt;client_id&lt;/code&gt; verbatim. Then nothing downstream notices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Passwords — the genuinely hard one.&lt;/strong&gt; Auth0's Management API &lt;em&gt;never&lt;/em&gt; returns password hashes. That's a deliberate Auth0 policy, not a gap in your tooling. You have two honest paths:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Request Auth0's &lt;strong&gt;support-assisted bulk export&lt;/strong&gt;, which gives you an NDJSON file with each user's bcrypt hash. Bcrypt is portable — anything that verifies bcrypt can take those hashes verbatim, and your users never reset anything.&lt;/li&gt;
&lt;li&gt;Or skip hashes entirely and have users &lt;strong&gt;set a new password on first sign-in&lt;/strong&gt;. Nothing is "lost" — there was no hash to carry — but it's a visible step for your users.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is no self-serve API for the hashes. Anyone who tells you a one-click Auth0 export includes passwords without that support file is hand-waving.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The 1,000-user ceiling.&lt;/strong&gt; Auth0's user-listing API returns at most 1,000 users. For a bigger tenant, the bulk export file (the same one that carries the hashes) is the real, complete source of users — not the live API.&lt;/p&gt;

&lt;h2&gt;
  
  
  Making it one click
&lt;/h2&gt;

&lt;p&gt;This is what we built into &lt;a href="https://authagonal.io" rel="noopener noreferrer"&gt;Authagonal&lt;/a&gt;. You point the importer at an Auth0 machine-to-machine app (read scopes only), and it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Runs a &lt;strong&gt;read-only preview&lt;/strong&gt; first — it counts every application, API, role, connection, and user it will import and flags anything that needs attention. Nothing is written until you commit.&lt;/li&gt;
&lt;li&gt;Brings applications, API scopes/audiences, roles + assignments, users + metadata, and enterprise OIDC connections across — &lt;strong&gt;preserving &lt;code&gt;sub&lt;/code&gt; and &lt;code&gt;client_id&lt;/code&gt;&lt;/strong&gt; so existing tokens and references keep resolving.&lt;/li&gt;
&lt;li&gt;Re-hashes Auth0's (plaintext-on-read) client secrets so your apps keep authenticating without rotation.&lt;/li&gt;
&lt;li&gt;Imports &lt;strong&gt;bcrypt password hashes verbatim&lt;/strong&gt; if you supply the export file — and that file also lifts the 1,000-user ceiling. No export? Users set a password on first sign-in.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And because the enterprise features (SAML, SCIM, MFA, audit logs, custom domains) are included in every plan rather than metered per connection, the thing that pushed you toward the exit isn't waiting for you on the other side.&lt;/p&gt;

&lt;h2&gt;
  
  
  One aside on testing migrations
&lt;/h2&gt;

&lt;p&gt;We test the importer against a real, seeded database, not mocks — and it earned its keep. ASP.NET Identity stores &lt;code&gt;LockoutEnd&lt;/code&gt; as a &lt;code&gt;datetimeoffset&lt;/code&gt;, and reading it with &lt;code&gt;GetDateTime()&lt;/code&gt; throws on that type. A single locked-out user would have failed an entire import. You only catch that by running the real importer against real data. If you're evaluating any migration tool, ask how it's tested — "we mock the source API" is not the same as "we run it against a populated tenant."&lt;/p&gt;

&lt;h2&gt;
  
  
  If you're eyeing the exit
&lt;/h2&gt;

&lt;p&gt;The migration is more boring than you fear — preview it, keep your IDs, decide your password path — with the one real constraint being Auth0's hash export. If you want to see what would come across from your tenant, the preview is read-only and shows you everything before you commit.&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://authagonal.io/migrate/auth0" rel="noopener noreferrer"&gt;Migrate off Auth0&lt;/a&gt;&lt;/p&gt;

</description>
      <category>saml</category>
      <category>oidc</category>
      <category>auth0</category>
      <category>identity</category>
    </item>
  </channel>
</rss>
