[Bug] AzureArcManagedIdentitySource looking for WWW-Authenticate response header while agent returns Www-Authenticate #884
Labels
Bug
Something isn't working, needs an investigation and a fix
confidential-client
For issues related to confidential client apps
P2
Normal priority items, should be done after P1
Library version used
1.17.2
Java version
21
Scenario
Other - please specify
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
I am trying to log in my application running on an Azure Arc enabled Ubuntu 24.04 server. In the class AzureArcManagedIdentitySource, there is a check for existence of the WWW-Authenticate header. However, my agent returns the header without capitals: Www-Authenticate (see image).
I see the code used to check for Www-Authenticate but this changed with this commit: 68bba51
Relevant code snippets
No response
Expected behavior
I expect my application to log in via the Azure Arc Managed Identity.
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
1.15.0
Solution and workarounds
I assume best option would be to make the check case-insensitive...
The text was updated successfully, but these errors were encountered: