Android App Login Loop over HTTP (Tailscale setup)

Message: Hi everyone, I'm stuck in a login loop with the Android App.
  • Setup: Debian + Nextcloud 22 (subdir /nextcloud).

  • Networking: Using Tailscale (HTTP only, no SSL certs yet).

  • Config: trusted_domains includes the Tailscale IP and hostname

The issue:

  1. Accessing via mobile browser at http://xxxx/nextcloud works flawlessly.

  2. If I enter xxxx/nextcloud in the App, I get a “Untrusted Domain” warning (seems like it’s forcing HTTPS).

  3. If I enter http://xxx/nextcloud in the App, it opens the browser for authentication. After clicking “Grant Access”, the browser says “Access granted”, but the App stays on the “Please complete the login process” screen forever.

Any tips on how to fix this token exchange over HTTP?

Thanks