
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 many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- android kotlin error updatePhone
package vasu.apps.schooldashboard.Services import android.util.Log import io.appwrite.Client import io.appwrite.ID import io.appwrite.exceptions.AppwriteExcept...
- React native app login via Safari
Hi! I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari co...
