In my application, users can only login via OAuth. I need to fire a function when they login for the first time to create some tables.
However, it seems that when a user logs in for the first time, appwrite does not recoginize this as a new registered user (see screenshot).
I tried to use the users.*.create event.
Yes, this is a known issue: https://github.com/appwrite/appwrite/issues/2406
For now, I would suggest using the session create event instead
alright thx steven 🙏
[Solved] Fire function when user does his first oauth login.
Also when made through the appwrite console it's not being triggered
Hope a solution is found soon: https://github.com/appwrite/appwrite/pull/3567
Recommended threads
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...