[GH-ISSUE #1192] Account creation fails with SSO and 2FA/TOTP #793

Closed
opened 2026-02-25 22:38:08 +03:00 by kerem · 3 comments
Owner

Originally created by @chriswells0 on GitHub (May 31, 2022).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1192

Which version of floccus are you using?

4.14.0

Sync method

{"label"=>"Nextcloud Bookmarks"}

Which browser are you using? In case you are using the Android App, specify the Android version please.

Android 12

Which version of Nextcloud Bookmarks are you using? (if relevant)

10.3.1

Which version of Nextcloud? (if relevant)

24.0.1

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

When adding a Nextcloud account, the SSO login flow opens and allows you to enter your credentials. The browser is closed after a successful login. However, with 2FA/TOTP enabled, there isn't enough time to select the 2nd factor before the window is closed. The account is unable to log in at that point.

Expected Behavior

Select a 2nd factor for authentication to complete the login flow.

To Reproduce

Simply enable 2FA in Nextcloud and attempt to add the account to Floccus on Android.

Debug log provided

  • I have provided a debug log file
Originally created by @chriswells0 on GitHub (May 31, 2022). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1192 ### Which version of floccus are you using? 4.14.0 ### Sync method {"label"=>"Nextcloud Bookmarks"} ### Which browser are you using? In case you are using the Android App, specify the Android version please. Android 12 ### Which version of Nextcloud Bookmarks are you using? (if relevant) 10.3.1 ### Which version of Nextcloud? (if relevant) 24.0.1 ### What kind of WebDAV server are you using? (if relevant) _No response_ ### Describe the Bug When adding a Nextcloud account, the SSO login flow opens and allows you to enter your credentials. The browser is closed after a successful login. However, with 2FA/TOTP enabled, there isn't enough time to select the 2nd factor before the window is closed. The account is unable to log in at that point. ### Expected Behavior Select a 2nd factor for authentication to complete the login flow. ### To Reproduce Simply enable 2FA in Nextcloud and attempt to add the account to Floccus on Android. ### Debug log provided - [ ] I have provided a debug log file
kerem 2026-02-25 22:38:08 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chriswells0 commented on GitHub (May 31, 2022):

I should add that I have both Nextcloud Notifications and TOTP enabled as the 2FA options. I tried disabling TOTP so there would be only 1 option, which prevents the "choose your 2nd factor" screen from appearing. Then I was able to receive the notification in the Nextcloud app, but it was too late as Floccus had already closed the window and moved on.

<!-- gh-comment-id:1142550901 --> @chriswells0 commented on GitHub (May 31, 2022): I should add that I have both Nextcloud Notifications and TOTP enabled as the 2FA options. I tried disabling TOTP so there would be only 1 option, which prevents the "choose your 2nd factor" screen from appearing. Then I was able to receive the notification in the Nextcloud app, but it was too late as Floccus had already closed the window and moved on.
Author
Owner

@marcelklehr commented on GitHub (Jun 1, 2022):

Confirmed. That's a weird one, cause it only moves on if nextcloud gives the go.

<!-- gh-comment-id:1143094417 --> @marcelklehr commented on GitHub (Jun 1, 2022): Confirmed. That's a weird one, cause it only moves on if nextcloud gives the go.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 4, 2023):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:1619347779 --> @github-actions[bot] commented on GitHub (Jul 4, 2023): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#793
No description provided.