Skip to content

feat(login): open login flow v2 page in an Auth Tab - #7051

Merged
mahibi merged 1 commit into
masterfrom
openLoginInAuthTab
Nov 17, 2026
Merged

mahibi merged 1 commit into
masterfrom
openLoginInAuthTab

Conversation

@mahibi

@mahibi mahibi commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Open the login page in an Auth Tab instead of the default browser, the same way the Nextcloud Files app does. The page stays in the app's task, so closing it returns to the login screen. Browsers without Auth Tab support show a Custom Tab, and if that can't be launched, the default browser is used as before.

Polling for the credentials starts as soon as the page was opened, and only once, because the server hands out the credentials only once and a second poller would report a successful login as an error. If no browser could open the page, it's tried again the next time the login screen is shown.

Assisted-by: Claude Code:claude-opus-5-5

🖼️ Screenvideo

authTabLogin.mp4

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Open the login page in an Auth Tab instead of the default browser, the
same way the Nextcloud Files app does. The page stays in the app's task,
so closing it returns to the login screen. Browsers without Auth Tab
support show a Custom Tab, and if that can't be launched, the default
browser is used as before.

Polling for the credentials starts as soon as the page was opened, and
only once, because the server hands out the credentials only once and a
second poller would report a successful login as an error. If no browser
could open the page, it's tried again the next time the login screen is
shown.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@mahibi mahibi added this to the 26.0.0 milestone Nov 16, 2026
@mahibi
mahibi requested a review from rapterjet2004 November 16, 2026 12:17
@mahibi mahibi self-assigned this Nov 16, 2026
@mahibi mahibi added the 3. to review Waiting for reviews label Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📱 QA build

Download app-qa-debug.apk
QR code Open the QR code for this download
Commit eacfb66
Version 7051
Available until 7 days after this build

The QA build installs alongside a released Nextcloud app, so you can keep
using your existing install while testing.

Downloading the file requires a GitHub account, so open this link on the
device you want to test on, or transfer the APK to it.

@github-actions

Copy link
Copy Markdown
Contributor

Codacy

Lint

TypemasterPR
Warnings1716
Errors00

SpotBugs

CategoryBaseNew
Bad practice77
Correctness88
Dodgy code4040
Internationalization33
Malicious code vulnerability33
Performance77
Security1111
Total7979

@mahibi
mahibi merged commit 6985652 into master Nov 17, 2026
21 checks passed
@mahibi
mahibi deleted the openLoginInAuthTab branch November 17, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants