Skip to main content

Terms of service & Privacy policy links

Overview

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

Before you start

This feature is only applicable to React apps that use the prebuilt UI.

Example

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: [/* ... */]
});