From 09c738a7c57ab8c879419331873a77a796dba304 Mon Sep 17 00:00:00 2001 From: Matthias Kuhr Date: Thu, 30 Oct 2025 12:31:31 +0100 Subject: [PATCH 1/3] Add release note for App2App --- .../connectivity/BtpServicePropertySuppliersTest.java | 8 ++++++-- release_notes.md | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java b/cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java index b86fde18b..6ac3a507c 100644 --- a/cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java +++ b/cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java @@ -587,12 +587,17 @@ void testClientIdWithTenantId() "urn:sap:identity:consumer:clientid:client-id:apptid:tenant-id", "app_tid", PROVIDER_TENANT_ID)); + /* + * Note: having two different apptid values here is intentional. + * The first one is the tenant ID used by the target system. + * The second one is the tenant ID of the current application. + * While they can be the same, they do not have to be. + */ } @Test void testProviderClientId() { - @SuppressWarnings( "deprecation" ) final ServiceBindingDestinationOptions options = ServiceBindingDestinationOptions .forService(BINDING) @@ -622,7 +627,6 @@ void testProviderClientId() @Test void testProviderClientIdWithTenantId() { - @SuppressWarnings( "deprecation" ) final ServiceBindingDestinationOptions options = ServiceBindingDestinationOptions .forService(BINDING) diff --git a/release_notes.md b/release_notes.md index 20ffb075e..a24eb3120 100644 --- a/release_notes.md +++ b/release_notes.md @@ -13,6 +13,8 @@ ### ✨ New Functionality - Add support for using the Zero Trust Identity Service (ZTIS) on Kyma by detecting the [well-known environment variable `SPIFFE_ENDPOINT_SOCKET`](https://github.com/spiffe/spiffe/blob/main/standards/SPIFFE_Workload_Endpoint.md#4-locating-the-endpoint). +- Add support for explicitly passing the `clientid` of the target system when using the IAS App2App authentication flow. + Use the new methods `withProviderClient(cliendit)` and `withProviderClient(clientid, apptid)` under `BtpServiceOptions.IasOptions`. ### 📈 Improvements From cb8a3e3702282d2a71817e58fd1c6059b7ec2e35 Mon Sep 17 00:00:00 2001 From: Matthias Kuhr Date: Thu, 30 Oct 2025 12:34:30 +0100 Subject: [PATCH 2/3] Formatting --- .../BtpServicePropertySuppliersTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java b/cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java index 6ac3a507c..6afd3fef1 100644 --- a/cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java +++ b/cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java @@ -587,12 +587,12 @@ void testClientIdWithTenantId() "urn:sap:identity:consumer:clientid:client-id:apptid:tenant-id", "app_tid", PROVIDER_TENANT_ID)); - /* - * Note: having two different apptid values here is intentional. - * The first one is the tenant ID used by the target system. - * The second one is the tenant ID of the current application. - * While they can be the same, they do not have to be. - */ + /* + * Note: having two different apptid values here is intentional. + * The first one is the tenant ID used by the target system. + * The second one is the tenant ID of the current application. + * While they can be the same, they do not have to be. + */ } @Test From cf72d9a0126cdcdadfa50c1765fd762758673628 Mon Sep 17 00:00:00 2001 From: Charles Dubois <103174266+CharlesDuboisSAP@users.noreply.github.com> Date: Thu, 30 Oct 2025 12:40:56 +0100 Subject: [PATCH 3/3] Update release_notes.md --- release_notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release_notes.md b/release_notes.md index a24eb3120..0735e97f9 100644 --- a/release_notes.md +++ b/release_notes.md @@ -14,7 +14,7 @@ - Add support for using the Zero Trust Identity Service (ZTIS) on Kyma by detecting the [well-known environment variable `SPIFFE_ENDPOINT_SOCKET`](https://github.com/spiffe/spiffe/blob/main/standards/SPIFFE_Workload_Endpoint.md#4-locating-the-endpoint). - Add support for explicitly passing the `clientid` of the target system when using the IAS App2App authentication flow. - Use the new methods `withProviderClient(cliendit)` and `withProviderClient(clientid, apptid)` under `BtpServiceOptions.IasOptions`. + Use the new methods `withProviderClient(clientid)` and `withProviderClient(clientid, apptid)` under `BtpServiceOptions.IasOptions`. ### 📈 Improvements