Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Make managed identity token parse failures distinct #907

Open
billwert opened this issue Feb 7, 2025 · 0 comments
Open
Labels
AzureSDK Issues and requests affecting the Azure SDK 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

Comments

@billwert
Copy link

billwert commented Feb 7, 2025

MSAL client type

Managed identity

Problem Statement

In Azure Identity before we switched to using MI from MSAL, we were able to throw a distinct exception in the case of an invalid json response from the IMDS endpoint. This let us detect cases such as a proxy.

Proposed solution

We need ManagedIdentityApplication to notify us that the response was malformed json. .NET did this work here: AzureAD/microsoft-authentication-library-for-dotnet#5038 - we need roughly the same thing.

Alternatives

No response

@billwert billwert added needs attention Automatically used when an issue is created through an issue template untriaged Automatically used when an issue is created through an issue template labels Feb 7, 2025
@Avery-Dunn Avery-Dunn added Enhancement A request or suggestion to improve some aspect of the library AzureSDK Issues and requests affecting the Azure SDK and removed needs attention Automatically used when an issue is created through an issue template untriaged Automatically used when an issue is created through an issue template labels Feb 7, 2025
@bgavrilMS bgavrilMS added Bug Something isn't working, needs an investigation and a fix P2 Normal priority items, should be done after P1 confidential-client For issues related to confidential client apps and removed Enhancement A request or suggestion to improve some aspect of the library labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AzureSDK Issues and requests affecting the Azure SDK 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
Projects
None yet
Development

No branches or pull requests

3 participants