Notifications
Authelia sends messages to users in order to verify their identity.
Configuration
Example Configuration
This section is intended as an example configuration to help users with a rough contextual layout of this configuration section, it is not intended to explain the options. The configuration shown may not be a valid configuration, and you should see the options section below and the navigation links to properly understand each option individually.
notifier:
disable_startup_check: false
template_path: ''
filesystem: {}
smtp: {}
Provider Requirements
You must configure exactly one notification provider: either filesystem
or smtp
. These providers are mutually exclusive - you cannot configure both at the same time.
Options
This section describes the individual configuration options.
disable_startup_check
Warning
It is highly recommend you address any issues/errors generated by startup checks rather than disabling the startup checks. By disabling the startup checks you won’t know that notifications don’t send until you attempt to send a notification.
The two notification providers have a startup check which validates the specified provider configuration and verifies the provider can send notifications:
- For SMTP: Verifies connectivity to the mail server and validates any provided credentials.
- For Filesystem: Verifies the target directory exists and that the specified file can be created/modified.
The startup checks can be disabled with the
disable_startup_check
option.
template_path
Note
You may configure this directory and add only add the templates you wish to override, any templates not supplied in this folder will utilize the default templates.
This option allows the administrator to set a path to a directory where custom templates for notifications can be found. The specifics are located in the Notification Templates Reference Guide.
filesystem
The filesystem provider.
smtp
The smtp provider.