facebook pixel
🚀 New Plugin Available:
Control access with user banning

Migrate from Auth0 to SuperTokens

Seamless, Lower costs, better control, and a modular, open-source auth system.

Hero Image

Migration Process Overview

1. Before You Start
2. Account Migration
3. Session Migration

SuperTokens Integration

Integrate SuperTokens in your current application using the quickstart tutorial. Save the values for the `CORE_API_ENDPOINT` and `CORE_API_KEY` variables. You are going to use them in the migration steps.

Legacy Credentials

Obtain the Auth0 Management API credentials or enable the Import/Export Extension to access user profiles and password hashes.

Account Migration

Use the SuperTokens SDK to migrate users from Auth0 to SuperTokens.

Account Migration

Export accounts from Auth0

Download all the user profiles and password-hashes using either the Auth0 Management API or the Import/Export Extension. After that, map the data based on the format accepted by the SuperTokens migration endpoints.

Export accounts from Auth0

Start the bulk migration process

With the parsed data, call the `Add Users for Bulk Import` endpoint to stage the accounts for import. Users will then get picked up by an async job for processing.

You can check on the status of the job by polling the `count` route to figure out how many users are left.

Start the bulk migration process

Add the Session Migration Endpoint

Expose a new API rout from your backend application that converts active Auth0 sessions into Supertoken's sessions.

Add the Session Migration Endpoint

Call the Migration Endpoint from Your Frontend Application

Update your frontend application to migrate the authentication state and then revoke the Auth0 session.

Add the Session Migration Endpoint
Account Migration Background

Your Growth Shouldn't Be Punished

See how Auth0 vs. SuperTokens treat you as you scale.

SuperTokens Logo
Launch
Free & full-featured
(open-source or hosted)
10k Users
Still free for self-hosted and predictable cost
50k Users
Full control, no surprise bills
Result: Scale freely with transparent pricing.
Auth0 Logo
Launch
Start with Free tier
10k Users
Starts charging per MAU
50k Users
Add-ons required
(SSO, Branding, Rate limits)
Result: From $0 to $1000+/month in no time!.
StackerSam DavysonPoppyThibautBuilt IntelligenceAdrian

Join Leading Companies Choosing SuperTokens

CASE STUDY

Stacker Chooses SuperTokens

See how Stacker switched from Auth0 to SuperTokens to address scalability limits and resource strain. SuperTokens' flexibility and control allowed them to streamline authentication and focus on their product.

“With SuperTokens, we finally feel in control of our authentication journey. The platform provides us the required tools, and the possibilities are endless.”

Sam Davyson
Sam DavysonCo-founder and CTO of Stacker
Stacker

COMPANIES THAT MIGRATED TO SUPERTOKENS

And more

Start Your Journey

FAQs

Why should I migrate from Auth0 to SuperTokens?
Auth0 is a powerful tool, but many teams migrate to SuperTokens for more control, better performance, transparent pricing, and the ability to self-host. SuperTokens provides a developer-friendly experience, flexibility in customization, and open-source transparency—without locking you into a black-box SaaS.
Is there a migration guide available for moving from Auth0 to SuperTokens?
Yes! We offer a step-by-step migration guide that covers moving user data, updating your authentication flows, and integrating SuperTokens into your existing application stack. Our team is also available to help guide you through the process.
Can I migrate my existing Auth0 users without forcing them to reset their passwords?
Yes, in most cases you can migrate users without requiring a password reset. This involves importing hashed passwords from Auth0 and configuring SuperTokens to validate them appropriately. We support common hashing algorithms like bcrypt, scrypt, and PBKDF2.
How do I handle social login users during migration?
For social login users (e.g., Google, GitHub, Facebook), SuperTokens allows you to map and migrate existing user records based on provider-specific user IDs or emails. After migration, users can continue logging in seamlessly.
What if my app uses Rules or Actions in Auth0?
SuperTokens offers flexible pre and post-authentication hooks that can replicate similar logic to Auth0 Rules or Actions. You can run custom code at different stages of the authentication lifecycle to achieve the same goals.
How long does the migration process typically take?
The time depends on the complexity of your setup and number of users. For small-to-medium projects, it can take a few days to a week. We recommend starting with a test environment and using our guide to ensure a smooth transition.
Can I run SuperTokens in a self-hosted environment?
Absolutely. One of SuperTokens' key advantages is that you can self-host the core so that user data remains entirely under your control. We also offer a managed cloud option if you prefer not to manage infrastructure.
Is SuperTokens GDPR/CCPA compliant?
Yes. SuperTokens is built with privacy and compliance in mind. If you self-host, you're in full control of where and how data is stored, making it easier to meet GDPR, CCPA, or other local data protection regulations.
Will my front-end code need to change?
Some updates to your front-end code will be necessary, especially for switching SDKs. However, SuperTokens provides React, Angular, Vue, and Vanilla JS SDKs with pre-built UI components to speed up the process.
Can SuperTokens integrate with my existing backend stack?
Yes. SuperTokens supports popular backend frameworks like Node.js, Go, Python, and more. We provide detailed integration guides and example apps to get you up and running quickly.
;