Cordova + Angular

I have a web version in Angular 14 that works correctly. Now I am generating the mobile version using Cordova. In the email verification process, when I click on the email, the app wants to return to the Angular page from the openlogin popup, but it fails. It gives me the following error:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://localhost') does not match the recipient window's origin ('https://app.openlogin.com').", source: https://app.openlogin.com/js/popup-window.33e58bc9.js (

I hit the back button on the device, I perform the verification process again, and this time it logs in, because the process had already been completed previously.

I'm using
"@web3auth/base": "^3.0.0", "@web3auth/core": "^3.0.0", "@web3auth/modal": "^3.0.3",

What can I do so that I can return from the popup to the app?

Thank you very much!



Originally posted by: fjlogrono

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/855