Skip to content

Unable to add U2F-secured Google account to online-accounts #336

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

Open
burtek opened this issue Apr 23, 2024 · 1 comment
Open

Unable to add U2F-secured Google account to online-accounts #336

burtek opened this issue Apr 23, 2024 · 1 comment
Labels

Comments

@burtek
Copy link

burtek commented Apr 23, 2024

Distribution

LMDE 6

Package version

6.0.4

Graphics hardware in use

No response

Frequency

Always

Bug description

Can't add Google account using online-accounts setting for an account setup with U2F keys.

Steps to reproduce

  1. Have an account setup with 2FA enabled, have U2F keys setup as 2FA method
  2. Run cinnamon-settings online-accounts and add Google account
  3. Type in username, confirm it, enter password, confirm it

The website starts "loading" and never goes to next step, which usually would be to ask for U2F key
image

Expected behavior

The window should ask to use U2F key

Additional information

Adding of an account works for account with no 2FA method setup and for an account with TOTP 2FA setup

No error is shows in console:

$ cinnamon-settings online-accounts                                  
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:444: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  self.window.set_wmclass(wm_class, wm_class)
Loading Online Account module

Usually I'd setup app-password as per https://support.google.com/accounts/answer/185833, but it won't work with my account:

If you’ve set up 2-Step Verification but can’t find the option to add an app password, it might be because:

  • Your Google Account has 2-Step Verification set up only for security keys.

I am not going to setup any other 2FA method on this account, I expect online-accounts to work with U2F

@burtek burtek added the BUG label Apr 23, 2024
@burtek
Copy link
Author

burtek commented Apr 23, 2024

Was able to workaround this by right-click > reload and selecting another auth method (device confirmation)

@leigh123linux leigh123linux transferred this issue from linuxmint/cinnamon Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant