Skip to content

[Bug] AzureArcManagedIdentitySource looking for WWW-Authenticate response header while agent returns Www-Authenticate #884

@blancqua

Description

@blancqua

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).

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working, needs an investigation and a fixP2Normal priority items, should be done after P1confidential-clientFor issues related to confidential client apps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions