<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
0D54z00007k0W1PCAUOkta Classic EngineLifecycle ManagementAnswered2022-06-23T19:51:33.000Z2022-06-22T19:24:10.000Z2022-06-23T19:51:33.000Z

GertD.98744 (Aserto Inc.) asked a question.

Event Hooks Cloud Events supported version

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


  • flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)

    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.

    Expand Post
This question is closed.
Loading
Event Hooks Cloud Events supported version