https://supertokens.com/ logo
h

hoffeman

04/22/2022, 10:34 AM
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?
r

rp

04/22/2022, 11:11 AM
hey @hoffeman
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.
h

hoffeman

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
r

rp

04/22/2022, 11:14 AM
yea.. if you are doing emailpassword.init on the bakcend in the recipeList array
4 Views