Profile and 2FA
Part of the "Tenant administration" group. This page is your own account — anyone can use it, even if you only manage one domain. It is grouped here for convenience.
The Profile page (/profile) lets you manage your own account:
- Change your display name / email and turn login notification emails on or off.
- Change your password.
- Turn 2FA (TOTP) on or off with an authenticator app (Google Authenticator, Authy, and so on).
- View your login session history (read-only).
Use it when: you have just received an account (and are required to change your password on first login), want to improve security with 2FA, or need to update your contact email.
There are no API keys on the Profile page. API keys are on the Users → API keys tab (see API Keys).
Before you start
- You are logged in (this page does not require any special permissions).
- To change your password: the account must be a local account (accounts that log in with Google/OAuth cannot change a password here).
- To enable 2FA: you have a TOTP app on your phone.
How to configure
A. Change profile information:
- Go to Profile → edit Display name / Email, and turn Login notify email on or off.
- Click Save (
PATCH /profile).
B. Change your password:
- Open the Change password section. Enter your current password and a new password.
- Click Save (
POST /profile/password). The system issues a new token (you are not logged out).
C. Enable 2FA (TOTP):
- Open the Two-factor authentication section → Enable. The system shows a QR code, the key string (
otpauth_uri), and 8 recovery codes. - Store the 8 recovery codes in a safe place (you use them if you lose your phone).
- Scan the QR code with your TOTP app → enter the 6-digit code to confirm. When 2FA is enabled successfully, the system revokes all old sessions and issues a new token.
- Disable 2FA: open this section → Disable, and enter a valid TOTP code to confirm.
D. View login sessions: the Sessions section lists the 20 most recent events (successful and failed logins) — read-only.
Configuration fields
| Field | Meaning | Values | Notes |
|---|---|---|---|
| Display name | Display name | ≤200 characters | — |
| Contact and password-reset email | ≤254 characters, contains @ and . | Invalid format → 400 | |
| Login notify email | Send an email on every login | On/off | Sent only when email delivery is available for your account |
| Current password | Current password (when changing) | — | Incorrect → 403 "current password is incorrect" |
| New password | New password | ≥12 characters, ≥1 uppercase, ≥1 lowercase, ≥1 digit | Not met → 400; matches one of the 4 most recent passwords → 400 |
| TOTP code | 6-digit code from the app (confirm/disable) | 6 digits | Incorrect → 400; more than 5 attempts in 300s → 429 |
| Recovery codes | 8 recovery codes for when you lose your device | 8 codes (shown during setup) | Store them right away — use one in place of a TOTP code when needed |
Google/OAuth accounts: the change password button returns 403 ("password change not available for OAuth accounts") — these accounts log in through Google and have no local password.
Important behavior when changing your password or enabling 2FA
- Changing your password signs out sessions that were started before the change; the system issues you a new session so you are not locked out.
- Enabling 2FA (confirm) rotates your session → every token and device that was logged in before is logged out, and you receive a new session.
- Passwords expire after 90 days (local accounts only) — when that happens, you are sent to this page to change your password before you can continue.
- Forced password change (first login or expired password): every other page redirects you to
/profile; after you change your password successfully, the portal automatically redirects you to/dashboardso you can continue as normal.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Change password → 403 "current password is incorrect" | Current password entered incorrectly | Re-enter your old password correctly |
| Change password → 403 OAuth | Google/OAuth account | This account type cannot change a password here |
| 400 "password was used recently" | New password matches one of the last 4 | Choose a password you have not used |
| Enable 2FA → 400 "2FA is already enabled" | 2FA is already enabled | To set it up again, Disable it first and then Enable it again |
| Entering a TOTP code → 429 | More than 5 attempts within 300 seconds | Wait for the time in Retry-After, then try again |
| Lost phone and cannot log in | No TOTP device available | Use a recovery code; if you have no recovery codes left, ask your provider to disable 2FA (see Users) |
FAQ
- Is 2FA mandatory? No (2FA is optional/opt-in), but we recommend enabling it for better security.
- What if I lose my recovery codes? Disable 2FA (requires a current TOTP code) and then enable it again to get a new set of codes; if you lose both your device and your codes, contact your provider.
- Why was I logged out everywhere else after enabling 2FA? Enabling 2FA rotates your session to revoke all old tokens — this is a security measure; log in again.
- Where do I create an API key? On the Users → API keys tab (see API Keys), not on the Profile page.
- Can I edit the session history? No — the Sessions section is view-only and cannot be edited.