
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
- How to render .mov gif files from an App...
So I've read the support thread and the guides about file uploads. But I'm still having trouble rendering my .mov files to my React.js front end using the app...
- Sometimes the Reset Email Not Arriving
Sometimes when a user creates a recovery (Within the activity log of the user it indeed shows 'recovery.create') no email is delivered. I use SendGrid as smtp ...
- DATABASE ERROR
I suddenly cannot delete any documents in my organization collection. No matter I use SDK or delete it manually in appwrite console platform, it still cannot be...
