From f9c6f3217ddb589b97f57302df5c652b664adad5 Mon Sep 17 00:00:00 2001 From: Philip Usher Date: Tue, 22 Jul 2025 09:06:23 +0100 Subject: [PATCH 1/2] we need an access token not an id token --- src/ansys/conceptev/core/auth.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ansys/conceptev/core/auth.py b/src/ansys/conceptev/core/auth.py index 829b0b42..5eb5ca2b 100644 --- a/src/ansys/conceptev/core/auth.py +++ b/src/ansys/conceptev/core/auth.py @@ -77,8 +77,6 @@ def get_ansyId_token(app, force=False) -> str: logger.info("Trying to acquire token interactively") result = app.acquire_token_interactive(scopes=[scope]) - if "id_token" in result: - return result["id_token"] if "access_token" in result: return result["access_token"] error = result.get("error") From a3e73c0c044d19711614b62f06eebd79590ba900 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Tue, 22 Jul 2025 08:11:40 +0000 Subject: [PATCH 2/2] chore: adding changelog file 264.miscellaneous.md [dependabot-skip] --- doc/changelog.d/264.miscellaneous.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/264.miscellaneous.md diff --git a/doc/changelog.d/264.miscellaneous.md b/doc/changelog.d/264.miscellaneous.md new file mode 100644 index 00000000..445afe96 --- /dev/null +++ b/doc/changelog.d/264.miscellaneous.md @@ -0,0 +1 @@ +We need an access token not an id token \ No newline at end of file