-
Notifications
You must be signed in to change notification settings - Fork 328
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
Bogavril/3251 #3255
Conversation
break; | ||
} | ||
} | ||
|
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.
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" }; |
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.
Added wslview tool here.
foreach (string openTool in GetOpenToolsLinux(isBrokerConfigured)) | ||
{ | ||
if (TryGetExecutablePath(openTool, out string openToolPath)) | ||
{ | ||
psi = OpenLinuxBrowser(openToolPath, url); | ||
|
||
OpenLinuxBrowser(openToolPath, url); |
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.
So if this fails it will throw an exception of some kind? does the boolean value returned here no longer matter?
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.
We were simply not using this at all.
src/client/Microsoft.Identity.Client/Platforms/netcore/NetCorePlatformProxy.cs
Outdated
Show resolved
Hide resolved
…PlatformProxy.cs Co-authored-by: Peter M <34331512+pmaytak@users.noreply.github.com>
…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) ...
Fixes #3251
Add wslview which works on WSL
Manually tested.