Join Discord
Powered by
Hi 🙂 Can we change the user ID when we create the...
# support-questions-legacy
v
Val
12/10/2022, 9:56 AM
Hi 🙂 Can we change the user ID when we create the user manually ? I found Changing user ID format but Docs for this are coming soon And my need is more to set a custom ID already defined when I use
emailpassword.SignUp
r
rp_st
12/10/2022, 11:55 AM
hey
@Val
rp_st
12/10/2022, 11:56 AM
Call this function after calling `SignUp`:
https://pkg.go.dev/github.com/supertokens/supertokens-golang@v0.9.11/supertokens#CreateUserIdMapping
rp_st
12/10/2022, 11:56 AM
where
externalUserId
is the custom user ID.
rp_st
12/10/2022, 11:56 AM
And you can set
externalUserIdInfo
to
nil
3
Views
Previous
Next