nextcloud / nextcloud/android

client apps shall find subdirectory of nextcloud installation via service discovery (.well-known directory)

Open
#12,988 2 comments 0 reactions 0 assignees View on GitHub
enhancement feature: authentication needs info
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. I set up the 4 well-known uri's as described here: https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#service-discovery-label
2. kde's kontact works to login with login to https://domain.tld
3. nextclouds client at least for android expects to add the subdirectory to the login, while 3rd party apps work with service discovery

### Expected behaviour

i expect nextcloud to follow same service discovery as 3rd party apps do.
Thatfor i would expect its a bug and just doesnt work while its supposed to

### Actual behaviour

nextclouds android client (maybe all clients?) just fire the request to the domain for the /status.php uri and expect it to work. you'd need to add the subdirectory.

### Android version

13

### Device brand and model

google pixel 4a

### Stock or custom OS?

Stock

### Nextcloud android app version

3.29.0

### Nextcloud server version

28.0.5

### Using a reverse proxy?

No

### Android logs

_No response_

### Server error logs

```bash
[06/May/2024:11:41:17 +0200] "GET /status.php HTTP/1.1" 404 16 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.29.0"
```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.