Is there a way to detect the OAuth provider used based on an email before a user is signed in?
We currently support both email/password, and Google/Apple OAuth flows. If a user signs up with Google/Apple, and they try to log in to the same account using a password, it just shows a "invalid_credentials" error since they have no password associated with the account.
We want to detect that the OAuth provider that they originally used to sign up (Google/Apple) and show the correct provider UI for them.
Is this possible?