Skip to content

Configure a Local Authentication Provider#

managePlatform

Configure a local authentication provider in TheHive.

By default, TheHive manages authentication with its own local database, where usernames and passwords are stored directly in the application.

Procedure

Prerequisites

  • Users must have an existing account in TheHive local database to authenticate successfully.
  • These steps assume that you have already followed the instructions to configure the authentication settings.
  1. Go to the Platform management view from the sidebar menu.

    Platform management

  2. Select the Authentication tab.

    Authentication tab

  3. Select Local authentication in the Authentication providers section.

  4. In the Local authentication drawer, enter:

    • The number of failed authentication attempts before temporarily blocking the user
    • The duration for automatic user unblocking
  5. To define a password policy, enable the Enabled password policy toggle and enter the following password requirements:

    • Minimum length
    • Minimum number of lowercase characters
    • Minimum number of uppercase characters
    • Minimum number of digits
    • Minimum number of special characters
  6. To prevent users from using their login as a password, enable the Disallow using usernames as passwords toggle.

Next steps