pediatric-ai-scribe-v3/public/components
Daniel 46112e1221
Some checks failed
Forgejo Android APK / Root app tests (push) Successful in 46s
Forgejo Docker Build / Root app tests (push) Successful in 59s
Forgejo Android APK / Build signed APK (push) Successful in 2m7s
Forgejo Docker Build / Build Docker image (push) Successful in 10s
Forgejo Docker Build / Deploy to the host (push) Failing after 0s
feat: connect Nextcloud by signing in to Nextcloud
Asking someone to find Settings → Security → Create new app password is a poor
first run, and it is the step people give up on. Nextcloud has its own answer:
Login Flow v2. The person enters their server address, signs in on Nextcloud the
way they normally do — SSO, 2FA, a password manager — and Nextcloud generates an
app password for this app. We never see their real password.

Pasting an app password still works, behind "Use an app password instead". It is
the fallback, not the front door.

The security of this is all in what is trusted. The remote server chooses both
the login URL and the poll endpoint, so both are SSRF-checked and both must be
on the host the person actually typed — an endpoint pointing elsewhere would
make this a request-forgery gadget aimed at whatever it named. The server
Nextcloud reports at the end is re-checked before it is stored. The poll token
is a credential, so polling happens server-side and the browser holds only an
opaque handle bound to its own account.

Flows live in memory with a 20 minute life, matching Nextcloud's own expiry: a
login lasts minutes, and a restart mid-flow is a retry rather than a loss.
Starting a second flow replaces the first, which is what clicking again means.

The tab is opened from the click itself, before the request — opening it after
an await is what a popup blocker stops.

Removed with Learning Hub: the WebDAV browse path. Its field, its route and its
column are gone, since nothing browses Nextcloud any more. nextcloud_folder is a
different column and still in use.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU
2026-09-12 20:55:00 +02:00
..
admin-docs.html
admin.html feat: connect Nextcloud by signing in to Nextcloud 2026-09-12 20:55:00 +02:00
assistant.html feat: Enter sends in the assistant, and the person chooses 2026-09-12 18:05:36 +02:00
bedside.html
calculators.html
catchup.html
chart.html
diagrams.html
dictation.html
ed-encounter.html
encounter.html
extensions.html
faq.html fix: /api/health/detailed reported a text-to-speech provider that does not exist 2026-09-12 05:05:39 +02:00
hospital.html
my-resources.html feat: deck themes — a palette you pick, previewed by the renderer itself 2026-09-12 19:40:19 +02:00
notes.html
pe-guide.html
settings.html feat: connect Nextcloud by signing in to Nextcloud 2026-09-12 20:55:00 +02:00
sickvisit.html
soap.html
vaxschedule.html
wellvisit.html