supertokens / supertokens-golang

GoLang SDK for SuperTokens
https://supertokens.com
Other
115 stars 34 forks source link

Add email+password in account who sign up using phone number + otp #424

Closed heru-wijaya closed 1 month ago

heru-wijaya commented 1 month ago

how we can achieve this in supertoken ?

Thank you

rishabhpoddar commented 1 month ago

Hey. This requires account linking to be enabled, and we don't yet support that in our golang SDK (as of this writing). If you instead switch to using our node sdk, then you can use account linking to achieve this flow fairly easily.

Also, since this is not a bug in the sdk, im closing this issue (but feel free to keep posting in here without reopening it).

Thanks

heru-wijaya commented 1 month ago

hey thanks for answering..allright its okay, I will not reopen it @rishabhpoddar

is there any suggestion to achieve this with golang? because my system currently use golang..

rishabhpoddar commented 1 month ago

Well, you will have to manually do account linking using your own logic, and that is non trivial to explain here. Sorry, can't be of much help since the answer is not straightforward at all.