login
Authenticate to Nextcloud using browser-based sign-in to issue and save an app password, or supply a username and app password for manual, browserless authentication.
Instructions
Sign in to Nextcloud with Login Flow v2: opens the server's login page in the default browser, the user signs in (SSO works), and an app password is issued and saved. Waits up to 2 minutes, then keeps waiting in the background and returns the login URL. Call this when other tools report that the user is not logged in. Without a browser, pass login_name and app_password (Settings → Security → App passwords).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| login_name | No | Login name for manual mode, no browser needed | |
| server_url | No | Nextcloud URL (any page of it works). Required on the first login, then the saved one is used | |
| app_password | No | App password for manual mode, no browser needed |