I'm trying to use a webview in AppStudio 4.1 on my Windows 10 PC to login to a third party website. The website has OAuth set up to allow logins using Google. However, it gets to the point where you enter your email address and google starts authenticating it, and then Google returns an error page saying "...couldn't sign you in... This browser or app may not be secure". I have attached a screenshot of the error message.
I'm assuming there must be a workaround, because AGOL itself allows Google social logins, and the sign in view in AppStudio allows this. I tried using both the WebView and BrowserView but no difference.
I am testing on my Windows 10 PC and it fails. I uploaded my sample app to AGOL and then tested on my iPhone inside the AppPlayer and it worked fine.
Can you share the third party website URL and reproducible steps? So that we can test. So far the same workflow still works if we login to the ArcGIS Online OAuth page, correct?
I also tried loading the Google OAuth login page directly to the BrowserView and it is working on Windows 10 PC.
browser.url = "https://accounts.google.com/o/oauth2/auth?scope=email%20profile&redirect_uri=urn:ietf:wg:oauth:2.0:oob:auto&response_type=code&client_id=xxxxxx-k1er45mckjk00ve6lu7c6kvmfm7o6ts1.apps.googleusercontent.com"
The issue you are encountering might be related that the issue that Paul encounters, but Paul encounters this issue with a custom application built using AppStudio, in which I currently can not reproduce on my side.
In what application are you encountering this issue? Login using social login (Google) in ArcGIS Pro?