You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Webhooks user.delete and user.create don't fire if set to specific application
Description
Webhooks user.delete and user.create don't fire if set to specific application. They are not listed in the documentation as being only for all applications.
Affects versions
1.29.0
Steps to reproduce
Steps to reproduce the behavior:
Create a tenant "tenant1" different from the default fusionauth tenant
Create an application "app1" for "tenant1"
Turn on user.create and user.delete webhooks, and set their transaction to "All webhooks must complete successfully"
Create a webhook for user.create and user.delete, and from the applications tab, turn off "All Applications" and select "app1"
Create a user specifically for tenant1 (I'm logging in using a google account with the relevant connector, with the tenant set to autocreate users with social logins)
Expected behavior
The specified webhook will be called with a user.create event
Platform
Database PostgresSQL (AWS RDS 12.4)
Additional context
I'm not sure if this is a multitenant problem or a problem in resolving app-specific webhooks. I'm assuming that it's some resolution problem and FusionAuth doesn't see that there are any webhooks, otherwise it should fail based on the transaction setting. It would probably be a good idea, if the tenant is set up to fire webhooks, and no webhooks are found, to fail the transaction (since that would be a smell that something is set up incorrectly, although it would then require setting up the webhook before enabling it in the tenant if doing in a running system).
We have two tenants on our system, and the same e-mail may exist in both systems. We would like to only receive events for one of the tenants; while we could work around the problem by screening by tenantid in the webhook itself, but that complicates things substantially for us (we have to look up the tenantid for the desired application when the webhook-receiving-application starts up, and pull the value from the cache when receiving the webhook).
The text was updated successfully, but these errors were encountered:
Webhooks user.delete and user.create don't fire if set to specific application
Description
Webhooks user.delete and user.create don't fire if set to specific application. They are not listed in the documentation as being only for all applications.
Affects versions
1.29.0
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
The specified webhook will be called with a user.create event
Platform
Additional context
I'm not sure if this is a multitenant problem or a problem in resolving app-specific webhooks. I'm assuming that it's some resolution problem and FusionAuth doesn't see that there are any webhooks, otherwise it should fail based on the transaction setting. It would probably be a good idea, if the tenant is set up to fire webhooks, and no webhooks are found, to fail the transaction (since that would be a smell that something is set up incorrectly, although it would then require setting up the webhook before enabling it in the tenant if doing in a running system).
We have two tenants on our system, and the same e-mail may exist in both systems. We would like to only receive events for one of the tenants; while we could work around the problem by screening by tenantid in the webhook itself, but that complicates things substantially for us (we have to look up the tenantid for the desired application when the webhook-receiving-application starts up, and pull the value from the cache when receiving the webhook).
The text was updated successfully, but these errors were encountered: