-
Notifications
You must be signed in to change notification settings - Fork 345
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
[Feature Request] In Identity.Client project change “net6.0-windows10.0.17763.0” to just “net6.0-windows” #3986
Comments
Fixed in #3984 |
@SameerK-MSFT, I'm noticing a distinct change in behaviour in the 4.52.0 version, which I suspect is due to this feature request. Whereas from 4.52.0 (and onward), if you do the same, you get presented with a popup embedded web view. To me this feels like a breaking change, as NOT using the embedded web view was previously the default, which is not the case any more. For both 4.51.0 and 4.52.0, the builder's "Parameters.UseEmbeddedWebView" defaults to "NotSpecified". If I want to keep the same default behaviour as in 4.51.0, I need to perform this additional configuration: Have I misunderstood something, or is this indeed an undocumented breaking change?
|
@mgroetan - we changed the default webview indeed, because we made some changes to the target framework of MSAL, from net6-windows10.0.176630.0 to net6-windows. We expected that it will not break apps. Were we wrong? |
@bgavrilMS Well, apps are not broken, technically speaking. But in our case, we at some point went away from a custom embedded web view-based implementation in favour of MSAL, which used a system browser by default, unless you explicitly stated that you wanted an embedded web view, We did that change for security reasons, obviously, as you shouldn't be using an embedded web view these days, as per the recommendation by the IETF: https://www.rfc-editor.org/rfc/rfc8252.txt (section 4) Previously, it was common for native apps to use embedded user-agents Note also that the RFC was written in 2017, so already six years ago, you shouldn't be using embedded web views... That in itself dictates that the default should indeed be to NOT use an embedded web view, like you were already doing. |
Ack, thanks for the reference. There aren't actually any known issues with a legitimate app using embedded webview, only with malicious app using webview. But then again, a malicious app already installed can do much more damage, e.g. it can redirect your to a hacked authorization endpoint to steal username / password using the system browser. But I agree we could have handled the transition from net6-windowsXYZ to net6-windows better, possibly by taking a breaking change. |
Is your feature request related to a problem? Please describe.
Yes. Removed dependency on Window platforms
Describe the solution you'd like
change “net6.0-windows10.0.17763.0” to just “net6.0-windows”
Describe alternatives you've considered
NA
The text was updated successfully, but these errors were encountered: