https://supertokens.com/ logo
Title
n

Nathan

12/12/2022, 2:42 PM
Hi, I would like to know how to remove this sign up link from my front end, thanks in advance! PS : The API side is already disabled 🙂
r

rp

12/12/2022, 2:45 PM
Hey @Nathan
n

Nathan

12/12/2022, 2:45 PM
Hey 🙂
this is how:
import SuperTokens from "supertokens-auth-react";
import ThirdPartyEmailPassword from "supertokens-auth-react/recipe/thirdpartyemailpassword";

SuperTokens.init({
    appInfo: {
        apiDomain: "...",
        appName: "...",
        websiteDomain: "..."
    },
    recipeList: [
        ThirdPartyEmailPassword.init({
            signInAndUpFeature: {
                style: {
                    "headerSubtitle": {
                        display: "none"
                    }
                },
                providers: [/* ... */],
            },
        }),
    ]
});
import SuperTokens from "supertokens-auth-react";
import EmailPassword from "supertokens-auth-react/recipe/emailpassword";

SuperTokens.init({
    appInfo: {
        apiDomain: "...",
        appName: "...",
        websiteDomain: "..."
    },
    recipeList: [
        EmailPassword.init({
            signInAndUpFeature: {
                signInForm: {
                    style: {
                        "headerSubtitle": {
                            display: "none"
                        }
                    },
                }
            },
        }),
    ]
});
n

Nathan

12/12/2022, 2:48 PM
Thank you very much for your reactivity, you save me! 😄