onOAuthAppCreated( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Notes:

Triggered when an OAuth app is created.

Permissions
Headless Manage
Manage OAuth Apps
Read OAuth Apps
Learn more about app permissions.
Method Declaration
Copy
function onOAuthAppCreated(handler: function): void;
Method Parameters
handlerfunction

handler(event: OAuthAppCreatedEnvelope): void | Promise<void>

JavaScript
import { oAuthApps } from "@wix/auth-management"; oAuthApps.onOAuthAppCreated((event) => { // handle your event here });
Did this help?