Hi team :wave: I’m setting up a flow where users c...
# ask-a-descoper
a
Hi team 👋 I’m setting up a flow where users can choose between SSO and magic link login. I noticed a case where a user who initially logged in with SSO later tried to log in with a magic link, but got an error saying the email does not exist (even though I see the user in the console). When I manually added another instance of their email, they were able to log in via magic link. My question is: Do I need to manually add emails like this every time, or is there a way to configure Descope so that the same user can log in with both SSO and magic link without extra steps? Thanks! 🙏
if its not possible is there a way from the flow to throw error "please login with sso"?
m
do you have this on/off ?
a
on
is it not recommended to turn this off? can it be a security issue?
m
you can use this flow condition, to check if has SSO, and than point him to screen with only SSO option:
its best practice security wise, that once user logins with SSO, he should use only SSO as this is more secure if he uses magic link, it degrades the account security at some level
a
amazing! thank you so much this is what i was looking for! also if i turn this one off the magic link will also work correct?
m
Need to review the whole flow, but I think yes Again, it's NOT best practice to turn it off, security wise
a
ok thank you so much for your help!