This SDK documentation is outdated. Please do not refer to it, and instead visit the User Guides section.

Skip to main content
Version: Next

Call the init function

import SuperTokens from "supertokens-auth-react";

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.

Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI