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 ThirdParty from "supertokens-auth-react/recipe/thirdparty";import Session from "supertokens-auth-react/recipe/session";
SuperTokens.init({    appInfo: {        apiDomain: "...",        appName: "...",        websiteDomain: "..."    },    recipeList: [        ThirdParty.init({            signInAndUpFeature: {                termsOfServiceLink: "https://example.com/terms-of-service",                privacyPolicyLink: "https://example.com/privacy-policy",                providers: [ /* ... */],            }        }),        Session.init({ /* ... */ })    ]});