-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core] Redo: Use WAM as the default authentication method on Windows #28841
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
Use WAM as the default authentication |
Should we add instruction for disabling WAM in the warning message? azure-cli/src/azure-cli-core/azure/cli/core/auth/identity.py Lines 152 to 153 in 246725e
|
<p>You may opt-in to use WAM by running the following commands:</p> | ||
<code> | ||
az config set core.enable_broker_on_windows=true<br> | ||
az account clear<br> | ||
az login | ||
</code> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can remove only the outdated "Announcements" but still keep the "you may opt-in ..." part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no longer "opt-in", but "enable". @dcaro for the wording.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jiasli this page will only be displayed when user login using the web browser flow. With WAM being the default on Windows and not supported on other OS, we do not need to have content about WAM in this page.
Situation 1: User is on Windows and has this page, they have disabled WAM so they are aware of it.
Situation 2: User is on Other OS, there is no reason to communicate about WAM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally agree. That's why I remove it.
Redo #28085
Related command
az login
Description
After previewing WAM for over a year (#23828), we now use WAM as the default authentication method on Windows.
If you encounter any issue and want to revert to the previous browser-based authentication method, run the following script:
Testing Guide
History Notes
[Core] BREAKING CHANGE:
az login
: Use WAM as the default authentication method on Windows. For more details, see https://go.microsoft.com/fwlink/?linkid=2271136