惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tailwind CSS Blog
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
The Cloudflare Blog
博客园 - 聂微东
博客园 - 司徒正美
量子位
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
Y
Y Combinator Blog
S
SegmentFault 最新的问题
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
有赞技术团队
有赞技术团队
A
About on SuperTechFans

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Leaving Auth0: what actually moves — and the one thing th...
authagonal · 2026-06-19 · via DEV Community

authagonal

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 actually migrating their identity provider, decide it sounds terrifying, and stay another year.

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.

What's in your Auth0 tenant

A handful of things have to land somewhere new:

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

None of that is hard in principle. The nervousness comes from three specific things.

The three things that make people nervous

1. Keeping identities stable. Your users are referenced by their sub (and your apps by client_id) 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 user_id as the sub and keep client_id verbatim. Then nothing downstream notices.

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

  • Request Auth0's support-assisted bulk export, 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.
  • Or skip hashes entirely and have users set a new password on first sign-in. Nothing is "lost" — there was no hash to carry — but it's a visible step for your users.

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.

3. The 1,000-user ceiling. 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.

Making it one click

This is what we built into Authagonal. You point the importer at an Auth0 machine-to-machine app (read scopes only), and it:

  • Runs a read-only preview 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.
  • Brings applications, API scopes/audiences, roles + assignments, users + metadata, and enterprise OIDC connections across — preserving sub and client_id so existing tokens and references keep resolving.
  • Re-hashes Auth0's (plaintext-on-read) client secrets so your apps keep authenticating without rotation.
  • Imports bcrypt password hashes verbatim 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.

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.

One aside on testing migrations

We test the importer against a real, seeded database, not mocks — and it earned its keep. ASP.NET Identity stores LockoutEnd as a datetimeoffset, and reading it with GetDateTime() 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."

If you're eyeing the exit

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.

Migrate off Auth0