This commit is contained in:
Tim Lorsbach
2026-08-20 09:28:23 +02:00
parent 67aa3731cb
commit 48d2bce52a
2 changed files with 3 additions and 1 deletions

View File

@ -177,7 +177,7 @@ def create_pes_node(request, package_uuid, pathway_uuid):
def get_application_token(prod: bool) -> str:
scope = f"{s.PROD_PES_SCOPE if prod else s.NON_PROD_PES_SCOPE}/.default"
url = f"https://login.microsoftonline.com/{s.MS_TENANT_ID}/oauth2/v2.0/token"
url = f"https://login.microsoftonline.com/{s.MS_ENTRA_TENANT_ID}/oauth2/v2.0/token"
data = {
"grant_type": "client_credentials",
"client_id": s.MS_ENTRA_CLIENT_ID,