
GertD.98744 (Aserto Inc.) asked a question.
Hi all,
Today, the event hooks are sent as cloud events version 0.1, which is a none supported version.
Currently, the cloud events SDKs support v0.3 and v1.0
See https://github.com/cloudevents/sdk-go/blob/main/README.md
- Note: Supported CloudEvents specification: 0.3, 1.0
It would be really nice if one can use the standards-based cloud event receiver, instead of cooking your own.
This would look like this:
// receive Okta Event Hook using Cloud Event SDK
func receive(event cloudevents.Event) {
var oktaEventHook okta.LogEvent
_ = json.Unmarshal(event.Data(), &oktaEventHook)
}
// use Cloud Events Receiver
func main() {
// The default client is HTTP.
c, err := cloudevents.NewClientHTTP()
if err != nil {
log.Fatalf("failed to create client, %v", err)
}
log.Fatal(c.StartReceiver(context.Background(), receive));
}
So the concrete question is if there are plans to update the Okta Event Hooks to support a supported version of the cloud events spec instead of v0.1 which was a draft?
Thanks,
-GertD

Hi @GertD.98744 (Aserto Inc.),
Thank you for posting on the Okta community page!
I would recommend to check the Okta Roadmap as there is where new features are being announced:
Additionally, I would advise to also check the ideas page to see if someone submitted a feature request and if not, you could submit one to have this functionality supported. The best way to file feature requests would be from the community site.
Once feature requests are submitted they are visible to other Okta admins, who can vote on them to provide more visibility. Using this method will allow you to maintain visibility on your feature requests throughout the process.