Skip to content
@supertokens

SuperTokens

Open source alternative to Auth0 / Firebase Auth / AWS Cognito

SuperTokens banner

SuperTokens is an open source authentication solution offering features like:

  • Different types of login: Email / password, Passwordless (OTP or Magic link based), Social / OAuth 2.0 etc...
  • Access control
  • Session management
  • User management
  • Self hosted / managed cloud

Architecture

Architecture Diagram

Our architecture is different than other auth providers as your backend API layer sits in the middle of your frontend and SuperTokens. This enables easy customizations to our auth logic and also enables us to provide a secure session solution.

Backend SDKs Available:

Frontend SDKs Available:

Getting started

Visit out guides page to pick the login type you want and then follow the quick setup. You can also follow framework specific integration guides for NextJS, NestJS, RedwoodJS or GraphQL.

We have a variety of example apps available in our repos. You can usually find them in the examples folder in a repo.

Get support

You can reach out to ask questions or just chat about auth! We are available on Discord, email, or via a call.

Pinned

  1. Open source alternative to Auth0 / Firebase Auth / AWS Cognito

    Java 6.2k 211

  2. Node SDK for SuperTokens core

    JavaScript 153 26

  3. ReactJS authentication module for SuperTokens

    TypeScript 128 48

  4. Frontend SDK for SuperTokens - for session management + automatically refreshing sessions

    JavaScript 38 11

  5. GoLang SDK for SuperTokens

    Go 34 14

  6. Python SDK for SuperTokens

    HTML 47 9

Repositories