rp
04/15/2021, 7:18 PMapp.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."