
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
- Flutter native Google Sign Up with googl...
Hey I want to use the native login instead of the WebView. Do you have any experience on that and has Appwrite to plan this support?
- 404 for self-host
docker-compose.yml: x-logging: &x-logging logging: driver: 'json-file' options: max-file: '5' max-size: '10m' services: traefik: ima...
- Is p-limit compatible with Appwrite?
I have a function that makes asynchronous calls to different Appwrite collections. This is how I make the call: ```js await Promise.allSettled([ ...
