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

When Using Webview2 login to google account #1669

Closed
jarno9981 opened this issue Aug 20, 2021 · 8 comments
Closed

When Using Webview2 login to google account #1669

jarno9981 opened this issue Aug 20, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@jarno9981
Copy link

.net 4.8 framework
when logging in to google account i get error not safe to login error

Schermafbeelding 2021-08-20 113248

@jarno9981 jarno9981 added the bug Something isn't working label Aug 20, 2021
@jarno9981
Copy link
Author

Latest webview 2 version no pre-release version

@da-vics
Copy link

da-vics commented Aug 20, 2021

this is a know issue. The problem is that google just updated their security policy

@brasten
Copy link

brasten commented Aug 20, 2021

Is this the best place to track this issue? Our Office Add-in is suddenly unusable for many of our customers so I'm looking for the best place to be kept in the loop on what's happening with this.

@da-vics
Copy link

da-vics commented Aug 20, 2021

not at all follow this #1647

@jarno9981
Copy link
Author

@brasten i hope it will by fixed main reason why i swichted from cef sharp to webview2 to login to google accounts and now webview2 is broken to i angry after putting 40hours work in webview2 app and now google account is unusable 😶😑😶😑😶

@jarno9981
Copy link
Author

@champnic please fix this bug it big problem

@da-vics
Copy link

da-vics commented Aug 20, 2021

I don't think so. it's not from WebView. it's a recent google update

@champnic
Copy link
Member

Indeed this is due to a policy change for Google auth - for security reasons they are disabling logging in within any webview, including WebView2. As mentioned above please see #1647 for more info. Unfortunately we don't think there are great workarounds for this issue, but we are trying to come up with solutions, for example developing a "System WebView" which gives the dev fewer controls, but allows Google to trust it for logging in.

Here's Google's announcement: https://developers.googleblog.com/2021/06/upcoming-security-changes-to-googles-oauth-2.0-authorization-endpoint.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants