You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: Use getClientIdentity() for token exchange credentials
Simplified DefaultIdTokenExtension and DefaultXsuaaTokenExtension to use
OAuth2ServiceConfiguration.getClientIdentity() instead of manually checking
for certificate vs client secret. This ensures correct credential handling
for both X.509 certificate and client secret authentication.
Also added IAS certificate properties (certificate, key, credential-type,
certurl) to IdentityServicesPropertySourceFactory to properly map X.509
credentials for IAS service bindings.
Changes:
- DefaultIdTokenExtension: Use iasConfig.getClientIdentity()
- DefaultXsuaaTokenExtension: Use xsuaaConfig.getClientIdentity()
- IdentityServicesPropertySourceFactory: Add IAS certificate properties
* test: Update tests to use getClientIdentity() mocks
* chore: Release 4.0.2
* test: Remove unused credentials variables from tests
* fix: Use token issuer for multi-tenant IAS token exchange
In multi-tenant scenarios, the IAS token exchange must use the issuer
from the token (consumer IAS tenant) instead of the provider IAS URL
from the configuration. This ensures the exchange request goes to the
correct tenant where the user exists.
* chore: Release 4.0.3
0 commit comments