Skip to content

{Core} Update warning message for auth code flow - #21140

Merged
Jiashuo Li (jiasli) merged 1 commit into
Azure:devfrom
jiasli:browser
Feb 7, 2022
Merged

Jiashuo Li (jiasli) merged 1 commit into
Azure:devfrom
jiasli:browser

Conversation

@jiasli

Copy link
Copy Markdown
Contributor

Description

After the change of MSAL

The original statement "The default web browser" is no longer true and it causes user confusion:

This PR updates the warning message according to the latest MSAL behavior.

@yonzhan

Copy link
Copy Markdown
Collaborator

Core

# Emit a warning to inform that a browser is opened.
# Only show the path part of the URL and hide the query string.
logger.warning("The default web browser has been opened at %s. Please continue the login in the web browser. "
logger.warning("A web browser has been opened at %s. Please continue the login in the web browser. "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.

By the way, in an upcoming feature branch, this behavior will likely change again. :-) But that is a topic for future. Right now, I think your PR here makes sense. Approving.

@jiasli
Jiashuo Li (jiasli) merged commit 12e3658 into Azure:dev Feb 7, 2022
@jiasli
Jiashuo Li (jiasli) deleted the browser branch February 7, 2022 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants