SAP Knowledge Base Article - Preview

3747295 - get odata 401 authentication error after deploying cap node.js app to btp cloud foundry

Symptom

UI5 frontend loads successfully, but all OData requests return HTTP 401 Unauthorized
After changing the "source": "^(.*)$" route to authenticationType: "xsuaa", XSUAA displays "Authorization Request Error - The request for authorization was invalid"


Read more...

Environment

  • SAP CAP – node.js runtime

Keywords

cap, node.js, btp cloud foundry, approuter, xs-app.json, authenticationType none, xsuaa, oauth2, redirect-uris, xs-security.json, 401 authentication required, odata 401, authorization request error, clientid option, ui5 routing , KBA , BC-XS-CDX-NJS , SAP CAP – node.js runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.