Customization

Customize the appearance #

  1. Nervatura Client language translation
  • Create a file based on the client_config.json file. All subtitles can be found here.
  • Set NT_CLIENT_CONFIG environment variable value to YOUR_CLIENT_CONFIG_FILE_PATH
  • Docker container: mount local folder to the container
  1. Nervatura Client custom remote functions: MENU SHORTCUTS

  2. Custom PDF Report font

  • Set NT_FONT_FAMILY environment variable value to YOUR_FONT_FAMILY_NAME
  • Set NT_FONT_DIR environment variable value to YOUR_FONTS_PATH
  • Valid font type and filename form: FAMILY_NAME-Regular.ttf, FAMILY_NAME-Italic.ttf, FAMILY_NAME-Bold.ttf, FAMILY_NAME-BoldItalic.ttf
  • Docker container: mount local folder to the container
  1. Modify installed Nervatura report definitions: REPORT EDITOR

  2. The basic report definition files can be found here.

Bearer Authentication #

Environment variables: .env.example

User authentication is based on the employee.username or employee.registration_key fields.
To match the username, Nervatura login processing associates the token fields in the following order: login.username = token.username || token.user_id || token.sub || token.email

Passwords are not stored in the employee or customer tables. They are anonymized and stored in a unique table with strong encryption.

Custom token-based, password-free login can also be used. Password-based login can be enabled or disabled with the NT_PASSWORD_LOGIN option value.

You can find more information about this in the Examples.