In this tutorial, we will create a webhook in Oomnitza to deactivate users in Oomnitza when deactivate events occur in Okta.
Important
The process for creating event hooks in vendor applications might change. Always consult your vendor application documentation to keep up-to-date with changes.
Creating the webhook in Oomnitza
- Click Configuration.
- From the Integrations menu, click Webhooks.
- Click Add webhook
.
- Select the Okta User Deactivated Webhook.
- On the Configuration Details page, complete the following steps:
- Enter a unique name for the webhook.
- Enter an authentication secret. You must copy the secret because you will need it when you create the event hook.
- Select the update user Oomnitza event .
- In this case, you modify the body to change the status of user records to Inactive.
- Click NEXT.
- By default a sync key has already been added. You can add two or more sync keys to ensure that records aren't skipped if a sync key doesn't contain a value.
- Click SAVE.
Result
When the webhook is saved, you are provided with the Webhook URL. Don't forget to copy it. You will need it when you create the event hook in the vendor application.
Creating the event hook in Okta
Log into Okta.
Go to Admin console > Workflow > Event hooks > Create Event hook.
Complete the following steps:
Enter the name of the event hook.
Enter the URL of the Oomnitza webhook.
In the Authentication field, enter Authorization.
In the Authentication secret field, enter the secret that you entered when you created the Oomnitza webhook.
In the Subscribe to events field, enter User deactivated. The event name must correspond to the Oomnitza preset.
Save your changes and verify the endpoint.
Result
When a user is deactivated in Okta, the user will be deactivated in Oomnitza and if a workflow has been configured to run for deactivated users, it will be triggered.
Comments
0 comments
Please sign in to leave a comment.