Skip to content

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Jan 28, 2022

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.

@jiasli jiasli requested a review from rayluo January 28, 2022 02:08
@jiasli jiasli self-assigned this Jan 28, 2022
@jiasli jiasli added this to the Feb 2022 (2022-03-01) milestone Jan 28, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Jan 28, 2022

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
Member

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 jiasli merged commit 12e3658 into Azure:dev Feb 7, 2022
@jiasli 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