Skip to content

Iotas cannot be onboarded: the Nextcloud login flow v2 is not implemented #30

Open

Description

@gnacho

Iotas (the GNOME client this backend targets) has no manual credential entry. Its account setup UI only asks for the server URL and then starts the Nextcloud login flow v2:

  • POST /index.php/login/v2 -> {login: <url>, poll: {endpoint, token}}
  • the client opens login in the browser and polls the poll endpoint with the token until it returns {server, loginName, appPassword}

OpenCloud does not implement that endpoint, so the flow fails at the first request and the account cannot be added.

Authentication itself is compatible: the client uses plain HTTP Basic with an app password, which our API already accepts, and it reads the password from the GNOME keyring (service=nextcloud) with the endpoint and username coming from gsettings (nextcloud-endpoint, nextcloud-username). The gap is only the onboarding step.

Options:

  • Implement the login flow v2 endpoints in the backend. Needs design, because the login URL must be a page where the user authenticates and this backend has no web session of its own.
  • Rely on seeding the credentials manually, which works but is not user-friendly.
  • Propose a manual app password option upstream in Iotas.

Activity

  1. gnacho commented on Sep 13, 2026

    @gnacho
    OwnerAuthor

    Upstream request for a manual app password option, which is the client-side half of this gap: https://gitlab.gnome.org/World/iotas/-/issues/283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions