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
- How does sending email from the Appwrite...
I noticed that the pricing page mentions “Messages – 1000 per month” for the Free plan. Is this different from sending emails? When I try to send an email usin...
- Appwrite functions dart runtime (3.7 sup...
It seems that currently Appwrite functions only support Dart runtime to 3.5, for my code I need dart 3.7. Is there any plan to support Dart3.7 runtime soon. Is ...
- Update string attribute
Hi, Unsure if we’re able to use newKey when updating string attribute over node.js server api call to change an attribute name instead of having to create a ne...