[Solved] Zoph login fails on Mac/Safari Client

Root Cause

The FreedomBox user was not configured as a Zoph user. The user’s choice of client OS and web browser had nothing to do with this.

Solution

Zoph users need to be created in the Zoph application. The reason this user could not log in, and I could, is that Zoph does not use the FreedomBox account. When you install Zoph and select the administrative user the FreedomBox setup for Zoph creates that user for you in Zoph. The second and subsequent users need to be defined in Zoph manually.

Problem Description
I’m setting up a new FreedomBox user to use Zoph. The user has a Mac and uses Safari. On launching Zoph this user gets the Zoph login prompt but receives the “You have entered an incorrect username/password combination” message after successfully entering their FreedomBox username and password.

The url at the Zoph login dialog which will fail is:

https://myfb.fbx.one/zoph/logon.php?redirect=zoph%2Fzoph.php

The url after failed Zoph login is:

https://myfb.fbx.one/zoph/logon.php?error=PWDFAIL&redirect=zoph%2Fzoph.php

I am using the Safari password manager both for FreedomBox login and for the Zoph login dialog. I don’t expect a user/pass mistake at the zoph step.

I cannot duplicate this on my Debian/Firefox-esr client laptop using the user’s credentials.

Steps to Reproduce

  1. Log in to FreedomBox
  2. Click the Zoph tile
  3. Enter the FreedomBox username and password in the login page presented by Zoph.
  4. Zoph returns the warning…

big-red-X.jpg You have entered an incorrect username/password combination

Expected Results
I expect Zoph to authenticate with FreedomBox SSO or to accept the FreedomBox login credentials of the user.

Actual results
Zoph returns the warning…

big-red-X.jpg You have entered an incorrect username/password combination

Screenshot
(a screenshot of the screen/webpage when the problem was shown)

Information

  • FreedomBox version:

You are running Debian GNU/Linux 12 (bookworm) and FreedomBox version 24.24. FreedomBox is up to date.

  • Hardware:
    Intel Atom PC
    uname --all: Linux freedombox 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
  • How did you install FreedomBox?:
  • install Debian Buster net-inst
  • DEBIAN_FRONTEND=noninteractive apt-get install freedombox -y
    This freedombox installed with Buster and uses unattended-upgrades on Stable with backports

I see that in some cases I get the Zoph login prompt on my Debian/Firefox-esr client, and other times I don’t. I’d expect SSO to be used each time once I’m logged into FreedomBox.