
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
- Cannot access my Appwrite database on th...
Hello guys, I am currently developing a web app and using appwrite for authentication, database, storage and messaging. It was working well but since yesterday...
- Nuxt Middleware Support
So I'm trying to protect some routes so that the user is redirected back to the login screen should they not have an active session. However, I'm stuck in a lo...
- Sites Problem
Hi, I keep getting this problem when deploying my site. I have already made sure the site is active which it is. It even shows the preview of my site but when ...
