Hi guys! I'm fresh to supertokens and have been trying to find out how I can manually create users backend? I'm creating a service that import users and does not allow sign up. Would I have to call the core directly or can I use the node SDK?
04/22/2022, 11:11 AM
You can use our node SDK for that. We have helper functions that call the core's API.
So dependening on your recipe, there would be a function for signUp which takes appropriate args required, which you can call on the backend.
04/22/2022, 11:13 AM
Thanks for quick reply. I just found EmailPassword.signUp() is available from the emailpassword recipe. I'd assume thats the one
04/22/2022, 11:14 AM
yea.. if you are doing emailpassword.init on the bakcend in the recipeList array