Skip to main content
Version: Next

Call the init function

import SuperTokens from "supertokens-auth-react";
SuperTokens.init({    appInfo: {        appName: string,        apiDomain: string,        websiteDomain: string,        apiBasePath?: string,        websiteBasePath?: string,        apiGatewayPath?: string    },    recipeList: [/* TODO */]});

You can learn more about the appInfo object in the recipe guides.

Which frontend SDK do you use?
supertokens-web-js / mobile