doc(webdav): login is via app password
This commit is contained in:
@@ -2,6 +2,28 @@
|
||||
|
||||
This page collects platform-specific connection steps for OxiCloud's WebDAV, CalDAV, and CardDAV endpoints.
|
||||
|
||||
## Before you start: get an app password
|
||||
|
||||
Every DAV client — WebDAV, CalDAV, CardDAV — authenticates with an
|
||||
**app password**, not your regular OxiCloud account password. Your
|
||||
account password is deliberately refused on `/webdav/`, `/caldav/`, and
|
||||
`/carddav/`. This applies whether you signed up with a password, use
|
||||
magic-link login, or authenticate via SSO/OIDC — app passwords are the
|
||||
only credential shape that works uniformly across all account types.
|
||||
|
||||
**Generate one:**
|
||||
|
||||
1. Open OxiCloud in your browser and sign in as usual.
|
||||
2. Go to **Profile → App Passwords**.
|
||||
3. Click **Create**, give it a memorable name (e.g. "Thunderbird laptop",
|
||||
"iPhone contacts"), and copy the token shown once.
|
||||
4. Use your username + that token as the credentials in every DAV client
|
||||
below.
|
||||
|
||||
You can revoke a single app password without touching your account
|
||||
password — useful if you lose a device or want to rotate the credential
|
||||
in one specific client.
|
||||
|
||||
## Connection Summary
|
||||
|
||||
| Use case | URL |
|
||||
@@ -17,7 +39,9 @@ This page collects platform-specific connection steps for OxiCloud's WebDAV, Cal
|
||||
1. Open File Explorer
|
||||
2. Right-click This PC and choose Add a network location or Map network drive
|
||||
3. Enter `https://your-oxicloud-server/webdav/`
|
||||
4. Provide your OxiCloud username and password
|
||||
4. Provide your OxiCloud username and an **app password** (see
|
||||
[above](#before-you-start-get-an-app-password) — your regular account
|
||||
password will be rejected)
|
||||
|
||||
If Windows refuses the connection, check the `WebClient` service and verify these registry values under `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters`:
|
||||
|
||||
@@ -29,7 +53,8 @@ If Windows refuses the connection, check the `WebClient` service and verify thes
|
||||
1. Open Finder
|
||||
2. Choose Go -> Connect to Server or press Cmd+K
|
||||
3. Enter `https://your-oxicloud-server/webdav/`
|
||||
4. Sign in with your OxiCloud credentials
|
||||
4. Sign in with your OxiCloud username and an **app password** (see
|
||||
[above](#before-you-start-get-an-app-password))
|
||||
|
||||
### Linux
|
||||
|
||||
@@ -85,12 +110,18 @@ Use a CardDAV-capable synchronizer and configure the remote address book endpoin
|
||||
|
||||
### WebDAV
|
||||
|
||||
- **401 Unauthorized on every request?** Almost always the wrong
|
||||
credential shape. Use an app password from *Profile → App Passwords*
|
||||
— the account password is refused deliberately (see
|
||||
[Before you start](#before-you-start-get-an-app-password) above).
|
||||
- Make sure the URL includes `/webdav/`
|
||||
- Use HTTPS in production
|
||||
- Recheck credentials and the WebClient service on Windows
|
||||
- Recheck the WebClient service on Windows
|
||||
|
||||
### CalDAV and CardDAV
|
||||
|
||||
- **401 Unauthorized?** Same rule as WebDAV — use an app password, not
|
||||
your account password.
|
||||
- Use the full `/caldav` or `/carddav` base path
|
||||
- Verify the calendar or address book identifier when the client asks for one
|
||||
- If sync works on one client and not another, compare the exact URLs being used
|
||||
|
||||
Reference in New Issue
Block a user