Hi! Is it possible to either specify a user ID dur...
# general
g
Hi! Is it possible to either specify a user ID during creation (I use passwordless), or update the ID at a later date? I've seen user-mapping as a technique, but it would be awesome to have more granular control. Just wondering, thanks!
r
yes @Gav
while it's in the context of migration from auth0, the same technique can be applied for what you want to do
g
Thanks!
r
is this what you were looking for?
g
Sort of, it's definitely helpful though! I was originally asking if there was a way to permanently update the SuperTokens user ID in the supertokens DB through the API, or to specify the ID when using a signInUp API call
r
ah right! that's not possibel unfortunately
but if you implement this, then to your backend code, it's as if the userId is changed from supertoken's side itself.
g
Yup, this will solve the issue regardless, just was looking to avoid wiring things together with custom code. Thanks again!
r
fair enough!
2 Views