
I have included OAuth2 using Google only in my app. I am creating a function which will execute when a new user registers using their google account. Right now, I am only logging the response.
Does anyone know what should be the event name attached to a function which enables it to run upon successful registration with Google account?
I have tried these below but it doesn't work
users.*.create
users.*.delete
users.*.verification.*
providers.*
Anybody knows? Please help

Could you see if users.*.sessions.*.create
works for you?


Sure Kenny. Will do it now

I would have expected users.*.create
to work, when registering a new account though. But off the top of my head I'm not sure how oauth creates accounts.
Recommended threads
- Cors error in appwrite functions
I am facing cors error in appwrite functions ,intially it was working fine now showing cors error
- I have the error: "User with the request...
Hello, I'm using a function in Appwrite and the GET and POST method works well, the POST method creates a user with the method users.create() , but when I try t...
- Function execution error. Error Number: ...
Internal curl errors has occurred within the executor! Error Number: 52. Error Msg: Empty reply from server\nError Code: 500 Node-18.0 cloud
