From 48d083c3555e983ebc1a313d206a61b42d8cd2a7 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 24 Jun 2026 18:59:40 +0000 Subject: [PATCH] Expand Docker deployment docs with bearer token explanation and link to Authelia config reference --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a739b0..6266e6c 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,13 @@ docker compose up -d | `9091` | Authelia web portal | | `8080` | Authelia-API (user management API) | -The container handles first-time bootstrap automatically — the admin user is created using the `session.secret` value from your Authelia config as the API bearer token. +**First-time authentication**: The container creates an admin user automatically on startup by reading the `session.secret` from your Authelia config. Whatever value you set for `session.secret` in `configuration.yml` becomes your initial bearer token — there is nothing to fetch. For example: + +```bash +curl -H "Authorization: Bearer your-session-secret-value" http://localhost:8080/api/health +``` + +**Authelia configuration reference**: The example file at `docker/configuration.yml.example` covers the essentials, but Authelia has many more options. See the [official Authelia configuration docs](https://www.authelia.com/configuration/) for details on secrets, domains, authentication backends, and access control rules. ### Development Installation