Skip to main content
Version: 0.15.X

Session init

import SuperTokens from "supertokens-auth-react";import Session from "supertokens-auth-react/recipe/session";
SuperTokens.init({    appInfo: {        apiDomain: "...",        appName: "...",        websiteDomain: "..."    },    recipeList: [        Session.init({...})    ]});
info
  • Learn more about the various config values here.
  • All config values except for apiDomain and apiBasePath are applicable.
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react