[Bug 295354] www/authelia: enable template engine or add authelia flags
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 May 2026 08:07:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295354
Bug ID: 295354
Summary: www/authelia: enable template engine or add authelia
flags
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: yuri@freebsd.org
Reporter: mfechner@FreeBSD.org
Flags: maintainer-feedback?(yuri@freebsd.org)
Assignee: yuri@freebsd.org
If you use OIDC with authelia it is required to have pem encoded keys loaded
for jwks.
It is very convenient to have that keys in extra file and load them in the
authelia.yml with:
```
identity_providers:
oidc:
jwks:
- key: {{ secret "/usr/local/etc/authelia/private_ecdsa.pem" | mindent 10
"|" | msquote }}
- key: {{ secret "/usr/local/etc/authelia/private_rsa.pem" | mindent 10
"|" | msquote }}
```
To enable this, the template engine must be enabled:
https://www.authelia.com/configuration/methods/files/#file-filters
This can easily be done by modifying the rc script like:
```
command_args="-u root -o ${logfile} -t ${name} /usr/local/bin/authelia --config
/usr/local/etc/authelia.yml --config.experimental.filters template"
```
or maybe add a new authelia_flags parameter and add it to command_args.
I can also provide a patch if you like.
If you prefer a patch, please let me know which approach you prefer.
--
You are receiving this mail because:
You are the assignee for the bug.