Hi
I am facing an issue while working with event hooks on okta.
When I rename “user name” and “email” I was expecting to receive one event hooks for “Updated user application property” but I receive and the events “Remove user’s application membership” and “Add user to application membership”. Is that the expected behaviour? Is there a way of not triggering the event “Remove user’s application membership success” when the user is updated?
Steps to reproduce
- I visit Sign In
- I click on my app
- I click on the tab assignments
- I click on Edit button
- I change the values “User Name” and “Email” to “admin_new_name@example.com”
- I visit Sign In
The strange behaviour is - I see 2 events: the first is “Remove user’s application membership”, the second is “Add user to application membership”
note: this is relevant for us because we have hooks configured to do something when the event “Remove user’s application membership” is trigered via an EventHook.
This is the second time I am asking this question because I didn’t understand the answers from here and didn’t get more replies
Thanks