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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...