Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/azure-cli-core/azure/cli/core/auth/identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ def _prompt_launching_ui(ui=None, **_):
"If no web browser is available or if the web browser fails to open, use device code "
"flow with `az login --use-device-code`.",
self._msal_app.authority.authorization_endpoint)
logger.warning("Important: The authentication URL you are opening contains account‑sensitive "
"parameters. Never share or paste this URL anywhere.")
logger.warning("Sharing it may allow others to authenticate as you.")
elif ui == 'broker':
logger.warning(WAM_PROMPT)

Expand Down