Context
Change Type: Improvement
Product area: Application enablement & solutions
Component: Java SDK
Deployed at: eu.latest.cumulocity.com, apj.cumulocity.com, jp.cumulocity.com, cumulocity.com, us.cumulocity.com, emea.cumulocity.com
Technical details
Build artifact: cumulocity (2025.78.0)
Internal ID: MTM-64869
Description
When using external IAM JWT tokens, the authentication failed to correctly identify the tenant and user when the token did not include a tenant ID or username in its claims.
With this change, the Java SDK now properly retrieves the tenant ID and username from the Cumulocity credentials context, ensuring correct identification and smoother integration with external identity providers.