Thread
#general
    g

    Gav

    5 months ago
    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

    rp

    5 months ago
    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

    Gav

    5 months ago
    Thanks!
    r

    rp

    5 months ago
    is this what you were looking for?
    g

    Gav

    5 months ago
    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

    rp

    5 months ago
    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

    Gav

    5 months ago
    Yup, this will solve the issue regardless, just was looking to avoid wiring things together with custom code. Thanks again!
    r

    rp

    5 months ago
    fair enough!