{"ref":"content:execute-oauth2-client-credentials-protected-rest-request-from-cap","page":"/content/execute-oauth2-client-credentials-protected-rest-request-from-cap","json":"/content/execute-oauth2-client-credentials-protected-rest-request-from-cap.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"execute-oauth2-client-credentials-protected-rest-request-from-cap","title":"Execute [OAuth2 client credentials] protected REST request with SAP CAP Application","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/execute-oauth2-client-credentials-protected-rest-request-with-sap-cap/ba-p/13536734","content_type":"blog","explains":[{"ref":"capability:authentication","applies_to":{"ecosystems":["cap"]}},{"ref":"capability:destinations","applies_to":{"ecosystems":["cap"]}}],"summary":"A recipe, and the author calls it that — package.json, a .cds and a handler — for calling a remote service protected by OAuth2 client credentials from a CAP application. Short, complete, and addressed to CAP developers rather than to BTP administrators.","short":"Calling an OAuth2 client credentials protected API from CAP","author":"Lachmish","published":"2022-04-27","sources":[{"url":"https://community.sap.com/t5/technology-blog-posts-by-sap/execute-oauth2-client-credentials-protected-rest-request-with-sap-cap/ba-p/13536734","title":"Execute [OAuth2 client credentials] protected REST request with SAP CAP Application — 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:authentication (cap); capability:destinations (cap)","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":"poor","evidence":"published 54 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"CAP Java 3.0.1, 2024-07 and 1 more"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":7724,"unit":"views"},{"value":4,"unit":"comments"},{"value":7,"unit":"likes"}]},"signals":{"views":7724,"likes":7,"comments":4,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}