Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Choose how to integrate Modular SSO

Pick the Modular SSO guide that matches how your app signs users in today: your own code, Auth0, Amazon Cognito, Firebase, Supabase or Auth.js.

How you add Modular SSO depends on what signs users in to your app today.

Your app signs users in withHow Scalekit fits inGuide
Your own code: your backend checks passwords or sends codes, and creates the sessionYour backend calls the Scalekit SDK to start the login and to read the user from the callbackQuickstart, then Handle the callback and find the user
Auth0You add Scalekit to Auth0 as an OpenID Connect (OIDC) provider. Auth0 keeps the sessionAuth0
Amazon CognitoYou add Scalekit to your Cognito user pool as an OIDC identity provider. Cognito keeps the sessionAWS Cognito
Firebase AuthenticationYou add Scalekit as an OIDC provider in Firebase, or sign the user in to Firebase from your backend after the Scalekit loginFirebase
Supabase AuthYou add Scalekit to Supabase as a custom OIDC provider. Supabase keeps the sessionSupabase
Auth.js in a Next.js appYou add Scalekit to Auth.js as an OIDC providerAdd enterprise SSO to Next.js with Auth.js

With an auth system, that system talks to Scalekit and creates the session, so your app writes little or no Scalekit code. You still set up Scalekit the same way: put the environment in Modular Auth mode, create an organization for each customer, and have their IT admin connect their identity provider (IdP).

Your auth system isn’t listed? If it can add an OIDC provider, add Scalekit as one, using your environment URL as the issuer and your client ID and secret. Otherwise, use the SDK from your backend as the quickstart shows.

Whichever way you integrate, each customer needs an organization and a working connection. See Onboard an enterprise customer.