DuckDuckGo browser extension breaking Google Sign in? - google-signin

Recently upgraded to google new authentication service for sign in/up (https://developers.google.com/identity/gsi/web). We've had reports Google's new library does not work with DuckDuckGo's browser extension and been able to prove this by dis/enabling the extension. Has anyone come across this before? Is there any way to catch this error or prevent it?
Thanks in advance.

Related

FullCalendar - Google Calendar - Invalid Credentials (401)

I am having trouble with an integration with FullCalendar on our websites. I am currently using version 2.4 (I know it's old, but it was new when I integrated it). All of our requests (all to public calendars) are being blocked with a 401 (Authorization, Invalid Credentials) error.
So, I downloaded the latest package from the website and loaded the "google-calendar.html" from the examples folder (which appears to use the public "Holidays" calendar), and it is having the same problem.
In addition, the demo on the website appears to suffer from the same error. You can see it here: https://fullcalendar.io/docs/google-calendar-demo
It appears that maybe something about the Goolge Calendar API changed, and has broken the functionality, but I wanted to see if it might be something I am doing wrong.
Thank you for the help,
Josh
After much research, this appears to be an error with Google Calendar API, and public calendars being able to be accessed by API key's.
Here is the main thread on it: Google Calendar API - no longer authorized for reads?
Here is the main bug report at Google: https://issuetracker.google.com/issues/160190541
It seems like it is a true bug, and is being fixed by Google.

"Browser or app may not be secure. Try using a different browser." error with Flutter Firebase Google Login

I am using flutter web and firebase authentication to build a web app. For that
1. Created Firebase app with Google signin as one of the sign in methods.
2. Added the dependencies as given in https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_auth/firebase_auth/example
and https://dart-pub.mirrors.sjtug.sjtu.edu.cn/packages/firebase_auth_web.
When I try to login, the Google sign-in window appears. Once I enter the email address and press enter, it gives the following error.
"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 refresh your screen and try again to sign in."
I used Chrome browser.
What should I do to make my app more secure ? For android, we had the option of using SHA keys to encrypt the connection. Do we need to do something similar for web ?
Incomplete answer:
This problem isn't specific to flutter. It happens whenever you try to sign in to Google in a Chrome instance that has debugging turned on. In other words, if you, your automation software, or IDE starts up chrome with a command like chrome.exe --remote-debugging-port=9222
If running Chrome normally (out of debug mode) is not an option, then try https://support.google.com/accounts/thread/22873505?msgid=24501976 or if you are using Electron then try https://support.google.com/accounts/thread/22873505?msgid=24503570 but I, personally, haven't been able to make these work for me, yet.
Please upvote the question at https://support.google.com/accounts/thread/25209002 if you want a solution to this problem that actually works.
The issue was with the chrome developer version Flutter use to launch as a device. If we open the same URL (localhost:portnumber) in the normal chrome, it will work without any issue.
The following worked for me:
Go into your google account
select Manage Account
Security
Less secure app access (need to scroll down a little bit)
set to off
Then I was able to login in and debug in IntelliJ
(for me, for some reason, I had to create a new google account, couldn't get it working with my existing account but it worked with my new account)
You can use user agent switch to switch another browser (for example opera).
https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg
They try login. Once you successfully logged in you can remove or disable the extension.
I had the same problem with Firefox. The only way I could fix it was to create a new profile. So you could try to run Firefox with -p switch and create a new profile.
firefox -ProfileManager
firefox.exe -p
Update: check the firefox config (address field: about:config)
be sure marionette.enabled is false
For Test Automation Users-:I saw many testers are facing this issue for sign in using Google but I think below my idea will save their time.
Best Work Around is as below-:
Open automated Chrome browser as shown below
Sign up with new details which you want to use.
Now after successfully completion of sign up.
Then use that email and password for signing into gmail using Selenium or any other test automation tool

Goolge Signin stuck on loading page

Some users stuck on loading when they use Google sign-in in recent day.
This issue seems to depend on the account because I use the same device and tried to use different accounts to sign-in, this issue only happened on a part of accounts.
Below is my setting:
implementation "com.google.android.gms:play-services-auth:17.0.0"
Below is my setting:
implementation "com.google.android.gms:play-services-auth:17.0.0"
I tried to downgrade play-services-auth version, but it still not working.
Do you request additional scopes like "/auth/youtube" or google drive?
I believe it tries to show you this warning https://support.google.com/cloud/answer/7454865?hl=en, so maybe you need to verify your app.
Google says it is their bug and have corresponding issue filed in github
https://github.com/googlesamples/google-services/issues/413
You need to pass the verification process for the youtube scope anyway.
This issue is from google's side but for now, remove the consent screen from the test state and publish it. And It will work

Cannot download google-services.json from firebase console

I'm trying to download google-services.json from firebase console. The error is There was an error. The config file cannot be downloaded at this time. as it can be seen in the below screenshot.
There are answers on Stackoverflow which didn't work for me (one and two). Specifically, clearing cache and history, using a newly installed chrome, trying with firefox and edge, using incognito tabs, didn't work.
What else can be done to get rid of this annoying error?
For me also I had this issue. Before trying anything, I refreshed/reloaded my page, and it works. After refreshing my page, I was able to download google-services.json file.
I had the same problem for a while with firebase google
what I did was to open the Developer Options for the web and looked at the request response from google
and I found out that the network response is very clear:
"The Google cloud platform for this project is disabled please go to https://console.cloud.google.com/apis/api/firebase.googleapis.com/overview?project=<YOUR_PROJECT> and enable"
but for some reason the UI is very un-clear
Very simple solution, go to the link below and enable your project:
https://console.cloud.google.com/apis/api/firebase.googleapis.com/overview?project=
While in my case, the issue was caused by my ad blocker. I opened network monitor through developer tools and found out that my ad blocker was canceling post requests sent by Firebase. Disabling it for Firebase solved my issue.
I was using Brave , stopped ad blocker but still it does not work , Use Chrome if nothing works ....it worked for me..

recaptcha https problem on https://api-secure.recaptcha.net/

I am using recpatcha on an SSL site but I am not getting the image on some browsers because the ssl certificate of it has been expired !
https://api-secure.recaptcha.net/
if I reference the non-secure link, the browser will give warning message.
so what is the alternative?
I am using it under ASP.NET MVC.
As Remy says, you need to update the links to point at Google's servers. See the announcement regarding the expiration of the old URL.
If you are using the .NET Library then you can update to the latest version
If you did not use the library then you can see the modifications made to the library here, and update your URLs in the same manner.
i.e. update https://api-secure.recaptcha.net to https://www.google.com/recaptcha/api
ReCaptcha was acquired by Google. Have you updated your code to use the new Google links yet?

Resources