Closed sapeavy closed 4 years ago
This is related to changes for Cloud Events schema 1.0. The cloud event model spec has also updated.
This was updated in November 2019 to support both the eventgrid schema as well as the cloudevents 1.0 schema. See the UpdatesController for details on how both are supported (OPTIONS for cloudevents and POST for validation of the original event grid handshake). For further details about the implementation, please see: https://madeofstrings.com/2020/01/21/webhooks-with-azure-event-grid-and-cloudevents-v1-0/
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Expected/desired behavior
Mention any other details that might be useful
It appears that "aeg-event-type" is no longer used for validation. It should instead check the method for "OPTIONS" and use the "WebHook-Request-Origin" as the return value.