sap-tutorials / btp-foundation

Learn with BTP Foundation tutorials. Get an introduction to SAP technology and configuration options.
Creative Commons Attribution 4.0 International
0 stars 11 forks source link

Secure a Basic Node.js App with the Authorization and Trust Management Service (XSUAA) #2148

Open gparlakov opened 6 days ago

gparlakov commented 6 days ago

Tutorials: https://developers.sap.com/tutorials/cp-cf-security-xsuaa-create.html

On the step Call your application from its secure route I got a 500 internal error when calling https://approuter-<my-app-host>.cfapps.<global-account>.hana.ondemand.com/products. It turns out there was 1 less binding than required (products-list was bound to the xsuaa service instance but the approuter app was not) Fixed following https://me.sap.com/notes/0002949591

MichaelPShea commented 1 day ago

@gparlakov: If you had followed the instructions in https://developers.sap.com/tutorials/cp-cf-security-xsuaa-create.html#c88961a3-cc57-49a5-b1a9-5d1de89d1350 step 6, you would have added the binding to the approuter. What we could do is add to the troubleshooting section about the HTTP 500 error message. What do you think?