Files
authelia/internal/authentication/users_database.template.json
ee1353725f feat(configuration): add support for toml and json (#9223)
This adds support for TOML and JSON across various areas of the Authelia
application. The format of a file is
determined by its extension, with '.toml' handled as TOML, '.json' as
JSON, and everything else as YAML which
preserves the existing behavior.

This applies to the configuration (including directories which mix
formats), the file user provider database which is
now written back in the same format it was read in, and the storage user
identifier, TOTP, and WebAuthn exports and
imports which are encoded via their existing data models so every format
produces the documented shape.

---------

Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Co-authored-by: autheliabot <autheliabot@users.noreply.github.com>
Co-authored-by: Amir Zarrinkafsh <3339418+nightah@users.noreply.github.com>
2026-09-25 13:48:12 +00:00

15 lines
320 B
JSON

{
"users": {
"authelia": {
"disabled": true,
"displayname": "Test User",
"password": "$argon2id$v=19$m=32768,t=1,p=8$eUhVT1dQa082YVk2VUhDMQ$E8QI4jHbUBt3EdsU1NFDu4Bq5jObKNx7nBKSn1EYQxk",
"email": "authelia@authelia.com",
"groups": [
"admins",
"dev"
]
}
}
}