Skip to main content

If you are using our backend SDK that is lesser than the following versions, please visit the older documentation link here.

Terms of service & Privacy policy links

You can provide a Privacy policy and Terms of service link which will render the following text on the sign up page:

import SuperTokens from "supertokens-auth-react";

SuperTokens.init({
appInfo: {
apiDomain: "...",
appName: "...",
websiteDomain: "..."
},
termsOfServiceLink: "https://example.com/terms-of-service",
privacyPolicyLink: "https://example.com/privacy-policy",
recipeList: [/* ... */]
});
Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI