OAuth Flow Popup Not Able to Communicate back to Parent Monday Window

I’m trying to execute an OAuth flow by spawning a popup from within an Account Settings View app from within Monday.com. The Monday app executes a window.open(… which executes the OAuth flow and finally returns a success HTML message back to the popup.

Along with the message I want to inform the Account Settings View app that the flow was successful. I have a window.addEventListener(‘message’, (event) => … running in the Account Settings App to listen for a message from the popup on success.

In the popup I’m attempting to send a message by using a window.parent.postMessage(messageData, parentOrigin);

I have not been successful in executing this and I’m suspecting that that monday.com is blocking this feature for security reasons. Is this accurate? Also, if this won’t work how can I communicate back to the Monday app that the OAuth flow was successful?