ankurk91 / google-chat-electron

An unofficial desktop app for Google Chat :electron:
GNU General Public License v3.0
162 stars 49 forks source link

Unable to Sign-in with Google Smart Lock #40

Closed katagaki closed 3 years ago

katagaki commented 3 years ago

It seems like google-chat-electron is unable to use Bluetooth to enable sign in to a Google account using the Google Smart Lock app.

Is Bluetooth something supported by Electron?

Steps to reproduce

  1. Enable the Google Smart Lock app as a security key on a Google account.
  2. Sign in to the Google account on google-chat-electron.

Expected result

Google prompts for a security key, Google Smart Lock receives a notification, and upon opening the Google Smart Lock app, the website communicates with Bluetooth with the Google Smart Lock app to verify the sign-in.

Actual result

Google prompts for a security key, Google Smart Lock receives a notification, but upon opening the Google Smart Lock app, neither the website nor the app responds to each other.

ankurk91 commented 3 years ago

Are you using the app on linux with snap?

Share your platform details.

ankurk91 commented 3 years ago

Closing due to lack of information

katagaki commented 3 years ago

My apologies, missed the notification and didn’t manage to reply in time.

I’m using it on macOS, Big Sur 11.6.

ankurk91 commented 3 years ago

I don't have a real machine with macOS, I can not test this feature in VM.

The application itself does not have any restriction on using Bluetooth on macOS.

I tried to follow this guide , but no luck, i could not add 2FA to my google account yet to test the feature without electron app on regular chrome browser.

https://support.google.com/accounts/answer/9289445?hl=en&co=GENIE.Platform%3DAndroid

P.S. Can you confirm that your login to google account (with Bluetooth method) works fine on Firefox web browser on your mac os?

katagaki commented 3 years ago

Firefox on macOS seems to pick up the security key request and shows a prompt to insert my security key, but it doesn't seem to try to connect to the Smart Lock app on my iPhone. The 'Connect your Bluetooth security key via Smart Lock' option also doesn't seem to show when I click 'Try another way'.

The feature seems to have been removed from Chromium in 2020, which might just be poor documentation on Google's part, as Google makes it seem like it is still a supported feature on other documentation: https://www.chromestatus.com/feature/4895365459345408

However, I do still face Google sign-in being stuck in an infinite loading screen when the Electron Google Chat is attempting to use a security key. Not sure if that is an Electron issue, as the screen passes successfully on other browsers.

ankurk91 commented 3 years ago

https://github.com/ankurk91/google-chat-electron/issues/16

Follow above issue, looks like they are same