samples icon indicating copy to clipboard operation
samples copied to clipboard

force-unique-email-across-social-identities - unique email address restriction can be bypassed

Open ablanken-equinox opened this issue 3 years ago • 2 comments
trafficstars

If a user signs in with a social media account + email address that matches a local account with the same email, an error message is displayed as intended.

On the error screen however, you can press F5 to refresh the page, and the user can continue to add the social media account with non-unique email address.

ablanken-equinox avatar May 23 '22 13:05 ablanken-equinox

You can add a dummy outputClaim in the technical profile which displays the error. Add the required=“true” flag to this output claim. I will update the sample to reflect.

JasSuri avatar May 23 '22 19:05 JasSuri

Thanks Jas - I'll look forward to seeing the updated sample. Cheers

ablanken-equinox avatar May 26 '22 09:05 ablanken-equinox