htmlspecialchars((string)$s, ENT_QUOTES); $errMsgs = [ 'token_invalid' => 'That setup token is not valid — double-check for stray whitespace or a truncated paste.', 'bad_username' => 'Username must be 3–40 chars: letters, digits, dot, dash, underscore only.', 'bad_email' => 'Provide a valid email address (required for password recovery + 2FA).', 'password_too_short' => 'Password must be at least 7 characters.', 'password_mismatch' => 'Passwords don\'t match.', 'user_exists' => 'That username is already taken.', ]; ?>
Either setup is already complete (log in normally) or the token file has been deleted. On the manager server, run:
sudo /opt/customsso-manager/bin/reset-setup-token.sh
…then reload this page.
Paste your setup token below to create the first admin account. To fetch the token, SSH into the manager and run:
sudo cat /etc/customsso-manager/first-run.token
Token verified. Fill in the first admin account below; this account will get the superuser role (highest — can manage other users, rotate the master key, etc.). After submitting, the token is consumed and this page becomes unreachable.