<@!822220789562605608> , there are two parts to re...
# support-questions
r
@User , there are two parts to removing sign up: - You would need to add some API key to the sign up API that is exposed via the node SDK. This is important since if you don't do this, in theory, someone can still make an account by manually calling this API (since it's open). The way you can do this is to add a middleware before
app.use(supertokens.middleware())
and check for an API key in the header if the route is
{apiBasePath}/signup
and the method is
POST
. Alternatively, you can disable the default sign up API entirely by setting the
disableDefaultImplementation
to
true
in the
signupFeature
object when calling the
init
function in the node SDK. But of course, you would still need to make an API to manually add users, so i'd go with the API key approach 🙂 - The second part of hiding the UI can be achieved by CSS manipulation by setting
headerSubtitle
to have
display: none
. I don't undertsand when you say "however the link is still available in the DOM."