Okta Webhooks as a trigger in N8N

Describe the issue/error/question

I am having the hardest time getting inline webhooks to work with N8N. I am unable to do the verification, however, I can do the Preview & Deliver Event Hook part in Okta just fine. In this case, I am trying to get a hook sent when a user activates their account.

Okta does not allow the changing of test url to production within the platform, either.

What is the error message (if any)?

Unable to verify event hook. Hook “User Re/Activation” execution failed. Remote server responded with client error, responseCode=404 message=Not Found

Information on your n8n setup

  • n8n version: 0.195.5
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Cloud

Hi @n1isaac, if Okta doesn’t allow you to change a URL post registration perhaps you can simply register a second webhook with the production URL?

As for the verification are they perhaps using different HTTP methods for this type of requests or expect a specific response? If they simply use a different HTTP method you can simply add another webhook node with the additional method (but the same path) to your workflow.

If they expect a specific response, you’d need to implement logic into your workflow that verifies how to handle each request type and prepares the required response. You can most likely use an IF node to identify such verification requests, and the Respond to Webhook node to return a custom response.