Skip to content

Fix for bug in azure_core_auth that fails authentication#799

Merged
ianhelle merged 2 commits intomainfrom
ianhelle/AzAuthenticationFix-2024-09-18
Sep 19, 2024
Merged

Fix for bug in azure_core_auth that fails authentication#799
ianhelle merged 2 commits intomainfrom
ianhelle/AzAuthenticationFix-2024-09-18

Conversation

@ianhelle
Copy link
Contributor

Something happened during Florian's renaming to change the logic such that it always failed.
Adding test case for this function

@ianhelle ianhelle self-assigned this Sep 18, 2024
@FlorianBracq
Copy link
Collaborator

FlorianBracq commented Sep 19, 2024

Sorry, it seems my update was borked :(

I have not completely wrapped my head around the proper types for AzCredential.
Should legacy be:

  • a "TokenCredential" to be compatible with the calls in method _legacy_auth from msticpy/context/azure/azure_data.py (l1068 and 1078)
  • or a CredentialWrapper to be aligned with how it is used in that file?

Apart from that, it looks ok for me!

@ianhelle ianhelle merged commit d55b2bd into main Sep 19, 2024
@ianhelle ianhelle deleted the ianhelle/AzAuthenticationFix-2024-09-18 branch September 19, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants