Skip to content

Commit 1cc8765

Browse files
authored
Add release note for App2App (#993)
1 parent bf79f76 commit 1cc8765

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,12 +587,17 @@ void testClientIdWithTenantId()
587587
"urn:sap:identity:consumer:clientid:client-id:apptid:tenant-id",
588588
"app_tid",
589589
PROVIDER_TENANT_ID));
590+
/*
591+
* Note: having two different apptid values here is intentional.
592+
* The first one is the tenant ID used by the target system.
593+
* The second one is the tenant ID of the current application.
594+
* While they can be the same, they do not have to be.
595+
*/
590596
}
591597

592598
@Test
593599
void testProviderClientId()
594600
{
595-
@SuppressWarnings( "deprecation" )
596601
final ServiceBindingDestinationOptions options =
597602
ServiceBindingDestinationOptions
598603
.forService(BINDING)
@@ -622,7 +627,6 @@ void testProviderClientId()
622627
@Test
623628
void testProviderClientIdWithTenantId()
624629
{
625-
@SuppressWarnings( "deprecation" )
626630
final ServiceBindingDestinationOptions options =
627631
ServiceBindingDestinationOptions
628632
.forService(BINDING)

release_notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
### ✨ New Functionality
1414

1515
- 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).
16+
- Add support for explicitly passing the `clientid` of the target system when using the IAS App2App authentication flow.
17+
Use the new methods `withProviderClient(clientid)` and `withProviderClient(clientid, apptid)` under `BtpServiceOptions.IasOptions`.
1618

1719
### 📈 Improvements
1820

0 commit comments

Comments
 (0)