Skip to content
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

Bogavril/3251 #3255

Merged
merged 3 commits into from
Apr 1, 2022
Merged

Bogavril/3251 #3255

merged 3 commits into from
Apr 1, 2022

Conversation

bgavrilMS
Copy link
Member

@bgavrilMS bgavrilMS commented Mar 30, 2022

Fixes #3251
Add wslview which works on WSL

Manually tested.

break;
}
}

Copy link
Member Author

Choose a reason for hiding this comment

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

whitespace was wrong here, probably because the file was worked on from Linux some time back. Only this and another block has changes.

private string[] GetOpenToolsLinux(bool isBrokerConfigured)
{
if (isBrokerConfigured)
{
return new[] { "microsoft-edge", "xdg-open", "gnome-open", "kfmclient" };
return new[] { "microsoft-edge", "xdg-open", "gnome-open", "kfmclient", "wslview" };
Copy link
Member Author

Choose a reason for hiding this comment

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

Added wslview tool here.

foreach (string openTool in GetOpenToolsLinux(isBrokerConfigured))
{
if (TryGetExecutablePath(openTool, out string openToolPath))
{
psi = OpenLinuxBrowser(openToolPath, url);

OpenLinuxBrowser(openToolPath, url);
Copy link
Member

@trwalke trwalke Mar 30, 2022

Choose a reason for hiding this comment

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

So if this fails it will throw an exception of some kind? does the boolean value returned here no longer matter?

Copy link
Member Author

Choose a reason for hiding this comment

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

We were simply not using this at all.

…PlatformProxy.cs

Co-authored-by: Peter M <34331512+pmaytak@users.noreply.github.com>
@bgavrilMS bgavrilMS merged commit bf7a724 into master Apr 1, 2022
@bgavrilMS bgavrilMS deleted the bogavril/3251 branch April 1, 2022 08:35
Csaba8472 added a commit to Csaba8472/microsoft-authentication-library-for-dotnet that referenced this pull request Apr 24, 2022
…library-for-dotnet

* 'master' of github.com:AzureAD/microsoft-authentication-library-for-dotnet: (39 commits)
  OBO for SP with RT support (AzureAD#3266) (AzureAD#3280)
  Update some projects to net48 (AzureAD#3269)
  Bump Source Link version (tool change) (AzureAD#3275)
  Update changelog.txt (AzureAD#3282)
  Default to WebView1 instead of WebView2 when using AAD or ADFS authorities (AzureAD#3276)
  Revert "OBO for SP with RT support (AzureAD#3266)"
  OBO for SP with RT support (AzureAD#3266)
  Add perf tests for Acquire Token calls with serialization cache and Builders (AzureAD#3250)
  Minor fix to SuggestedCacheKey comment and update NuGet icon in Readme. (AzureAD#3268)
  MSAL changelog 4.43.0 (AzureAD#3263)
  Bogavril/3251 (AzureAD#3255)
  Fix for AzureAD#3248 - use the correct plugin to sing out (AzureAD#3253)
  Performance project improvements (AzureAD#3064)
  Reuse lists in token cache filtering logic. (AzureAD#3233)
  Update andorid install script to use andorid 30 (AzureAD#3243)
  Fix for UWP packaging (AzureAD#3239)
  Pass account to Auth result (AzureAD#3199)
  App ported to Lab4 (AzureAD#3229)
  Trwalke/ruleset updates (AzureAD#3189)
  Conditional Access for Android (AzureAD#3210)
  ...
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.

[Bug] IsSystemWebViewAvailable doesn't work correctly in WSL2
3 participants