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
andapiBasePath
are applicable.