Creating a new user (Open Source)

This page describes the recommended onboarding workflow for adding new users to a DefectDojo instance. DefectDojo users can be used as both standard, human-operated accounts and as service accounts.

The admin who creates the account is responsible for delivering the initial credentials (username and password) to the new user.

  1. Create the user account in DefectDojo (Superuser only):

    • Navigate to 👤 Users → Users to open the All Users table.
    • Click the 🛠️ (crossed wrench and screwdriver) icon.
    • Enter the new user’s name and email address.
    • Set a temporary password.
    • Submit the form.
  2. Grant access as appropriate. Add the user to the Authorized Users list of each Asset or Organization they need, or mark them as staff or superuser. See Open-Source Permissions for details. A new user with no assignments will not be able to see any Assets or Findings.

  3. Send the credentials to the new user out-of-band (over email, your team’s chat tool, or however you normally share secrets). Include:

    • The DefectDojo instance URL.
    • The username (typically their email address).
    • The temporary password you just set.
    • A note that they should change the password on first login.
  4. The new user logs in and rotates the credential. They can either:

    • Log in with the temporary password and then change it from their profile menu, or
    • Use the I forgot my password link on the login page to set a password directly without using the temporary one. The temporary password is still required for the initial account record to exist, but the user does not need to remember it if they use the password-reset flow.

Users who signed in with SSO

Open-source DefectDojo supports local accounts only. SSO (SAML, OIDC, OAuth), LDAP, and MFA are available in DefectDojo Pro.

If you have upgraded to open-source DefectDojo 3.x and existing SSO users can no longer log in, see Re-enabling login for SSO users.