diff --git a/.buildkite/annotations/artifacts.sh b/.buildkite/annotations/artifacts.sh index 9910dae8f..cd4c6efbc 100755 --- a/.buildkite/annotations/artifacts.sh +++ b/.buildkite/annotations/artifacts.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set -euo pipefail artifact_links() { diff --git a/.buildkite/annotations/screenshots.sh b/.buildkite/annotations/screenshots.sh index 1b8316c7e..9e4ddaf29 100755 --- a/.buildkite/annotations/screenshots.sh +++ b/.buildkite/annotations/screenshots.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set -euo pipefail # Emits an annotation body embedding each failure screenshot captured by the suite. The artifact:// diff --git a/.buildkite/hooks/post-artifact b/.buildkite/hooks/post-artifact index 5df065e82..0bc55eacc 100755 --- a/.buildkite/hooks/post-artifact +++ b/.buildkite/hooks/post-artifact @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set +u if [[ "${BUILDKITE_LABEL}" == ":docker: Build Image [coverage]" && "${BUILDKITE_AGENT_NAME}" =~ ^tabris[0-9]+$ ]]; then diff --git a/.buildkite/hooks/post-checkout b/.buildkite/hooks/post-checkout index ebeaacb10..ed6d80e60 100755 --- a/.buildkite/hooks/post-checkout +++ b/.buildkite/hooks/post-checkout @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set +u if [[ "$(git rev-parse --is-shallow-repository)" == "true" ]]; then diff --git a/.buildkite/hooks/post-command b/.buildkite/hooks/post-command index 477cef379..88601c6f0 100755 --- a/.buildkite/hooks/post-command +++ b/.buildkite/hooks/post-command @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set +eu cleanup_tags() { diff --git a/.buildkite/hooks/pre-artifact b/.buildkite/hooks/pre-artifact index 908c0d855..326ec2471 100755 --- a/.buildkite/hooks/pre-artifact +++ b/.buildkite/hooks/pre-artifact @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set +u DOCKER_IMAGE=authelia:dist diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index 50c134eb1..1b2cec943 100755 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set +u # shellcheck source=/dev/null diff --git a/.buildkite/hooks/pre-exit b/.buildkite/hooks/pre-exit index eac29af95..d931d2fa1 100755 --- a/.buildkite/hooks/pre-exit +++ b/.buildkite/hooks/pre-exit @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set +u PROJECT="${COMPOSE_PROJECT_NAME:-authelia}" diff --git a/.buildkite/integration.sh b/.buildkite/integration.sh index d8dd83b60..09e26ae8f 100755 --- a/.buildkite/integration.sh +++ b/.buildkite/integration.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set -u # shellcheck source=/dev/null diff --git a/.buildkite/libs/common.sh b/.buildkite/libs/common.sh index cf9687c27..faa730ad3 100644 --- a/.buildkite/libs/common.sh +++ b/.buildkite/libs/common.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # .buildkite/libs/common.sh # # Shared helpers for the pipeline generator and the pre-command hook. diff --git a/.buildkite/pipeline.sh b/.buildkite/pipeline.sh index 768b628a8..b83689eb1 100755 --- a/.buildkite/pipeline.sh +++ b/.buildkite/pipeline.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # shellcheck source=/dev/null source "$(dirname "${BASH_SOURCE[0]}")/libs/common.sh" diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index f39436c39..b3307bd62 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- # This represents the hardcoded pipeline set in Buildkite interface which executes the repo provided dynamic pipeline. # It is used to ensure that insecure code from external PR cannot be executed before a maintainers approval, to avoid diff --git a/.buildkite/steps/aptdeploy.sh b/.buildkite/steps/aptdeploy.sh index 1098ceeee..a4c5f3c45 100755 --- a/.buildkite/steps/aptdeploy.sh +++ b/.buildkite/steps/aptdeploy.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set -euo pipefail APT_CONF_ROOT="./apt/conf" diff --git a/.buildkite/steps/aurhelper.sh b/.buildkite/steps/aurhelper.sh index 0ae3a7a1e..3ef8a01f5 100755 --- a/.buildkite/steps/aurhelper.sh +++ b/.buildkite/steps/aurhelper.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + GITTAG=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g') echo "--- :linux: Deploy AUR package: ${PACKAGE}" diff --git a/.buildkite/steps/aurpackages.sh b/.buildkite/steps/aurpackages.sh index 6d64a2f42..301ac1a69 100755 --- a/.buildkite/steps/aurpackages.sh +++ b/.buildkite/steps/aurpackages.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set -eu for AUR_PACKAGE in authelia authelia-bin authelia-git; do diff --git a/.buildkite/steps/e2epackages.sh b/.buildkite/steps/e2epackages.sh index 1c4979d74..a2d79102a 100755 --- a/.buildkite/steps/e2epackages.sh +++ b/.buildkite/steps/e2epackages.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set -eu for SUITE_NAME in $(authelia-scripts suites external list); do diff --git a/.buildkite/steps/e2etests.sh b/.buildkite/steps/e2etests.sh index 5b933f6b3..b0c9c0491 100755 --- a/.buildkite/steps/e2etests.sh +++ b/.buildkite/steps/e2etests.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set -eu declare -A SUITE_AGENTS=( diff --git a/.buildkite/steps/ghartifacts.sh b/.buildkite/steps/ghartifacts.sh index b7be25d95..3339e90d7 100755 --- a/.buildkite/steps/ghartifacts.sh +++ b/.buildkite/steps/ghartifacts.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set -eu readonly REPO="authelia/authelia" diff --git a/.buildkite/steps/grypescans.sh b/.buildkite/steps/grypescans.sh index 5af09a673..47e8549bf 100755 --- a/.buildkite/steps/grypescans.sh +++ b/.buildkite/steps/grypescans.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + set -e # shellcheck source=/dev/null diff --git a/.codecov.yml b/.codecov.yml index b08d152c1..8b831d06b 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- # yaml-language-server: $schema=https://json.schemastore.org/codecov.json codecov: diff --git a/.dockerignore b/.dockerignore index a3946b784..044d33044 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # Ignore All * diff --git a/.editorconfig b/.editorconfig index 8d875b368..f7970b098 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + root = true [*] diff --git a/.gitattributes b/.gitattributes index 7c64a7c63..62156906e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + * text=auto *.go text diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9fa3d62ca..47de28278 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # The maintainers team is a code owner for the whole repository. * @authelia/review-general diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 9571705f6..46495a283 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- # These are supported funding model platforms diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index cba9fb37b..52b7dd815 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- name: 'Bug Report' description: 'Report a bug' diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 25d957c38..ac1b1ed2b 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- blank_issues_enabled: false contact_links: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 419a0d314..0cfd51447 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- name: 'Feature Request' description: 'Submit a Feature Request' diff --git a/.github/probot.js b/.github/probot.js index fa7792002..5679fbe1f 100644 --- a/.github/probot.js +++ b/.github/probot.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + const excludedBranchPrefixes = /^(docs|all-contributors\/)/; diff --git a/.github/security-insights.yml b/.github/security-insights.yml index e884a89fd..7dbfdf5f3 100644 --- a/.github/security-insights.yml +++ b/.github/security-insights.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # yamllint disable rule:line-length --- header: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d5651bf7f..6675ca4f6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- # For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml index 8e5ea6e21..b0c470b1d 100644 --- a/.github/workflows/pr-labels.yml +++ b/.github/workflows/pr-labels.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- name: PR Labels diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index ca0477c67..93446ec35 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- name: 'Scorecard' diff --git a/.github/workflows/slsa.yml b/.github/workflows/slsa.yml index 6c767c057..e894a890a 100644 --- a/.github/workflows/slsa.yml +++ b/.github/workflows/slsa.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- name: SLSA Provenance on: diff --git a/.gitignore b/.gitignore index fc8bb5f4a..219128ab9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # IDE user configuration .idea/ .vscode/ diff --git a/.goreleaser.yml b/.goreleaser.yml index 5d7d8bbe0..ea8ec2988 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # yaml-language-server: $schema=https://goreleaser.com/static/schema.json --- version: 2 diff --git a/.grype.yaml b/.grype.yaml index 3428cc056..45e5ab94a 100644 --- a/.grype.yaml +++ b/.grype.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- ignore: - vulnerability: CVE-2026-38753 diff --git a/.healthcheck.env b/.healthcheck.env index 20df13dd0..830bf347a 100644 --- a/.healthcheck.env +++ b/.healthcheck.env @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # Default Template X_AUTHELIA_HEALTHCHECK_SCHEME=http X_AUTHELIA_HEALTHCHECK_HOST=localhost diff --git a/.mailmap b/.mailmap index aa053d951..e44b5580c 100644 --- a/.mailmap +++ b/.mailmap @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # .mailmap - Consolidate git author identities # See: https://git-scm.com/docs/gitmailmap # diff --git a/.shellcheckrc b/.shellcheckrc index e09d1c659..3061d3dab 100644 --- a/.shellcheckrc +++ b/.shellcheckrc @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # ShellCheck configuration for Authelia. # Default checks are enabled; require-variable-braces is opted in to # enforce the ${VAR} style repo-wide alongside them. diff --git a/.trufflehog b/.trufflehog index 314b47ba4..9008e6b96 100644 --- a/.trufflehog +++ b/.trufflehog @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + ^authelia$ ^.git\/ ^.claude\/ diff --git a/.typos.toml b/.typos.toml index a846c2109..3ae64d4e8 100644 --- a/.typos.toml +++ b/.typos.toml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + [default] locale = "en-us" diff --git a/.yamllint.yml b/.yamllint.yml index a7b8a4fc7..a22ec36c6 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- extends: default diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 73082aeee..46274f46c 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,9 @@ + + # Contributor Covenant Code of Conduct ## Our Pledge diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 18b6d9fd5..59cb5a83f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,9 @@ + + # Contributing Anybody willing to contribute to the project either with code, documentation, security reviews or whatever, are very diff --git a/Dockerfile b/Dockerfile index 3fcc7e779..ca504ac4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # =================================== # ===== Authelia official image ===== # =================================== diff --git a/Dockerfile.coverage b/Dockerfile.coverage index c618b398f..1ce06ebc6 100644 --- a/Dockerfile.coverage +++ b/Dockerfile.coverage @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # ======================================== # ===== Build image for the frontend ===== # ======================================== diff --git a/Dockerfile.coverage.dockerignore b/Dockerfile.coverage.dockerignore index adc5ecb16..cf7066e75 100644 --- a/Dockerfile.coverage.dockerignore +++ b/Dockerfile.coverage.dockerignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # CI/Git Directories coverage.txt Dockerfile* diff --git a/Dockerfile.dev b/Dockerfile.dev index cdc06d1bc..9e3f76ecf 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # ======================================== # ===== Build image for the frontend ===== # ======================================== diff --git a/Dockerfile.dev.dockerignore b/Dockerfile.dev.dockerignore index adc5ecb16..cf7066e75 100644 --- a/Dockerfile.dev.dockerignore +++ b/Dockerfile.dev.dockerignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # CI/Git Directories coverage.txt Dockerfile* diff --git a/README.md b/README.md index fa524ba22..80c7b5f2b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + +

diff --git a/SECURITY.md b/SECURITY.md index 7a9c2124e..f0f2d5d38 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,3 +1,9 @@ + + # Security Policy ## Prologue diff --git a/api/index.html b/api/index.html index 9421852c4..af0b760e0 100644 --- a/api/index.html +++ b/api/index.html @@ -1,3 +1,9 @@ + + diff --git a/api/openapi.yml b/api/openapi.yml index ef3ab19f4..4f735c551 100644 --- a/api/openapi.yml +++ b/api/openapi.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- openapi: 3.2.0 info: diff --git a/authelia-fb-rc.d b/authelia-fb-rc.d index d5e41c945..a67b22032 100644 --- a/authelia-fb-rc.d +++ b/authelia-fb-rc.d @@ -1,5 +1,9 @@ #!/bin/sh +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # PROVIDE: authelia # REQUIRE: DAEMON NETWORKING # KEYWORD: shutdown diff --git a/authelia.service b/authelia.service index fae497097..82eef4b78 100644 --- a/authelia.service +++ b/authelia.service @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + [Unit] Description=Authelia authentication and authorization server Documentation=https://www.authelia.com diff --git a/authelia.sysusers.conf b/authelia.sysusers.conf index 29303027a..fb15a1f4d 100644 --- a/authelia.sysusers.conf +++ b/authelia.sysusers.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + #Type Name ID GECOS Home directory Shell u! authelia - "Authelia Daemon User" /nonexistent m authelia redis diff --git a/authelia.tmpfiles.conf b/authelia.tmpfiles.conf index d6b62f77e..7e0c8383d 100644 --- a/authelia.tmpfiles.conf +++ b/authelia.tmpfiles.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + #Type Path Mode User Group Age Argument Z /etc/authelia/* 0640 authelia authelia - - e /etc/authelia 0755 authelia authelia - - diff --git a/authelia.tmpfiles.config.conf b/authelia.tmpfiles.config.conf index a068b4d41..73c2a488e 100644 --- a/authelia.tmpfiles.config.conf +++ b/authelia.tmpfiles.config.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + #Type Path Mode User Group Age Argument f /etc/authelia/configuration.yml 0440 authelia authelia - - Z /etc/authelia/configuration.*.yml 0440 authelia authelia - - diff --git a/authelia@.service b/authelia@.service index dd1ad7d9e..42ac24874 100644 --- a/authelia@.service +++ b/authelia@.service @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + [Unit] Description=Authelia authentication and authorization server Documentation=https://www.authelia.com diff --git a/bootstrap.sh b/bootstrap.sh index e4db40ebe..e25bd6fa4 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + export PATH=${PATH}:${PWD}/cmd/dev/:${PWD}/.buildkite/steps/:${GOPATH}/bin:${PWD}/web/node_modules/.bin:/tmp \ DOCKER_BUILDKIT=1 diff --git a/cmd/authelia-gen/cmd_adr.go b/cmd/authelia-gen/cmd_adr.go index 682e59a67..72b056ff2 100644 --- a/cmd/authelia-gen/cmd_adr.go +++ b/cmd/authelia-gen/cmd_adr.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_code.go b/cmd/authelia-gen/cmd_code.go index 979d85b52..4b3dda166 100644 --- a/cmd/authelia-gen/cmd_code.go +++ b/cmd/authelia-gen/cmd_code.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_commit_msg.go b/cmd/authelia-gen/cmd_commit_msg.go index 17336c7a8..30c5de743 100644 --- a/cmd/authelia-gen/cmd_commit_msg.go +++ b/cmd/authelia-gen/cmd_commit_msg.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_docs.go b/cmd/authelia-gen/cmd_docs.go index 0efac5e48..14cb179d8 100644 --- a/cmd/authelia-gen/cmd_docs.go +++ b/cmd/authelia-gen/cmd_docs.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_docs_cli.go b/cmd/authelia-gen/cmd_docs_cli.go index 8dd3b3352..56c129636 100644 --- a/cmd/authelia-gen/cmd_docs_cli.go +++ b/cmd/authelia-gen/cmd_docs_cli.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_docs_data.go b/cmd/authelia-gen/cmd_docs_data.go index 447fb9c5f..1edad2200 100644 --- a/cmd/authelia-gen/cmd_docs_data.go +++ b/cmd/authelia-gen/cmd_docs_data.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_docs_date.go b/cmd/authelia-gen/cmd_docs_date.go index 59f986154..bac2eeb99 100644 --- a/cmd/authelia-gen/cmd_docs_date.go +++ b/cmd/authelia-gen/cmd_docs_date.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_docs_jsonschema.go b/cmd/authelia-gen/cmd_docs_jsonschema.go index 48e6ca3a6..18fb4ebc2 100644 --- a/cmd/authelia-gen/cmd_docs_jsonschema.go +++ b/cmd/authelia-gen/cmd_docs_jsonschema.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_docs_seo.go b/cmd/authelia-gen/cmd_docs_seo.go index dc5fa548f..8af9bc206 100644 --- a/cmd/authelia-gen/cmd_docs_seo.go +++ b/cmd/authelia-gen/cmd_docs_seo.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_github.go b/cmd/authelia-gen/cmd_github.go index c757d1a91..bc281e2e4 100644 --- a/cmd/authelia-gen/cmd_github.go +++ b/cmd/authelia-gen/cmd_github.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_locales.go b/cmd/authelia-gen/cmd_locales.go index 8d9d4c6fb..6a8901432 100644 --- a/cmd/authelia-gen/cmd_locales.go +++ b/cmd/authelia-gen/cmd_locales.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_misc.go b/cmd/authelia-gen/cmd_misc.go index f71b27e6e..9ab637158 100644 --- a/cmd/authelia-gen/cmd_misc.go +++ b/cmd/authelia-gen/cmd_misc.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_misc_test.go b/cmd/authelia-gen/cmd_misc_test.go index 9816e1ea0..829f38655 100644 --- a/cmd/authelia-gen/cmd_misc_test.go +++ b/cmd/authelia-gen/cmd_misc_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_release.go b/cmd/authelia-gen/cmd_release.go index 69b9fb0b1..ad1b41544 100644 --- a/cmd/authelia-gen/cmd_release.go +++ b/cmd/authelia-gen/cmd_release.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_root.go b/cmd/authelia-gen/cmd_root.go index 8ea6a8e3c..627d5fce6 100644 --- a/cmd/authelia-gen/cmd_root.go +++ b/cmd/authelia-gen/cmd_root.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/cmd_root_test.go b/cmd/authelia-gen/cmd_root_test.go index 72b1f292e..ba812ccbf 100644 --- a/cmd/authelia-gen/cmd_root_test.go +++ b/cmd/authelia-gen/cmd_root_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/const.go b/cmd/authelia-gen/const.go index e213964c7..47177801a 100644 --- a/cmd/authelia-gen/const.go +++ b/cmd/authelia-gen/const.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main const ( diff --git a/cmd/authelia-gen/doc.go b/cmd/authelia-gen/doc.go index ac8bb3152..5dbaf0327 100644 --- a/cmd/authelia-gen/doc.go +++ b/cmd/authelia-gen/doc.go @@ -1,2 +1,6 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Command authelia-gen performs the code and documentation generation for the Authelia repository. package main diff --git a/cmd/authelia-gen/helpers.go b/cmd/authelia-gen/helpers.go index 941335dcd..e8d4cc2a8 100644 --- a/cmd/authelia-gen/helpers.go +++ b/cmd/authelia-gen/helpers.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/helpers_test.go b/cmd/authelia-gen/helpers_test.go index 24776c468..a6bd72315 100644 --- a/cmd/authelia-gen/helpers_test.go +++ b/cmd/authelia-gen/helpers_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/main.go b/cmd/authelia-gen/main.go index ffbdca170..579efec28 100644 --- a/cmd/authelia-gen/main.go +++ b/cmd/authelia-gen/main.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main func main() { diff --git a/cmd/authelia-gen/openid_conformance.go b/cmd/authelia-gen/openid_conformance.go index 494df97b8..207ee208c 100644 --- a/cmd/authelia-gen/openid_conformance.go +++ b/cmd/authelia-gen/openid_conformance.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/openid_conformance_test.go b/cmd/authelia-gen/openid_conformance_test.go index 730875179..f1b0dd4b4 100644 --- a/cmd/authelia-gen/openid_conformance_test.go +++ b/cmd/authelia-gen/openid_conformance_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/templates.go b/cmd/authelia-gen/templates.go index de07cf969..839aedc27 100644 --- a/cmd/authelia-gen/templates.go +++ b/cmd/authelia-gen/templates.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/templates/cmd-authelia-scripts-gen.go.tmpl b/cmd/authelia-gen/templates/cmd-authelia-scripts-gen.go.tmpl index 5955d5f7d..b420fd45e 100644 --- a/cmd/authelia-gen/templates/cmd-authelia-scripts-gen.go.tmpl +++ b/cmd/authelia-gen/templates/cmd-authelia-scripts-gen.go.tmpl @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by go generate. DO NOT EDIT. // // Run the following command to generate this file: diff --git a/cmd/authelia-gen/templates/docs-architectural_design_record.md.tmpl b/cmd/authelia-gen/templates/docs-architectural_design_record.md.tmpl index 8b75c67bb..f7004bdea 100644 --- a/cmd/authelia-gen/templates/docs-architectural_design_record.md.tmpl +++ b/cmd/authelia-gen/templates/docs-architectural_design_record.md.tmpl @@ -1,4 +1,8 @@ --- +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + title: "ADR{{ .ADR }}: {{ .Title }}" description: "An official Architecture Decision Record" date: {{ .Date }} diff --git a/cmd/authelia-gen/templates/docs-contributing-development-commitmsg.md.tmpl b/cmd/authelia-gen/templates/docs-contributing-development-commitmsg.md.tmpl index 999e0588a..ba33f0469 100644 --- a/cmd/authelia-gen/templates/docs-contributing-development-commitmsg.md.tmpl +++ b/cmd/authelia-gen/templates/docs-contributing-development-commitmsg.md.tmpl @@ -1,4 +1,8 @@ --- +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + title: "Commit Message" description: "Authelia Development Commit Message Guidelines" lead: "This section covers the git commit message guidelines we use for development." diff --git a/cmd/authelia-gen/templates/github_issue_template_bug_report.yml.tmpl b/cmd/authelia-gen/templates/github_issue_template_bug_report.yml.tmpl index 399c6f4b9..3b7c2f115 100644 --- a/cmd/authelia-gen/templates/github_issue_template_bug_report.yml.tmpl +++ b/cmd/authelia-gen/templates/github_issue_template_bug_report.yml.tmpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- name: 'Bug Report' description: 'Report a bug' diff --git a/cmd/authelia-gen/templates/github_issue_template_feature.yml.tmpl b/cmd/authelia-gen/templates/github_issue_template_feature.yml.tmpl index 26c1a9741..d669aed5a 100644 --- a/cmd/authelia-gen/templates/github_issue_template_feature.yml.tmpl +++ b/cmd/authelia-gen/templates/github_issue_template_feature.yml.tmpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- name: 'Feature Request' description: 'Submit a Feature Request' diff --git a/cmd/authelia-gen/templates/internal_configuration_schema_keys.go.tmpl b/cmd/authelia-gen/templates/internal_configuration_schema_keys.go.tmpl index ee8e73451..ade166e4d 100644 --- a/cmd/authelia-gen/templates/internal_configuration_schema_keys.go.tmpl +++ b/cmd/authelia-gen/templates/internal_configuration_schema_keys.go.tmpl @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by go generate. DO NOT EDIT. // // Run the following command to generate this file: diff --git a/cmd/authelia-gen/templates/server_gen.go.tmpl b/cmd/authelia-gen/templates/server_gen.go.tmpl index b1d96e86c..768fae0c1 100644 --- a/cmd/authelia-gen/templates/server_gen.go.tmpl +++ b/cmd/authelia-gen/templates/server_gen.go.tmpl @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by go generate. DO NOT EDIT. // // Run the following command to generate this file: diff --git a/cmd/authelia-gen/templates/web_i18n_index.ts.tmpl b/cmd/authelia-gen/templates/web_i18n_index.ts.tmpl index 8bd1db0b2..6448bcdd5 100644 --- a/cmd/authelia-gen/templates/web_i18n_index.ts.tmpl +++ b/cmd/authelia-gen/templates/web_i18n_index.ts.tmpl @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by go generate. DO NOT EDIT. // // To edit the template for this file open: diff --git a/cmd/authelia-gen/templates_test.go b/cmd/authelia-gen/templates_test.go index 4174570e0..1978ccf0f 100644 --- a/cmd/authelia-gen/templates_test.go +++ b/cmd/authelia-gen/templates_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/types.go b/cmd/authelia-gen/types.go index 835da4659..1b7c15f91 100644 --- a/cmd/authelia-gen/types.go +++ b/cmd/authelia-gen/types.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-gen/types_test.go b/cmd/authelia-gen/types_test.go index c3ee7aaf7..3009932e5 100644 --- a/cmd/authelia-gen/types_test.go +++ b/cmd/authelia-gen/types_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/cmd/authelia-scripts/cmd/bootstrap.go b/cmd/authelia-scripts/cmd/bootstrap.go index b535b28ac..8b18f8857 100644 --- a/cmd/authelia-scripts/cmd/bootstrap.go +++ b/cmd/authelia-scripts/cmd/bootstrap.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/build.go b/cmd/authelia-scripts/cmd/build.go index c1113fe03..c4d8f6453 100644 --- a/cmd/authelia-scripts/cmd/build.go +++ b/cmd/authelia-scripts/cmd/build.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/ci.go b/cmd/authelia-scripts/cmd/ci.go index 5a60b390d..cca8e499f 100644 --- a/cmd/authelia-scripts/cmd/ci.go +++ b/cmd/authelia-scripts/cmd/ci.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/clean.go b/cmd/authelia-scripts/cmd/clean.go index c86377640..6be6ddbc5 100644 --- a/cmd/authelia-scripts/cmd/clean.go +++ b/cmd/authelia-scripts/cmd/clean.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/const.go b/cmd/authelia-scripts/cmd/const.go index 372c24a49..13b3cf766 100644 --- a/cmd/authelia-scripts/cmd/const.go +++ b/cmd/authelia-scripts/cmd/const.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd // OutputDir the output directory where the built version of Authelia is located. diff --git a/cmd/authelia-scripts/cmd/doc.go b/cmd/authelia-scripts/cmd/doc.go index b0fff997a..f9714fd52 100644 --- a/cmd/authelia-scripts/cmd/doc.go +++ b/cmd/authelia-scripts/cmd/doc.go @@ -1,2 +1,6 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Package cmd implements the CLI commands provided by the authelia-scripts binary. package cmd diff --git a/cmd/authelia-scripts/cmd/docker.go b/cmd/authelia-scripts/cmd/docker.go index 764406f72..d5bc1bd29 100644 --- a/cmd/authelia-scripts/cmd/docker.go +++ b/cmd/authelia-scripts/cmd/docker.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/errors.go b/cmd/authelia-scripts/cmd/errors.go index f97fb2374..13364beb0 100644 --- a/cmd/authelia-scripts/cmd/errors.go +++ b/cmd/authelia-scripts/cmd/errors.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/externalsuites.go b/cmd/authelia-scripts/cmd/externalsuites.go index 5605352c1..2c0cae7b4 100644 --- a/cmd/authelia-scripts/cmd/externalsuites.go +++ b/cmd/authelia-scripts/cmd/externalsuites.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/gen.go b/cmd/authelia-scripts/cmd/gen.go index 05f6c1edc..4254a2913 100644 --- a/cmd/authelia-scripts/cmd/gen.go +++ b/cmd/authelia-scripts/cmd/gen.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by go generate. DO NOT EDIT. // // Run the following command to generate this file: diff --git a/cmd/authelia-scripts/cmd/helpers.go b/cmd/authelia-scripts/cmd/helpers.go index a215f5e16..bc5805044 100644 --- a/cmd/authelia-scripts/cmd/helpers.go +++ b/cmd/authelia-scripts/cmd/helpers.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/helpers_docker.go b/cmd/authelia-scripts/cmd/helpers_docker.go index e6d2b2e4d..517c1d1da 100644 --- a/cmd/authelia-scripts/cmd/helpers_docker.go +++ b/cmd/authelia-scripts/cmd/helpers_docker.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/helpers_results.go b/cmd/authelia-scripts/cmd/helpers_results.go index 9c36103d5..71fc6dee7 100644 --- a/cmd/authelia-scripts/cmd/helpers_results.go +++ b/cmd/authelia-scripts/cmd/helpers_results.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/helpers_results_test.go b/cmd/authelia-scripts/cmd/helpers_results_test.go index 526261aeb..fb521da4c 100644 --- a/cmd/authelia-scripts/cmd/helpers_results_test.go +++ b/cmd/authelia-scripts/cmd/helpers_results_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/log.go b/cmd/authelia-scripts/cmd/log.go index 8e1a535c1..9d854751c 100644 --- a/cmd/authelia-scripts/cmd/log.go +++ b/cmd/authelia-scripts/cmd/log.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/root.go b/cmd/authelia-scripts/cmd/root.go index 702123399..e1ee3e9ff 100644 --- a/cmd/authelia-scripts/cmd/root.go +++ b/cmd/authelia-scripts/cmd/root.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/serve.go b/cmd/authelia-scripts/cmd/serve.go index 393830ebc..231c0d4f7 100644 --- a/cmd/authelia-scripts/cmd/serve.go +++ b/cmd/authelia-scripts/cmd/serve.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/slot.go b/cmd/authelia-scripts/cmd/slot.go index a1f18e564..a4fecc27f 100644 --- a/cmd/authelia-scripts/cmd/slot.go +++ b/cmd/authelia-scripts/cmd/slot.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/slot_test.go b/cmd/authelia-scripts/cmd/slot_test.go index 09bcba7d4..6b7da9d06 100644 --- a/cmd/authelia-scripts/cmd/slot_test.go +++ b/cmd/authelia-scripts/cmd/slot_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/suites.go b/cmd/authelia-scripts/cmd/suites.go index b91b12853..3fcf77426 100644 --- a/cmd/authelia-scripts/cmd/suites.go +++ b/cmd/authelia-scripts/cmd/suites.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/types.go b/cmd/authelia-scripts/cmd/types.go index c31563a9a..fc118e9e9 100644 --- a/cmd/authelia-scripts/cmd/types.go +++ b/cmd/authelia-scripts/cmd/types.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/unittest.go b/cmd/authelia-scripts/cmd/unittest.go index 46be04046..ecc1b6204 100644 --- a/cmd/authelia-scripts/cmd/unittest.go +++ b/cmd/authelia-scripts/cmd/unittest.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/cmd/xflags.go b/cmd/authelia-scripts/cmd/xflags.go index f9f91f735..f40ad8e65 100644 --- a/cmd/authelia-scripts/cmd/xflags.go +++ b/cmd/authelia-scripts/cmd/xflags.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package cmd import ( diff --git a/cmd/authelia-scripts/main.go b/cmd/authelia-scripts/main.go index 6f3aa721d..f0cb22699 100644 --- a/cmd/authelia-scripts/main.go +++ b/cmd/authelia-scripts/main.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + //usr/bin/env go run "$0" "$@"; exit //nolint:gocritic diff --git a/cmd/authelia-suites/main.go b/cmd/authelia-suites/main.go index d3d2ce2c7..c1812b2ba 100644 --- a/cmd/authelia-suites/main.go +++ b/cmd/authelia-suites/main.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Command authelia-suites manages the environment of an integration suite. package main diff --git a/cmd/authelia/main.go b/cmd/authelia/main.go index fb2fda173..7b7a1db17 100644 --- a/cmd/authelia/main.go +++ b/cmd/authelia/main.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Command authelia is the Authelia daemon which provides authentication and authorization for your applications. package main diff --git a/crowdin.yml b/crowdin.yml index da43544d1..679f036c9 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- pull_request_title: 'i18n: update translations' commit_message: 'i18n: update translation for %original_file_name% (%language%)' diff --git a/entrypoint.sh b/entrypoint.sh index ddca7b269..5f155dfaa 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,9 @@ #!/bin/sh +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + [ -n "${UMASK}" ] && umask "${UMASK}" if [ -n "${1}" ] && [ "${1}" != "--config" ]; then diff --git a/examples/compose/lite/README.md b/examples/compose/lite/README.md index 40fa5d0c9..517894f23 100644 --- a/examples/compose/lite/README.md +++ b/examples/compose/lite/README.md @@ -1,3 +1,9 @@ + + # Usage Please see the documentation covering the [Bundles](https://www.authelia.com/integration/deployment/docker/#bundles) diff --git a/examples/compose/lite/authelia/configuration.yml b/examples/compose/lite/authelia/configuration.yml index 972d7d5e0..5787f469f 100644 --- a/examples/compose/lite/authelia/configuration.yml +++ b/examples/compose/lite/authelia/configuration.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- ############################################################### # Authelia configuration # diff --git a/examples/compose/lite/authelia/users_database.yml b/examples/compose/lite/authelia/users_database.yml index cb7064773..d96b26543 100644 --- a/examples/compose/lite/authelia/users_database.yml +++ b/examples/compose/lite/authelia/users_database.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- ############################################################### # Users Database # diff --git a/examples/compose/lite/compose.yml b/examples/compose/lite/compose.yml index d9d2150dd..86a707b17 100644 --- a/examples/compose/lite/compose.yml +++ b/examples/compose/lite/compose.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- networks: net: diff --git a/examples/compose/local/.gitignore b/examples/compose/local/.gitignore index 7c6ab3416..14d205b8c 100644 --- a/examples/compose/local/.gitignore +++ b/examples/compose/local/.gitignore @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + authelia/ traefik/ diff --git a/examples/compose/local/README.md b/examples/compose/local/README.md index 01713e241..5895d01b8 100644 --- a/examples/compose/local/README.md +++ b/examples/compose/local/README.md @@ -1,3 +1,9 @@ + + # Usage Please see the documentation covering the [Bundles](https://www.authelia.com/integration/deployment/docker/#bundles) diff --git a/examples/compose/local/authelia/configuration.yml b/examples/compose/local/authelia/configuration.yml index 6ed50b6d4..2324c51c8 100644 --- a/examples/compose/local/authelia/configuration.yml +++ b/examples/compose/local/authelia/configuration.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- ############################################################### # Authelia configuration # diff --git a/examples/compose/local/authelia/users_database.yml b/examples/compose/local/authelia/users_database.yml index 911385131..3c130eb9c 100644 --- a/examples/compose/local/authelia/users_database.yml +++ b/examples/compose/local/authelia/users_database.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- ############################################################### # Users Database # diff --git a/examples/compose/local/compose.yml b/examples/compose/local/compose.yml index 96ea879e4..d72761e1c 100644 --- a/examples/compose/local/compose.yml +++ b/examples/compose/local/compose.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + --- networks: net: diff --git a/examples/compose/local/setup.sh b/examples/compose/local/setup.sh index 7ce31590b..f2715a244 100755 --- a/examples/compose/local/setup.sh +++ b/examples/compose/local/setup.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + writehosts(){ sudo tee -a /etc/hosts > /dev/null < + # Notification Templates The following folder contains email templates as examples of what can be done with the email template system. See the diff --git a/examples/templates/notifications/html_email_with_button_and_link.html b/examples/templates/notifications/html_email_with_button_and_link.html index 920588d6d..bba2292e7 100644 --- a/examples/templates/notifications/html_email_with_button_and_link.html +++ b/examples/templates/notifications/html_email_with_button_and_link.html @@ -1,3 +1,9 @@ + + diff --git a/examples/templates/notifications/no-preview/Event.html b/examples/templates/notifications/no-preview/Event.html index b7d06c3b4..5c9a74415 100644 --- a/examples/templates/notifications/no-preview/Event.html +++ b/examples/templates/notifications/no-preview/Event.html @@ -1 +1,7 @@ + +

{{ .Title }}

Hi {{ .DisplayName }},

This notification has been sent to you in order to notify you that {{ .BodyPrefix }} {{ .BodyEvent }} {{ .BodySuffix }}


Event Details:

{{- $keys := sortAlpha (keys .Details) }}{{- range $key := $keys }}

{{ $key }}: {{ index $.Details $key }}

{{ end }}

This notification was intended for {{ .DisplayName }}. This event notification was generated due to an action from {{ .RemoteIP }}. If you do not believe that your actions could have triggered this event or if you are concerned about your account's safety, please change your password and reach out to an administrator.

Powered by Authelia

\ No newline at end of file diff --git a/examples/templates/notifications/no-preview/IdentityVerificationJWT.html b/examples/templates/notifications/no-preview/IdentityVerificationJWT.html index 456241f98..969435b2d 100644 --- a/examples/templates/notifications/no-preview/IdentityVerificationJWT.html +++ b/examples/templates/notifications/no-preview/IdentityVerificationJWT.html @@ -1 +1,7 @@ + +

A one-time link has been generated to complete a requested action

Hi {{ .DisplayName }},

We would like to confirm a requested action related to the security of your account at {{ .Domain }}

Do not share this notification or the content of this notification with anyone.


If you made this request, click the validation link below.

{{ .LinkText }}

Alternatively, copy and paste this URL into your browser:

{{ .LinkURL }}

If you did NOT initiate this request, your credentials may have been compromised and you should:

  1. Revoke the validation link using the provided links below
  2. Reset your password or other login credentials
  3. Contact an Administrator
{{ .RevocationLinkText }}

To revoke the code click the above button or alternatively copy and paste this URL into your browser:

{{ .RevocationLinkURL }}


This email was intended for {{ .DisplayName }}. This event was generated due to an action from {{ .RemoteIP }}. If you do not believe that your actions could have triggered this event or if you are concerned about your account's safety, please follow the explicit directions in this notification.

Powered by Authelia

\ No newline at end of file diff --git a/examples/templates/notifications/no-preview/IdentityVerificationOTC.html b/examples/templates/notifications/no-preview/IdentityVerificationOTC.html index b55c1fb59..0bca869d9 100644 --- a/examples/templates/notifications/no-preview/IdentityVerificationOTC.html +++ b/examples/templates/notifications/no-preview/IdentityVerificationOTC.html @@ -1 +1,7 @@ + +

A one-time code has been generated to complete a requested action

Hi {{ .DisplayName }},

This notification has been sent to you in order to verify your identity to change security details for your account at {{ .Domain }}.

Do not share this notification or the content of this notification with anyone.

The following one-time code should only be used in the prompt displayed in your browser.


{{ .OneTimeCode }}


If you did not initiate the process your credentials may have been compromised and you should:

  1. Revoke this code using the provided links below
  2. Reset your password or other login credentials
  3. Contact an Administrator
{{ .RevocationLinkText }}

To revoke the code click the above button or alternatively copy and paste this URL into your browser:

{{ .RevocationLinkURL }}


This notification was intended for {{ .DisplayName }}. This one-time code was generated due to an action from {{ .RemoteIP }}. If you do not believe that your actions could have triggered this event or if you are concerned about your account's safety, please follow the explicit directions in this notification.

Powered by Authelia

\ No newline at end of file diff --git a/examples/templates/notifications/no-preview/README.md b/examples/templates/notifications/no-preview/README.md index b36971457..361a63dd6 100644 --- a/examples/templates/notifications/no-preview/README.md +++ b/examples/templates/notifications/no-preview/README.md @@ -1,3 +1,9 @@ + + # Notification Templates The following folder contains email templates as examples of what can be done with the email template system. See the diff --git a/experimental/embed/config.go b/experimental/embed/config.go index 81d21463b..8a530bb32 100644 --- a/experimental/embed/config.go +++ b/experimental/embed/config.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package embed import ( diff --git a/experimental/embed/config_test.go b/experimental/embed/config_test.go index 99e409587..f59eeef44 100644 --- a/experimental/embed/config_test.go +++ b/experimental/embed/config_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package embed import ( diff --git a/experimental/embed/context.go b/experimental/embed/context.go index c7d69cbdc..89decc260 100644 --- a/experimental/embed/context.go +++ b/experimental/embed/context.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package embed import ( diff --git a/experimental/embed/context_test.go b/experimental/embed/context_test.go index cb5a2486e..e27e219ed 100644 --- a/experimental/embed/context_test.go +++ b/experimental/embed/context_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package embed import ( diff --git a/experimental/embed/doc.go b/experimental/embed/doc.go index 9e9d4d09b..ea857e519 100644 --- a/experimental/embed/doc.go +++ b/experimental/embed/doc.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Package embed provides tooling useful to embed Authelia into an external go process. This package is considered // experimental and as such is not supported by the standard versioning policy. It's strongly recommended that care is // taken when integrating with this package and appropriate tests are conducted when upgrading. diff --git a/experimental/embed/embed.go b/experimental/embed/embed.go index ff5b5c7ea..c3a246905 100644 --- a/experimental/embed/embed.go +++ b/experimental/embed/embed.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package embed import ( diff --git a/experimental/embed/embed_test.go b/experimental/embed/embed_test.go index c20e2cb77..9cbeec8e9 100644 --- a/experimental/embed/embed_test.go +++ b/experimental/embed/embed_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package embed import ( diff --git a/experimental/embed/provider/authentication.go b/experimental/embed/provider/authentication.go index 3903e6c1c..d681deaa6 100644 --- a/experimental/embed/provider/authentication.go +++ b/experimental/embed/provider/authentication.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package provider import ( diff --git a/experimental/embed/provider/doc.go b/experimental/embed/provider/doc.go index 328025a72..62afdf646 100644 --- a/experimental/embed/provider/doc.go +++ b/experimental/embed/provider/doc.go @@ -1,2 +1,6 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Package provider provides the constructors used to individually build the Authelia providers when embedding. package provider diff --git a/experimental/embed/provider/general.go b/experimental/embed/provider/general.go index b5c5af57d..379445476 100644 --- a/experimental/embed/provider/general.go +++ b/experimental/embed/provider/general.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package provider import ( diff --git a/experimental/embed/provider/notification.go b/experimental/embed/provider/notification.go index a566cd20d..f4d7fe83f 100644 --- a/experimental/embed/provider/notification.go +++ b/experimental/embed/provider/notification.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package provider import ( diff --git a/experimental/embed/provider/storage.go b/experimental/embed/provider/storage.go index d305de7b6..b4182cc82 100644 --- a/experimental/embed/provider/storage.go +++ b/experimental/embed/provider/storage.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package provider import ( diff --git a/experimental/embed/types.go b/experimental/embed/types.go index bd048206e..7790bbf37 100644 --- a/experimental/embed/types.go +++ b/experimental/embed/types.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package embed import ( diff --git a/experimental/embed/types_test.go b/experimental/embed/types_test.go index 3a93ce183..42fe38980 100644 --- a/experimental/embed/types_test.go +++ b/experimental/embed/types_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + package embed import ( diff --git a/go.mod b/go.mod index a96e8d251..69f9b45df 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + module github.com/authelia/authelia/v4 go 1.26.0 diff --git a/go.sum.license b/go.sum.license new file mode 100644 index 000000000..bdbfff411 --- /dev/null +++ b/go.sum.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2026 Authelia + +SPDX-License-Identifier: Apache-2.0 diff --git a/healthcheck.sh b/healthcheck.sh index c1d60935c..259323dd6 100755 --- a/healthcheck.sh +++ b/healthcheck.sh @@ -1,5 +1,9 @@ #!/bin/sh +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + # shellcheck source=/dev/null . /app/.healthcheck.env diff --git a/osv-scanner.toml b/osv-scanner.toml index 0340a92e4..02d3b455e 100644 --- a/osv-scanner.toml +++ b/osv-scanner.toml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 Authelia +# +# SPDX-License-Identifier: Apache-2.0 + [[IgnoredVulns]] id = "GO-2026-5932" reason = "Package golang.org/x/crypto/openpgp is not imported or utilized" diff --git a/web/src/i18n/index.ts b/web/src/i18n/index.ts index 43259db51..da5602551 100644 --- a/web/src/i18n/index.ts +++ b/web/src/i18n/index.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2026 Authelia +// +// SPDX-License-Identifier: Apache-2.0 + // Code generated by go generate. DO NOT EDIT. // // To edit the template for this file open: