fix(azure.py): Correct invalid .get to a .post for OIDC

This commit is contained in:
David Manouchehri 2024-05-07 19:51:57 +00:00
parent 9a0bb36865
commit cb49fb004d
No known key found for this signature in database

View file

@ -146,7 +146,7 @@ def get_azure_ad_token_from_oidc(azure_ad_token: str):
message="OIDC token could not be retrieved from secret manager.",
)
req_token = httpx.get(
req_token = httpx.post(
f"https://login.microsoftonline.com/{azure_tenant}/oauth2/v2.0/token",
data={
"client_id": azure_client_id,