Account linking social -> credentials

Hi, Can you not link an credentials account to an already existing social provider and user? I already have an user and a connected account with say microsoft. The user tries to sign up with email+password as well but get an error that the email is already in use. It works fine the other way around. Is this intended?
8 Replies
volks
volks5mo ago
Not sure about email and password alongside social providers though
srd
srdOP5mo ago
doesnt work when i think about it, you wouldnt have a verified email coming from credentials - which would be a security issue
FalconiZzare
FalconiZzare5mo ago
You should verify the email when creating credentials. and vice versa.
srd
srdOP5mo ago
yes, but if you use a social provider is auto verifies the email based on the social provider. if you then would add credentials it would not be possible to verify it as its already verified
FalconiZzare
FalconiZzare5mo ago
I see. Have to test it both ways.
fynn
fynn5mo ago
users can’t just sign up, you need to set a password through auth.api.setPassword

Did you find this page helpful?