
Hi ! Hope you are having a great day !
Is there a way to know if a user registered via email or any other oauth providers ?
The problem:
If the user registered first with google and try to connect using email and password he only get a wrong password error. I would like to inform the user that he need to use google login.
Is there a way to create a similar function like the firebase one (fetchSignInMethodsForEmail) ?

Even when the user is signed up using Google that user can still use the email login option. Meaning if you have
- Email login
- Google login
- Facebook login Any matched email will use to access the same account.
As of now there's no way to know how the account was opened/created. The best workaround would be to display some message like:
Email & password are incorrect, try to reset your password or login with Google

I understand Thanks for your fast reply ! So you don't think there is a hacky way to provide this functionality ?

Let me check something

I've went over it again And the data of the user in the Database is the same, it doesn't seems like there's a way as of now to spot the user creation process.
Let's wait for <:appwrite:637383039499894787> Steven response on the one.

Ok thanks for checking ! I will migrate the rest of my app for now
Recommended threads
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
- Website shows just the HTML in safari
Hi y'all, I've been working on a project for a while but, for some reason it just shows the html in safari, It work perfectly fine in firefox and chrome, but sa...
