Question
Intervención General de la Administración del Estado (IGAE)
ES
Last activity: 15 Aug 2024 9:23 EDT
PEGA and Angular connectivity. External API locking
Good morning
We are finding some connectivity problems between PEGA and Angular
If we run our P1 app we get an error, but CORS configuration is locking the response provided by PEGA API. We get a 200 Ok message, which means we can connect with the external server (PEGA API) but the response es locked by CORS.
However, executing the same test by using Starter-Pack app, the response provided by PEGA API is not locked and we can visualize data provided by API with no problems.
Good morning
We are finding some connectivity problems between PEGA and Angular
If we run our P1 app we get an error, but CORS configuration is locking the response provided by PEGA API. We get a 200 Ok message, which means we can connect with the external server (PEGA API) but the response es locked by CORS.
However, executing the same test by using Starter-Pack app, the response provided by PEGA API is not locked and we can visualize data provided by API with no problems.
The only difference we can appreciate by comparing both apps is that Starter-Pack just send a request to PEGA API, but there is no back component. In the other hand, our P1 app has got a back component to send different requests (internal ones to our P3 API and external ones to PEGA API too). So we think there are some mistakes in our configuration to avoid external API locking
Please could you throw some light on this?
Thanks in advance
Kind regards