{"ref":"content:connect-to-a-public-cloud-api-in-nodejs-via-authorisation-code","page":"/content/connect-to-a-public-cloud-api-in-nodejs-via-authorisation-code","json":"/content/connect-to-a-public-cloud-api-in-nodejs-via-authorisation-code.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"connect-to-a-public-cloud-api-in-nodejs-via-authorisation-code","title":"Connect to Public Cloud API in Node.js via Authorisation Code","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/connect-to-public-cloud-api-in-node-js-via-authorisation-code/ba-p/14158313","content_type":"blog","explains":[{"ref":"capability:destinations","applies_to":{"ecosystems":["btp","cap"]}},{"ref":"capability:authentication","applies_to":{"ecosystems":["btp","cap"]}}],"summary":"The authorisation code flow rather than client credentials, which is the harder half: a service key, an XSUAA instance bound to the CAP app, and a destination, with the author saying plainly that this was challenging and they hope it saves somebody the same time.","short":"Calling a public cloud API from CAP via authorisation code flow","author":"Egan","published":"2025-07-22","sources":[{"url":"https://community.sap.com/t5/technology-blog-posts-by-sap/connect-to-public-cloud-api-in-node-js-via-authorisation-code/ba-p/14158313","title":"Connect to Public Cloud API in Node.js via Authorisation Code — SAP Community","checked":"2026-09-08"}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-08"},"drafted_with_ai":true,"published_on":"source:sap-community","history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:destinations (cap, btp); capability:authentication (cap, btp)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 15 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-07-22"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":1946,"unit":"views"},{"value":0,"unit":"comments"},{"value":10,"unit":"likes"}]},"signals":{"views":1946,"likes":10,"comments":0,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}