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

"This browser or app may not be secure." #19

Closed
matthewcorven opened this issue Jun 17, 2022 · 1 comment
Closed

"This browser or app may not be secure." #19

matthewcorven opened this issue Jun 17, 2022 · 1 comment

Comments

@matthewcorven
Copy link
Contributor

AuthService.RequestAuthorizationCode opens a new tab to Google's OAuth workflow. I am not greeted with a list of Google accounts I've signed into with this browser (should be 3 in my case), rather I must supply the email address manually. Upon entry and submitting the single-input form, I am greeted with:

Couldn’t sign you in
This browser or app may not be secure.
Try using a different browser. If you’re already using a supported browser, you can try again to sign in.

image

CodeBeam.GoogleApis.Blazor 0.2.1.1
Edge 102.0.1245.44 and Chrome 102.0.5005.115

@matthewcorven
Copy link
Contributor Author

The above issue is present when using the Chrome/Edge browser instance launched by my IDE (Rider). I found that I can successfully authenticate with Google by launching my app from an existing browser instance (not owned by the IDE). Likewise, I can authenticate using Chrome or Edge from VSCode rather than Rider. This leads me to believe it's something about how Rider is using the browser. For fun, I took a look at the application processes in Task Manager and found their command line flags:

Via Rider:

--display-capture-permissions-policy-allowed --remote-debugging-port=0 --lang=en-US --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --render-client=8 --launch-time-ticks=16669587895 --mojo-platform-channel-handle=5634 --field-trial-handle=1684,i,14254804435355302897,17644990483725602622,131072 /prefetch:1

Via VSCode:

--disable-client-side-phishing-detection --display-capture-permissions-policy-allowed --disable-background-timer-throttling --disable-breakpad --remote-debugging-port=0 --lang=en-US --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --render-client=12 --launch-time-ticks=13213642566 --mojo-platform-channel-handle=6684 --field-trial-handle=1804,i,17342343993749335918,16033479073627220906,131072 /prefetch:1

I took the command line flags used by VSCode and set them explicitly into Rider's settings, then verified in Task Manager that the custom flags were used as desired, to mimic VSCode. This didn't work.

Clearly my issue is not within the scope of this project. Closing! I'll update here later for anyone who might stumble into this.

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

No branches or pull requests

1 participant