Skip to main content

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";import Passwordless from "supertokens-auth-react/recipe/passwordless";import Session from "supertokens-auth-react/recipe/session";
SuperTokens.init({    appInfo: {        apiDomain: "...",        appName: "...",        websiteDomain: "..."    },    recipeList: [        Passwordless.init({            contactMethod: "EMAIL_OR_PHONE", // This example will work with any contactMethod.            signInUpFeature: {                termsOfServiceLink: "https://example.com/terms-of-service",                privacyPolicyLink: "https://example.com/privacy-policy"              }        }),        Session.init({ /* ... */ })    ]});