Guides
Contents

Password sign-in

Turn on Username & Password sign-in on a DownloadPulse server, use the same credentials from scripts with HTTP Basic, and change, clear or turn off passwords.

Applies to
  • Server
  • Desktop
On this page

Username & Password is DownloadPulse’s local sign-in method. People sign in on the DownloadPulse sign-in page, and scripts can send the same credentials with HTTP Basic. This page covers turning it on, using it, and turning it off again. For how it combines with OpenID Connect, see Authentication.

DownloadPulse stores each password only as an Argon2id verifier on the account it belongs to. The password itself is accepted only while it’s being set or replaced, and it’s never shown again.

Open Settings › Authentication. The Username & Password card is part of the Advanced presentation, so choose Advanced in My Account if you don’t see it.

Control What it does
Enable Username & Password (header switch) Turns password sign-in on or off for the whole server. It can be turned on only when an active Admin has a username and password.
Username The username of your own account, used for browser sign-in and HTTP Basic. Other people’s usernames are managed in Settings › Users & Access.
Password Your own account’s password. Leave it blank to keep the stored password, or enter a new one to replace it. The placeholder says Password is set or Set a password before enabling.
Clear (inside the Password field) Removes your stored password after you confirm. It never applies what you’ve typed.
Apply Saves the username and password together.
Status beside Help Configured when a username and password are stored, Unconfigured otherwise. It doesn’t test the password.
  • Typing in Username or Password changes nothing until you choose Apply.
  • Apply sends both fields in one request. The server checks and saves them together, and if anything is refused, nothing changes.
  • A blank Password keeps the stored one, so you can’t apply an empty password by accident.
  • Changing the username needs a new password. If you rename without one, Apply stays unavailable and tells you: Enter a new password to change the username. A name is never re-bound to a stored password.
  • Every new password must be at least eight characters. This applies to passwords set here, chosen by an Admin for another account, or changed by an account itself. An existing shorter password keeps working.
  • Applying a new credential ends your account’s browser sessions, including the one you’re using. Sign in again with the new username and password.

On a new server in open mode, you’re working as the built-in default Admin, and these steps give that account its credentials:

  1. Open Settings › Authentication.
  2. In the Username & Password card, enter a Username.
  3. Enter a Password of at least eight characters.
  4. Choose Apply. The message Username and password applied appears.
  5. Switch on Enable Username & Password.
  6. Sign in on the sign-in page with the username and password you just applied.

From now on, every browser has to sign in, and the API asks for credentials too. Give your other tools an Integration token, or HTTP Basic credentials, before you turn sign-in on. See API and tokens.

Note: Password-only setups on a LAN may run over plain HTTP. If you expose DownloadPulse through an HTTPS reverse proxy, set PUBLIC_BASE_URL to the external address so secure cookies and origin checks work. See Authentication.

Other people’s local accounts get their passwords in Settings › Users & Access. An Admin creates them with Add Local Account or sets one with Reset Local Password in Edit User. See Users and roles. A person whose account signs in through OIDC can also use Set Password in My Account to give it a local password under their DP Username. That password works only while Username & Password is on.

The sign-in page asks for Username and Password, then Sign In. Holding the eye button shows the password while you hold it. When OpenID Connect is also on, the page offers Sign in with your provider first, then or continue with user name and password.

Messages you may see:

Message Meaning
Invalid username or password. The credentials didn’t match.
This account cannot sign in to DownloadPulse. The account is disabled, or can’t sign in on this deployment type.
Username & Password authentication is disabled. Password sign-in is turned off.
The sign-in form expired. Try again. The form is no longer valid. Sign in again.
Too many sign-in attempts are already being processed. Try again shortly. The server is limiting sign-in work. Wait a moment.

Failed sign-ins slow down further attempts from the same network address. Failures are counted per username, so one account’s successful sign-in never clears the failures recorded against another. There is no account lockout: an account is never disabled because of failed sign-ins. Proving your current password when you change it goes through the same throttle.

Tip: Behind a reverse proxy, every client can look like the proxy’s own address unless FORWARDED_ALLOW_IPS trusts the proxy. People behind the proxy then share one throttling budget. See Authentication.

While Username & Password is on, REST clients can send the same credentials with standard HTTP Basic authentication. The request runs with that account’s role.

bash
curl -u operator:'your-password' https://download.example.com/api/stats
  • HTTP Basic stops working as soon as Username & Password is turned off.
  • Changing or clearing an account’s password takes effect for HTTP Basic straight away.
  • A valid browser session and a bearer token both take precedence over Basic credentials on the same request.
  • For automation such as Sonarr, Radarr or Prometheus, prefer an Integration account’s token: you can revoke it on its own, and it can do only what automation needs. An Admin’s HTTP Basic credentials also work for scraping /api/metrics.

How you change your own password depends on where you are:

  • In Settings › Authentication: enter a new Password (and a new Username, if you want one) and choose Apply.
  • In My Account: choose Change Password, enter your Current Password, then the New Password twice. The change applies only if the current password is still the one you just proved.

Either way, your browser sessions end. Sign in again with the new password.

An Admin can reset another person’s password in Edit User. The account is signed out everywhere, and if it has an OIDC sign-in, that stays linked.

In the Username & Password card, choose Clear inside the Password field. The dialog Clear stored password? explains what happens, and Clear Password confirms it:

  • the stored local password is removed
  • Username & Password sign-in is turned off
  • if OpenID Connect is also off, DownloadPulse enters open mode, and the dialog says so

Clearing a password ends that account’s browser sessions.

  1. Switch off Enable Username & Password.
  2. If this was the last sign-in method, confirm Disable interactive authentication? with Continue to Open Mode.

What happens at once:

  • HTTP Basic is disabled.
  • Browser sessions that came from a password sign-in are invalidated.
  • The stored password is kept. Turning the switch back on later uses it again. To delete it as well, use Clear Stored Password.

If OpenID Connect stays on as the only method, DownloadPulse allows the change only from a browser signed in through OIDC, with an OIDC configuration that has already completed a real sign-in. See OpenID Connect.

The desktop app, like every Standalone installation, has one person: the built-in Administrator. It has no Authentication tab. Its sign-in is a single optional password, managed in My Account:

  • No password required to sign in (the default): no sign-in is needed. Anyone who can reach this DownloadPulse uses it as the Administrator.
  • Set Password gives the Administrator a password. Saving it also turns on password sign-in: from then on DownloadPulse asks for this password, and only this password, before anyone can use it. The sign-in page has no username field.
  • Change Password asks for the current password and a new one, entered twice. Saving it ends your browser sessions.
  • Clear Password asks for the current password and a confirmation. It removes the password and turns password sign-in off together.

The line under the password reads Password required to sign in or No password required to sign in. It describes whether sign-in is required right now, not whether a password is stored.

Desktop: If you lose the password, stop DownloadPulse and make a copy of its configuration file. Set auth_password to a new password, keeping the file valid JSON, and start DownloadPulse again. The new password replaces the Administrator’s.