<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00008chHhtSAEOkta Classic EngineOkta Integration NetworkAnswered2022-01-07T22:14:01.000Z2020-06-03T05:16:42.000Z2020-06-03T13:26:47.000Z

ShidehK.24849 (Customer) asked a question.

Event hook verification fails with "errorSummary": "Unable to verify event hook. Could not deserialize response due to error at Line 1 Column 1"

Hi

 

I have set up an event hook from Okta to an azure function. When I run the verification request I see in my azure function logs that the request is processed and the verification code is returned as {"verification":"U09nvGv8rRrb8VS9vhlpfr-vFV2ni7CkjeMixM8r"} but the it still fails not able to process the response.


  • sandeepk.84743 (Wipro Technologies)

    After registering an Event Hook, but before you can use it, you need to have Okta make a one-time GET verification request to your endpoint, passing your service a verification value that your service needs to send back. This serves as a test confirming that you control the endpoint. The way your service needs to handle this one-time verification is as follows: The request from Okta will contain an HTTP header named 

    X-Okta-Verification-Challenge

    . Your service needs to read the value of that header and return it in the response body, in a JSON object named 

    verification i.e.: 

    { "verification" : "value_from_header" }

     

    Note that the value comes to you in an HTTP header, but you need to send it back in a JSON object.

    Are you sure you are returning a JSON Object to OKTA ?

    Expand Post
This question is closed.
Loading
Event hook verification fails with "errorSummary": "Unable to verify event hook. Could not deserialize response due to error at Line 1 Column 1"