Back

Users create event not triggering on unverified anonymous account creation

  • 0
  • Users
  • Accounts
Infinil
11 Sep, 2023, 18:03

title

TL;DR
Users are reporting that the event for anonymous account creation is not triggering, even with OAuth2. It seems that the PHP code does not include an event for anonymous session creation. The event currently only triggers for the 'create' endpoint. It is unclear if this is intended behavior or not.
Infinil
11 Sep, 2023, 18:04

is this intended behaviour?

Binyamin
11 Sep, 2023, 18:27

Yes

Binyamin
11 Sep, 2023, 18:28
Infinil
11 Sep, 2023, 18:29

but technically anonymous account also get a user id 🤔

Binyamin
11 Sep, 2023, 18:30

Yes, but you can see here in the creation of anonymous session no event is attached

Infinil
11 Sep, 2023, 18:32

i see hmmm.. so currently its not possible to trigger an event on anonymous account creation / session creation right?

Infinil
11 Sep, 2023, 18:33

because i was making a cloud function which automatically makes a user item in collection

Infinil
11 Sep, 2023, 18:33

but according to the php code seems impossible 🤔

Binyamin
11 Sep, 2023, 18:33

Yes, it's not possible

Binyamin
11 Sep, 2023, 18:33
Binyamin
11 Sep, 2023, 18:34

Even OAuth2 won't trigger that event

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