Mike Chambers
09/08/2022, 11:18 AMif (window.opener && typeof opener.postMessage === 'function') {
opener.postMessage({
type: 'hubspot:oauth:success',
url: location.href,
code: '@Model.AuthorizationCode'
}, '*');
window.close();
}
presumably is what goes on when the /oath2/umbraco/success callback url is hit.