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 */]
});
info
You can learn more about the appInfo
object in the recipe guides.