feature(signup): migrate simple-signup to standard browser#9969
Conversation
0c7cc33 to
ba63b06
Compare
Bildschirmaufnahme.2026-05-08.um.13.41.36.movNote: |
|
looking at the video - this flow seems reasonable, yeah, it works for me. It's a little more involved, but if it makes things so much easier it is worth it. @jancborchardt agreed? |
jancborchardt
left a comment
There was a problem hiding this comment.
Sure, yeah this seems fine considering the dev effort this saves also.
A nice enhancement would be to open the simple signup page with a parameter that loads only the essentials there to make it super quick and not seem bloated. For example:
- No navigation, no footer (to not navigate away)
- No animation for the right block – currently that slows stuff down
- Focus "Your email address" field
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 618a6c5a35
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
@copilot resolve the merge conflicts in this pull request |
Merge conflicts resolved in commit The main conflicts arose from master's migration from the QWizard-based wizard to the new QML wizard (
|
|
testing URL for the new nc:// shortcut e.g.
|
Add NC URI handling for account setup and provider signup flow support. Signed-off-by: Rello <github@scherello.de>
1f9aea1 to
13c8302
Compare
Signed-off-by: Rello <github@scherello.de>
Signed-off-by: Rello <github@scherello.de>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 33a2327054
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: Rello <github@scherello.de>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1ce817cebb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| _gui->createTray(); | ||
|
|
||
| handleEditLocallyFromOptions(); | ||
| handleUriFromOptions(); |
There was a problem hiding this comment.
Suppress the startup wizard after login URIs
When the app is cold-started with an nc://login URI and no accounts, this call starts the login-flow wizard before the queued initial slotCheckConnection from Application::Application runs. That later check still sees an empty account list, calls slotOpenSettingsDialog(), and slotNewAccountWizard() uses forceRestart=true, so it rejects the URI login wizard and replaces it with the normal setup wizard before the Flow v2 auth can complete; skip or stop that initial empty-account check after handling a login URI.
Useful? React with 👍 / 👎.
mgallien
left a comment
There was a problem hiding this comment.
one small request for change
Signed-off-by: Rello <github@scherello.de>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 866749ab28
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: Rello <github@scherello.de>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 58406923b3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| void AccountWizardController::openSignup() | ||
| { | ||
| Utility::openBrowser(QUrl(QStringLiteral("https://nextcloud.com/register"))); | ||
| Utility::openBrowser(QUrl(QStringLiteral("https://nextcloud.com/sign-up/?flow=V3"))); |
There was a problem hiding this comment.
Register nc:// handler before external signup
On Linux AppImage first-run/no-account installs, this new flow=V3 signup path depends on the browser being able to call back via nc://login, but the only runtime registration I found is Utility::registerUriHandlerForLocalEditing() from FolderMan::setupFolders(), and Application::setupAccountsAndFolders() returns before setupFolders() when no accounts exist. In that context clicking Sign up can complete in the browser without any x-scheme-handler/nc association, so the login callback never reaches the client; register the handler during no-account startup or before opening this URL.
Useful? React with 👍 / 👎.
mgallien
left a comment
There was a problem hiding this comment.
a minor comment and it should be good to go
Co-authored-by: Matthieu Gallien <matthieu.gallien@nextcloud.com> Signed-off-by: Rello <Rello@users.noreply.github.com>
|
Artifact containing the AppImage: nextcloud-appimage-pr-9969.zip Digest: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
|
mgallien
left a comment
There was a problem hiding this comment.
works on linux and windows
|
/backport to stable-34.0 please |




Background
Overview
ocsapirequest(old desktop clients & mobile clients) is not touched. In this case, the Nextcloud will return anc://login/server:{server}&user:{email}&password:{appPassword}responseflow=V3, the user is logged in in the webUI and additionally, anc://login/server:{server}response is triggeredChanges to desktop
This pull request depends on the following pull requests to be merged first: