Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Trigger a function users.*.create when an Anonymous user is created #5198

Open
2 tasks done
chuiizeet opened this issue Mar 9, 2023 · 1 comment
Open
2 tasks done
Assignees
Labels
bug Something isn't working product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services.
Milestone

Comments

@chuiizeet
Copy link
Contributor

👟 Reproduction steps

Try to use users.*.create when an anonymous user is created but does not works.

👍 Expected behavior

The function must be triggered

👎 Actual Behavior

The function does not triggered

🎲 Appwrite version

Version 1.2.x

💻 Operating system

MacOS

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@chuiizeet chuiizeet added the bug Something isn't working label Mar 9, 2023
@stnguyen90
Copy link
Contributor

@chuiizeet, thanks for opening this issue! 🙏🏼 It looks like the Create Anonymous Session endpoint only triggers a users.[userId].sessions.[sessionId].create event:

->label('event', 'users.[userId].sessions.[sessionId].create')

We definitely need to also trigger the users.[userId].create event. The big challenge right now is our event mechanism only supports 1 event per endpoint, so we've been discussing rewriting the system to support multiple events.

Related issue: #2406

@stnguyen90 stnguyen90 added the product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. label Mar 9, 2023
@stnguyen90 stnguyen90 self-assigned this Jun 12, 2023
@stnguyen90 stnguyen90 added this to the 1.4.0 milestone Jun 12, 2023
@stnguyen90 stnguyen90 modified the milestones: 1.4.0, 1.5.0 Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services.
Projects
None yet
Development

No branches or pull requests

2 participants