-
Notifications
You must be signed in to change notification settings - Fork 0
Account
Guides for signing in, registering, and managing your HarborFM account.
- Open the HarborFM login page (e.g.
/loginor the "Sign in" link). - Enter your email and password.
- If you have two-factor authentication enabled, you'll be prompted for your 2FA code after the password. See Two-factor auth.
After a successful login you're taken to the dashboard.
Troubleshooting: If you see "Server not set up yet," the instance hasn't been initialized. Open the one-time setup URL from the server logs. See Getting started. For repeated failed logins, the server may temporarily ban your IP; see Troubleshooting and the main README.
Whether new users can create accounts is controlled by the instance admin in Settings. If account registration is enabled:
- Open the Register link from the login page.
- Enter email, username (if required), and password.
- Complete any verification step (e.g. email verification) if the instance has it enabled.
- Sign in with your new account.
If registration is disabled, only existing users (or users invited by an admin or collaborator) can use the instance.
Two-factor authentication adds a second step when you sign in: after entering your password, you enter a code from an authenticator app (or similar).
- Sign in and go to your Profile (or account/settings).
- Find the Two-factor authentication section.
- Follow the steps to enable 2FA: the app will show a QR code (or a secret key) to add to your authenticator app (e.g. Google Authenticator, Authy).
- Scan the code or enter the key, then enter a verification code from the app to confirm.
- Save any backup codes if the app offers them; use them to sign in if you lose access to the authenticator.
Once 2FA is enabled, each login will require your password plus a current code from the app.
- Enter your email and password on the login page.
- When prompted, enter the 6-digit code from your authenticator app.
- Complete sign-in.
From your Profile, open the two-factor authentication section and choose to disable 2FA. You may need to enter your password or a current 2FA code to confirm.
If you forgot your password, you can request a reset link by email (when the instance has email configured).
- On the login page, use the "Forgot password?" (or similar) link.
- Enter the email associated with your account.
- Submit the form. If that email exists, the server sends a password-reset link (subject to the instance's email and rate-limit settings).
- Check your inbox (and spam folder). The link is valid for a limited time (e.g. one hour; see the main README for
RESET_TOKEN_EXPIRY_HOURS). - Open the link and set a new password, then sign in with it.
If you don't receive an email, confirm the address is correct and that the instance has email (SMTP) configured. Admins can also reset a user's password from Users; see User management.
- Login and registration
- User management (admin: reset another user's password)
From your Profile you can:
- View and update your email and username (subject to rate limits and instance settings).
- Manage two-factor authentication; see Two-factor auth.
- View and manage API keys (below).
Changes to email or username may require verification depending on instance configuration.
API keys let you call the HarborFM API (e.g. from scripts or other apps) without using a browser session. The API is documented via Swagger; when running your own instance, the docs are typically at https://your-host/api/docs.
- Open your Profile.
- Find the API keys section.
- Click to create a new key. Give it a label if the UI allows (e.g. "CI" or "Upload script").
- Copy the key immediately; it may be shown only once. Store it securely (e.g. in a secrets manager or env var).
Use the key in API requests as required by the server (often a header such as Authorization: Bearer <key> or an API-key header; check the Swagger docs for your version).
- You can list and revoke keys from the Profile page.
- Revoking a key invalidates it immediately; any script or app using that key will get unauthorized errors until updated with a new key.
- The server may limit how many keys you can have per account; see the main README for
MAX_API_KEYS_PER_USER.
At the bottom of your Profile page, a Disable Account card lets you disable your own account. For password accounts you'll be asked to confirm with your password; for federated (SSO) accounts you'll see an "Are you sure?" confirmation. Two-factor authentication must be disabled first before you can disable the account. Read-only accounts and the sole admin on the instance cannot disable their account. After you disable, you are signed out.
- Two-factor auth
- Login and registration
- Main README - environment variables for auth (e.g. JWT, API key prefix)