I am following these two tutorials:
I have a server that is able to authenticate and save tokens of a user, this is hosted at: https://server.mydomain.com
I have a separate domain hosting my embedded UI in the admin dashboard at: https://ui.mydomain.com
I'm able to redirect to my UI URL from from server after authentication and the app will load but I get the following error on console:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://server.mydomain.com') does not match the recipient window's origin ('https://ui.mydomain.com').
The reason for this split is to separate concerns and code base and because the UI is a static site hosted behind CloudFlare + Google Cloud Storage.
Am I going down the right path? Is there an example I can follow for separate UI and server URLs? The App Setup only allows one `App Url` setting