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
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...
- ~20 function variables disappeared
Hi, In one of my functions about 20 variables just disappeared. The "Next" button also seems to be bugged. The "total variables" text still says the correct amo...