Hey @rp_st
I want to get a list of all the users I have, but I want to do it from a script, not a server. I saw that there is a function in the node-supertoken lib but Im not able to use it (because I cannot use init()). I saw that there might be an endpoint in the CDI, but when I try to use GET im getting 404 not found in response. What is the right solution here?
Thank you
I want to run a daily process to copy my prod users to a pre-prod env. What I had in mind is to get all the users, and recreate them in another env, the question is, how can I create supertokens users in the other environment with the same user id?
pimpler
02/19/2024, 9:52 AM
I do not need the users as Im only migration a sub group of the users, and I'l use another password if possible
r
rp_st
02/19/2024, 10:05 AM
are you using self hosted version of the core?
p
pimpler
02/19/2024, 2:31 PM
no
r
rp_st
02/19/2024, 7:36 PM
To get the same user id, checkout the user id mapping feature we have.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).