
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
- Appwrite messaging api error
```=== Push Notification Function Started === Endpoint: https://fra.cloud.appwrite.io/v1 Project: 6899062700398ffeae4f Database: threed-dating-db Notification f...
- function unable to detect client ip
Hi I have hosted appwrite on self hosted server. Currently I don't have any domain. I am accessing through ip. I have created one function which should detect t...
- Appwrite Cloud Function runs forever, ev...
It just keeps running, and there's no way to manually stop it.
