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
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?