Okta Event Hooks require an initial verification of the external service endpoint prior to ongoing triggering of the Hook. For more information on this request, see One-Time Verification Request.
Add the following code to your external service to address this request.
Note: Also, make sure to have the required default code and packages in your project. See Overview and considerations for further information.