
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
- Error while login the member which is in...
Facing some error. Error logging in: Exception: No team access. Please contact your administrator. But the email/name/ new client I have created is in my tea...
- Image Transformation Issue
My project was working with images normally, I never processed them or anything, and today, suddenly when trying to add or update images from the project, it st...
- easiest way to ban an IP from appwrite
for example, lets say that i have an app where people can post cars, and someone is constantly spamming my app with trucks, is there a way to ban that user IP s...
