Hello guys, I hope you can help me. When I register a user with google auth and then save that user in a collection called users; a document is created twice.
what is the flow like: I have a Google button, when clicked it registers the user in auth appwrite normally. After that, in this case, it redirects me to the dashboard and there I execute a use effect to obtain the session, validate that the user exists and after that I use .createDocument to save that user in a collection.
The funny thing is that it only happens when a user registers with their Google account, if they register with normal without providers, it only creates a single document
I appreciate your suggestions
Recommended threads
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...
- [SOLVED] React Native Appwrite SDK not w...
So I'm trying to generate a unique ID using the ID.unique() and its generating properly, but its saying its longer than 36 characters but it isnt.. ```typescri...
- Appwrite exception: user_unauthorized, t...
After refreshing the app it is working perfectly