SuperTokens, Open Source User Authentication

Open Source User Authentication

Build fast. Maintain control. Reduce costs.

npx create-supertokens-app@latest

Trusted by startups and enterprises alike

Setup in 5 minutes. With prebuilt UI

Or use our frontend SDKs and helper functions to build your own login page quickly

Custom password policyLimit number of sessions

Sign Up


First name
Jon

Email
jon.doe@gmail.com

Password
jon123

At least one capital latter
At least one special character
At least one number

Continue

Session Limit!

Multiple session login detected, logout from other sessions to continue.

// Frontend config

const superTokensFrontendConfig = {
    recipeList: [EmailPassword.init(), SessionReact.init()],
};

// Backend Config

const supertokensBackendConfig = {
    recipeList: [EmailPasswordNode.init(), SessionNode.init()],
};

or you can use your own Custom UI!

Unique architecture!

Empowering you to tailor authentication to your specific need, with flexible and scalable architecture!

Explain Architecture Flow

Your browser does not support the audio element.

Before Supertokens

After Supertokens

WORKS WITH 25+ FRAMEWORKS

JS
Go
Python
React
Angular
Vue
Android
Flutter
ios

SuperTokens Plugins Customize Auth Your Way

Modular. Reusable. Powerful. Build authentication that adapts to you

Tenant Discovery

User-friendly interface for users to select tenants and integrates seamlessly with the backend tenant discovery plugin.

Captcha Protection

Keep your login forms human-only. Integrate CAPTCHA to block bots and brute-force attempts with ease.

User banning

Interface for administrators to ban/unban users and integrate seamlessly with the backend user banning plugin.

Captcha Protection

Keep your login forms human-only. Integrate CAPTCHA to block bots and brute-force attempts with ease.

// Captcha Protection

SuperTokens.init({
    appInfo: {
        // your app info
    },
    recipeList: [\
        // your recipes\
    ],
    experimental: {
        plugins: [\
            CaptchaPlugin.init({\
                type: "reCAPTCHAv3", // or "reCAPTCHAv2" or "turnstile"\
                captcha: {\
                    sitekey: "your-site-key",\
                    // Additional configuration based on the captcha provider\
                },\
            }),\
        ],
    },
});

Key Numbers

12K+ Github Stars

Fast and Easy to Integrate!

One command to try it all!

npx create-supertokens-app@latest

Guides for every use case!

Email Password LoginEmail Password
Passwordless LoginPasswordless
Social Login

Become Our Next SuccessStory.

With SuperTokens, Qloo were able to improve their authentication experience substantially

Qloo switch seamlessly to SuperTokens, leaving behind previous authentication issues.

Thousands of businesses rely on Stacker for their operations, secured by SuperTokens

SuperTokens powers Curology, on of the largest dermatology platforms in the US with millions of users.

Trusted by teams!



Brandon Bayer

CEO @flightcontrolhq (YC W22)

"I'm SO excited to finally ship built-in authentication in @blitz_js !!! Including design, we've been working on this for over 4 months! Thank you to @rishpoddar for being the genius behind our auth!!! Check out his company @supertokensio for framework agnostic session management."



Edwin van Wijngaarden
@Edwinvw12
"Refactored all our apps (capacitor/nextjs/node) to @supertokensio was a breeze. Customizability and pricing were two of the reasons we switched. However, their support is amazing👏."


\nMorgante Pell
Cofounder @Grit.io\ "SuperTokens has allowed us to move much faster as a small startup."

Used by engineers at top companies

Migrating from Auth0?

Seamless Migration to SuperTokens

Transition effortlessly from Auth0 and enjoy the benefits of a more affordable and intuitive authentication solution.

Seamless migration

Move users to SuperTokens without asking them to change their password, or even be logged out. We support both, bulk and lazy migrations.

Cost Savings

Experience significant savings with our competitive pricing model, designed to scale with your business needs without breaking the bank.

Migration Support

Migrate large user bases within a span of days. Consult our team of expert engineers who can assist you in implementing a migration strategy.

Everything you need to know about SuperTokens

A demo of how SuperTokens works

Everything you need to know about SuperTokens in 12 minutes

Join us and our community

Shape the future of authentication with SuperTokens. Join our vibrant community to connect, share knowledge and collaborate.