OAuth
After instantiating the SDK (which is explained here), you’re allowed to use the following methods from auth.oauth.
complete()
Parameters
CompleteParams The parameters necessary to complete the authentication process. (bundle and subOrgId).
bundlesubOrgId
Returns
void
Example
const completeOAuth = await sdk.auth.oauth.complete({
bundle: "BUNDLE_ID",
subOrgId: "SUB_ORG_ID",
});