Getting Invalid domain error while connecting to app from other domain
Getting Invalid domain error while connecting to app from other domain
There are two apps A & B. App A is deployed on exampleA.com and B is deployed on exampleB.com . In order to call a service of App A from App B, the App B connects to App A using the command
`SYMPHONY.application.connect(<app A ID>)`
This logs error in console "Invalid domain exampleA.com".
Please note, if both apps are deployed on same domain, e.g. localhost, this connection is made seamlessly.
There are two apps A & B. App A is deployed on exampleA.com and B is deployed on exampleB.com . In order to call a service of App A from App B, the App B connects to App A using the command
`SYMPHONY.application.connect(<app A ID>)`
This logs error in console "Invalid domain exampleA.com".
Please note, if both apps are deployed on same domain, e.g. localhost, this connection is made seamlessly.
#question
Getting Invalid domain error while connecting to app from other domain
There are two apps A & B. App A is deployed on exampleA.com and B is deployed on exampleB.com . In order to call a service of App A from App B, the App B connects to App A using the command
`SYMPHONY.application.connect(<app A ID>)`
This logs error in console "Invalid domain exampleA.com".
Please note, if both apps are deployed on same domain, e.g. localhost, this connection is made seamlessly.