cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

403 Forbidden error on consuming CAPM API in a Custom SAPUI5 project

RjainCap68
Explorer
0 Kudos
306

Hi All,

We are currently facing issues with authorization on our CAPM service, where on reaching out to CAPM API through application router from Custom SAPUI5 app using standalone approuter, we get 403 forbidden error.

We have binded both the modules with the same destination service instance, connectivity instance & xsuaa instance. 

The same setup works in our internal system, but it is failing out in client environment.

Earlier, the UI app was also not accessible, it was giving auth error, but after adding below properties in xs-security.json file, the app was accessible - 

"oauth2-configuration": {
    "redirect-uris": [
      "..UI Approuter URL/**",
      "..CAPM SRV URL../**"
    ],
    "system-attributes": []
  }
 
UI Approuter mta properties:- 
RjainCap_4-1729662574940.png

 


CAPM SRV mta.yaml :- 

RjainCap_1-1729662118806.pngRjainCap_3-1729662524040.png

 

XS-app.json :- 

 
RjainCap_5-1729662604022.png

 

Accepted Solutions (0)

Answers (0)