Deploy SuperTokens Starter on Northflank

Published 9th April 2025

SuperTokens is an open-source authentication solution that provides secure, scalable, and customizable login flows including session management, social login, and passwordless authentication.

Use SuperToken's frontend (ReactJS, Angular, Vue) and backend SDKs (NodeJS, GoLang, Python) and use prebuilt UI components to add auth to your project immediately.

This stack includes a starter application with a frontend (React + Vite) and backend service (Node + Express), you can alternatively deploy the SuperTokens core on its own.

Stack

  • clones a repository into your Git account
  • creates a PostgreSQL addon
  • deploys the SuperTokens core service from supertokens/supertokens-postgresql:latest
  • builds and deploys the frontend and backend example applications using combined services

You must add custom domains to Northflank for the backend and frontend (for example api.mydomain.com and mydomain.com). You can provide these as argument overrides when deploying the stack template, without the https:// prefix (api.mydomain.com not https://api.mydomain.com).

Getting Started

  1. Create an account on Northflank
  2. Add your domain to Northflank
  3. Click deploy SuperTokens now
  4. Select the Git account, name the repository, and set the repository public or private
  5. Enter your domains in the argument overrides section under advanced configuration
  6. Click deploy stack to save and run the SuperTokens template
  7. Select the frontend service when the template run has finished
  8. Open your domain and interact with the demo

After deploying this template you can clone the repository locally, make changes, and push them. The changes will be automatically built and deployed.

You can connect to SuperTokens using the private address (http://supertokens-core:3567) for resources in your project, and the API keys generated in the API keys secret group.

Share this template with your network
X