This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an OAuth app is created.
function onOAuthAppCreated(handler: function): void;
handler(event: OAuthAppCreatedEnvelope): void | Promise<void>
import { oAuthApps } from "@wix/auth-management";
oAuthApps.onOAuthAppCreated((event) => {
// handle your event here
});