I have questions around OAuth,
I have a few OAuth providers setup (Facebook, Google, Twitter). I followed the docs. My users are in a database, using the eloquent provider.
I’m requiring a unique email address for my users. If a user signs up with an email address, then tries to log in through their Google account which has the same email address, an error is thrown. How can that error be handled and deliver a message to the user?
Another way to handle this is account linking, ie from Firebase. Is that a bad idea? If someone logs in with a Google account that’s using the same email address as one that was created with a Facebook account. If all providers (including Statamic) require a verified email address, can they just both access the same user account?