This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates an OAuth app.
Only fields provided in mask
are updated.
You can update the following fields:
name
description
allowedDomain
loginUrl
logoutUrl
technology
function updateOAuthApp(
_id: string,
oAuthApp: UpdateOAuthApp,
mask: Array<string>,
): Promise<OAuthApp>;
ID of the OAuth app.
Explicit list of fields to update. Only fields listed are updated.
import { oAuthApps } from "@wix/auth-management";
async function updateOAuthApp(id, oAuthApp, mask) {
const response = await oAuthApps.updateOAuthApp(id, oAuthApp, mask);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.