Hey <@498057949541826571> I want to get a list of all the users I have, but I want to do it from a ...
p
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
r
hey @pimpler
p
Thank you. I have another question
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?
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
are you using self hosted version of the core?
p
no
r
To get the same user id, checkout the user id mapping feature we have.
27 Views