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:
- Provided both links: "By signing up, you agree to the Terms of Service and Privacy Policy"
- Provided only Terms of service link: "By signing up, you agree to the Terms of Service"
- Provided only Privacy policy link: "By signing up, you agree to the Privacy Policy"
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: [/* ... */]
});