#mahendra

1 messages · Page 1 of 1 (latest)

vestal rockBOT
serene drum
#

what connected account type are you using?

crimson sand
#

standard

serene drum
crimson sand
#

yes using this

#

So how I check if account is already there?

serene drum
#

actually sorry, it looks like passing in that field does pre-fill the email

crimson sand
#

yes

#

So how about now?

#

there?

serene drum
#

hrm, i think the best way to go about it may be to pre-verify on your side before creating the account

#

this would mean saving the account and corresponding email / id that the account is under to your DB first so that your can verify if it's been created before

crimson sand
#

Yes that ok.
But I need accountLink if someone does not complete all details like this

serene drum
#

sure, what's stopping you from creating an account link?

crimson sand
#

if link expire then i need another link

serene drum
#

you can create a new link anytime

crimson sand
#

yes

#

So if i new account is already there then I can create new account link each time rather than create new account.

#

If you see my code you'll get idea

serene drum
#

if the account already exists, and the user has completed onboarding, then you don't need to create the onboarding link again.

crimson sand
#

yes but if user didn't complete flow

serene drum
#

i'm still not entirely sure what's the problem you're facing? Like what you've mentioned, if the link expired, you can create a new link

crimson sand
#

Can I check if account is already there or not

#

?

#

just tell me this.

serene drum
#

as i've mentioned, you can save the account and corresponding email / id that the account is under to your DB first so that you can verify if it's been created before