Issue with Inconsistent Redirect URLs When Logging In via Pydio Cells Mobile App

Hello Pydio Cells Community,

I’m encountering a frustrating issue with my Pydio Cells deployment and would appreciate any guidance or suggestions.

Setup Details:

  • Deployment: Pydio Cells installed via binary on a Debian 12 cloud server.
  • Configuration:
    • Listening address set to 0.0.0.0:8080 via environment variables.
    • External domain bound to the server, with Cloudflare SSL certificates configured.
    • All configurations (domain, certificates, etc.) are correctly reflected in the Pydio Cells dashboard.

Issue:
When I attempt to log in using the Pydio Cells mobile app, the app redirects to a browser for account authentication. However, the redirect URL is inconsistent and problematic:

  • Most of the time, the redirect points to an internal network address (e.g., private IP) or a loopback address (e.g., 127.0.0.1).
  • Occasionally, it redirects to the server’s public IP address.
  • It never uses the external domain I’ve configured.

This inconsistency makes it impossible to log in reliably from the mobile app when the redirect uses internal or loopback addresses. I’ve been restarting the server repeatedly, hoping for the redirect to randomly use the public IP, which allows login but is highly unreliable and frustrating.

What I’ve Tried:

  • Verified that the domain and SSL certificates are correctly set up in the dashboard.
  • Ensured the listening address is 0.0.0.0:8080 to accept external connections.
  • Checked Cloudflare settings, which appear to be working fine.

Question:
Is there a way to ensure that the mobile app’s browser redirect consistently uses my configured external domain? Are there specific settings in Pydio Cells (e.g., environment variables, configuration files, or dashboard options) that I might be missing to enforce the correct redirect URL? Any advice on troubleshooting or resolving this issue would be greatly appreciated!

Thank you in advance for your help!

Best regards,
XTAI9

Hi xtai9

And welcome to our community.

For the Mobile App to work, you have to define the public URL of your server, otherwise the OAuth credential flow is broken.

If you are using env variable, have a look to CELLS_SITE_EXTERNAL
otherwise, it’s the last param you define when you do cells configure sites