Back

users.*.create Event Doesn't Trigger When Using OAuth

  • 0
  • Users
  • Functions
  • Accounts
SenZi
6 May, 2023, 17:20

Hi, I have a function that runs on users.*.create event. It works fine when creating a user using email and password but while using an OAuth Provider It creates the user as usual but doesn't trigger the event.

TL;DR
The users.*.create event doesn't work when creating a user using OAuth. This is a known issue, and you can find more information on GitHub. In the meantime, you can try triggering on session creation instead.
Drake
6 May, 2023, 17:36

Yes, this is a known issue. Make sure to 👍 https://github.com/appwrite/appwrite/issues/2406

For now, I suggest triggering on session creation

SenZi
6 May, 2023, 17:38

Okay Thanks

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more