top | item 22715346

(no title)

tmarman | 6 years ago

On all sites/apps I’ve built offering SSO, we’ve gone out of our way to support linking of accounts and detecting existing accounts when claims like emails are found. Also allowing for merges after the fact.

I would consider this a best practice when iffering any “ sign in with...”

discuss

order

badtuple|6 years ago

This seems like a nice user experience, but I'd be worried about leaking which email address has an account with us.

Nextgrid|6 years ago

Wouldn’t the sign in mechanism (which validates e-mail) prevent this, in the sense than they won’t be able to get a third-party account to authenticate with for a particular e-mail without verifying ownership of that e-mail to the third-party provider?

nevi-me|6 years ago

You address this by only linking accounts once a user has successfully signed in with another provider. That way if their email exists from another provider, you're more certain that it's the same account

godzillabrennus|6 years ago

Would make sense to create package for popular mvc frameworks that does this.