Skip to content

Commit

Permalink
Deprecate ACS authentication method
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikhr committed Jan 28, 2024
1 parent df0e1df commit 5c57b4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/msidp-authentication-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
acs-tmp-secret:
name: Acquire Azure AD Access Token (using ACS with temporary secret)
runs-on: ubuntu-latest
# deprecate ACS authentication method, as Microsoft is deprecating ACS
if: false
steps:
- name: Authenticate using GitHub action
uses: thnetii/github-actions/run/ms-idp-workflow-run-auth@main
Expand Down
3 changes: 3 additions & 0 deletions run/ms-idp-workflow-run-auth/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ async function acquireAccessToken(httpClient) {
return acquireAccessTokenMsal(msalApp, resource, maxAttempts);
}
if (authMethod === "az-acs-temporary-secret") {
ghaCore.warning(
"Azure Access Control Service authentication is depcreated.",
);
ghaCore.debug(
"Creating Azure Access Control Service client using the temporary password credential for client authentication",
);
Expand Down

0 comments on commit 5c57b4a

Please sign in to comment.