Compare commits
299 Commits
fix-pp-lay
...
master
Author | SHA1 | Date |
---|---|---|
Jonas Letzbor | dd673e0e82 | |
Jonas Letzbor | e9a383be0c | |
Jonas Letzbor | c13e0e12ea | |
renovate[bot] | 2128969afc | |
renovate[bot] | bb1e853b9f | |
renovate[bot] | 0a92f13f15 | |
renovate[bot] | 6af53a66dd | |
renovate[bot] | fb68177b23 | |
renovate[bot] | 035070414b | |
renovate[bot] | 2671151cae | |
renovate[bot] | 41e9c51245 | |
renovate[bot] | 360b672387 | |
renovate[bot] | 0f9a8994c2 | |
renovate[bot] | 231c34ae08 | |
renovate[bot] | 977d490d5e | |
renovate[bot] | 38723ec5c4 | |
James Elliott | 4c328e237d | |
renovate[bot] | aca740fdb7 | |
renovate[bot] | 0f5fae8646 | |
James Elliott | f79db588be | |
James Elliott | 68ac62acab | |
renovate[bot] | ecf742aa33 | |
renovate[bot] | ec4557b3db | |
renovate[bot] | 1d2899f665 | |
renovate[bot] | 31fd903e4d | |
renovate[bot] | 7ffb40042f | |
renovate[bot] | 89ee0690f8 | |
renovate[bot] | 3faeb75d65 | |
renovate[bot] | ec03cf567f | |
renovate[bot] | 026fe9fdbe | |
renovate[bot] | af538b793b | |
renovate[bot] | f09594f6d6 | |
renovate[bot] | 48f208b717 | |
renovate[bot] | f05db093be | |
renovate[bot] | ea1196f3f2 | |
renovate[bot] | e662fa2092 | |
renovate[bot] | 5144d5d615 | |
renovate[bot] | a6f1d10559 | |
renovate[bot] | fb665d0a5a | |
renovate[bot] | bbfd3d4467 | |
renovate[bot] | 17148b08e7 | |
renovate[bot] | a6ff56f364 | |
renovate[bot] | 276f11fda0 | |
renovate[bot] | 7be23820c3 | |
renovate[bot] | 42678e264f | |
James Elliott | 4adefd3ef6 | |
renovate[bot] | 19de724937 | |
renovate[bot] | 2ab69f7070 | |
renovate[bot] | 12aa3a8dff | |
renovate[bot] | b81ef53c7e | |
renovate[bot] | 899d58b827 | |
renovate[bot] | 8316cd4eb7 | |
renovate[bot] | d29a676de9 | |
renovate[bot] | 447356290b | |
renovate[bot] | 4a308ea42b | |
renovate[bot] | 6e7061092c | |
renovate[bot] | 878fd6b169 | |
renovate[bot] | 0036cc877a | |
renovate[bot] | eaa4fb5fb7 | |
renovate[bot] | 3028dff838 | |
renovate[bot] | ea7afc8cea | |
renovate[bot] | 0a8c1d4606 | |
renovate[bot] | 6d9ce70e9e | |
renovate[bot] | c57a05b134 | |
renovate[bot] | e385828e59 | |
renovate[bot] | 0a3aace653 | |
James Elliott | 4c98da0d29 | |
renovate[bot] | 8a24d422c1 | |
renovate[bot] | 34172de338 | |
renovate[bot] | a2075b4823 | |
renovate[bot] | 85ebc37411 | |
renovate[bot] | c11e44aa17 | |
renovate[bot] | 3dc258943f | |
James Elliott | 0e6adebc49 | |
James Elliott | 4577fce95b | |
James Elliott | f90c369b45 | |
renovate[bot] | 8c655678cc | |
James Elliott | 5e9d8d6c71 | |
renovate[bot] | f1861a72a1 | |
James Elliott | 32c68804e0 | |
renovate[bot] | dd7fea68f5 | |
renovate[bot] | aec338574c | |
renovate[bot] | 7215628515 | |
James Elliott | 17db704f4d | |
James Elliott | fbbeef3ae8 | |
James Elliott | f1b3fc7b31 | |
renovate[bot] | 1f2672e379 | |
renovate[bot] | aa00fc6486 | |
James Elliott | 2e8a460a66 | |
James Elliott | e784a72735 | |
renovate[bot] | b1109203ab | |
James Elliott | f724818c44 | |
renovate[bot] | 3131aa77d4 | |
renovate[bot] | e6f075aa24 | |
renovate[bot] | 1f475f95cf | |
James Elliott | 0a2d849cda | |
James Elliott | 65f69aeb4e | |
James Elliott | 1b7c99ec0b | |
renovate[bot] | 179dc770cc | |
renovate[bot] | 18f068fd83 | |
renovate[bot] | ff9f5a7cdd | |
renovate[bot] | 00788e8e68 | |
James Elliott | 83c4cb8a94 | |
renovate[bot] | 90c0bce3a4 | |
renovate[bot] | 7840c8a5a0 | |
renovate[bot] | ee7022c06a | |
renovate[bot] | ca4ae80101 | |
renovate[bot] | 88bad696a8 | |
renovate[bot] | d7e3d9c2ad | |
renovate[bot] | 850bfce52f | |
renovate[bot] | 14cb4202dc | |
renovate[bot] | 55757c6226 | |
renovate[bot] | ccd1a66f96 | |
renovate[bot] | 5ce36d37cd | |
renovate[bot] | 046a77b895 | |
renovate[bot] | f1d30fa175 | |
renovate[bot] | 7c38c22702 | |
renovate[bot] | 089082f295 | |
renovate[bot] | d2ae27220e | |
renovate[bot] | 7eee5fd06b | |
renovate[bot] | b1df0529e9 | |
renovate[bot] | 987d677576 | |
renovate[bot] | 27e5ba2858 | |
renovate[bot] | f3c5e84e92 | |
renovate[bot] | a60c520d1e | |
renovate[bot] | d410a92ef1 | |
James Elliott | 65ecfe4b9a | |
James Elliott | cef374cdc1 | |
James Elliott | 1dbfbc5f88 | |
renovate[bot] | c729d33da6 | |
renovate[bot] | 26dd3f4995 | |
James Elliott | e37f19c170 | |
renovate[bot] | 14084e1ae1 | |
renovate[bot] | ca1d36a214 | |
renovate[bot] | eda5574b9d | |
renovate[bot] | 1d99e42436 | |
renovate[bot] | 94b8b05fe3 | |
renovate[bot] | 7dcab4b9fb | |
renovate[bot] | 62a9f917c1 | |
renovate[bot] | 4abfc91cb6 | |
renovate[bot] | ea25cc2231 | |
renovate[bot] | 70df11be16 | |
renovate[bot] | 73334fbb2b | |
James Elliott | 53c5994a03 | |
James Elliott | 6c472d8627 | |
renovate[bot] | 3a752f5ac9 | |
renovate[bot] | a7e190f3e0 | |
renovate[bot] | 104b784122 | |
James Elliott | 4700133682 | |
James Elliott | 83cd09db79 | |
James Elliott | 998ffe5255 | |
James Elliott | 41afaa5cc2 | |
James Elliott | d77bd901da | |
James Elliott | a0deacff55 | |
James Elliott | 713f8e9ab7 | |
James Elliott | 3abad065a3 | |
James Elliott | 2116422b79 | |
James Elliott | b219a85e12 | |
James Elliott | fb5c285c25 | |
James Elliott | 90d190121d | |
renovate[bot] | 358d5332f7 | |
renovate[bot] | 809940c6e5 | |
renovate[bot] | 99398e796b | |
James Elliott | 73861ff17a | |
renovate[bot] | 4c454ebc49 | |
renovate[bot] | 60cb20906c | |
renovate[bot] | c303cbe7ed | |
renovate[bot] | 7ca95eebe8 | |
renovate[bot] | 607bb01560 | |
renovate[bot] | e5e8314832 | |
James Elliott | 7785a33ade | |
James Elliott | 65bad99569 | |
renovate[bot] | a69e4ba3d6 | |
renovate[bot] | c867bbec63 | |
renovate[bot] | 5eee13a04e | |
renovate[bot] | 96d14c5f53 | |
renovate[bot] | cf63e52030 | |
renovate[bot] | 311c71dbfb | |
renovate[bot] | 089c2c8224 | |
renovate[bot] | 45f02ae878 | |
renovate[bot] | f39a153b3d | |
James Elliott | 4ba1b6465a | |
renovate[bot] | 495cc912c2 | |
renovate[bot] | 081209bdbf | |
renovate[bot] | fa7fd89a46 | |
renovate[bot] | 45a754d063 | |
renovate[bot] | 43e624e35a | |
renovate[bot] | b3a48f72f9 | |
renovate[bot] | 522bc16cb0 | |
James Elliott | 6d48e4cd51 | |
renovate[bot] | ede5623485 | |
Amir Zarrinkafsh | 6b04fe2652 | |
renovate[bot] | 0845c2e3ad | |
renovate[bot] | d65f493b7e | |
renovate[bot] | 20f9b886a8 | |
renovate[bot] | c46709eb08 | |
renovate[bot] | 518c0dbb18 | |
renovate[bot] | 3770914e06 | |
renovate[bot] | 21d20374d3 | |
renovate[bot] | 40c793aad7 | |
renovate[bot] | 7e91975b0b | |
renovate[bot] | d105988419 | |
renovate[bot] | ad3481e3d6 | |
James Elliott | 871cd8701d | |
James Elliott | 54bee80baf | |
James Elliott | 1903979d52 | |
James Elliott | 7d6a74ceec | |
James Elliott | 9006ff6979 | |
James Elliott | eaddb57c27 | |
Dennis Gaida | 63d2de7604 | |
James Elliott | 908ca811e6 | |
James Elliott | 71a01b9945 | |
renovate[bot] | 0988698e40 | |
James Elliott | 9537ad6813 | |
James Elliott | 34ec813370 | |
Dennis Gaida | c3cc4061b8 | |
renovate[bot] | 15940cd949 | |
renovate[bot] | f141b04e07 | |
renovate[bot] | 904a62204a | |
renovate[bot] | 9cd414d454 | |
renovate[bot] | 83b1252e9f | |
renovate[bot] | cb76068883 | |
renovate[bot] | d78c490649 | |
renovate[bot] | 04b340350a | |
renovate[bot] | 8ce111a8fb | |
allcontributors[bot] | 7f6c95e4d6 | |
Harold | f08cf83be4 | |
renovate[bot] | c1ad9990c5 | |
renovate[bot] | b512396de3 | |
renovate[bot] | ac6be38900 | |
renovate[bot] | dd1becfcb0 | |
renovate[bot] | 5b0740aa06 | |
renovate[bot] | 0bc5c92f01 | |
James Elliott | c772ec26b1 | |
James Elliott | b11353bbe8 | |
James Elliott | 456ba9947b | |
renovate[bot] | e834bd875c | |
renovate[bot] | 0b67620248 | |
renovate[bot] | 1b43ab19d1 | |
renovate[bot] | 2213540738 | |
renovate[bot] | 274afc1a73 | |
renovate[bot] | 68e9e57dfd | |
renovate[bot] | 919bec6c53 | |
renovate[bot] | 1c64e7731a | |
renovate[bot] | 9f4e5bc686 | |
renovate[bot] | 3407ad8f90 | |
renovate[bot] | 5090517296 | |
James Elliott | 8f2cef5ab2 | |
Dennis Gaida | 1ba134fd60 | |
Nicolas Znamenski | 0ec58d772a | |
renovate[bot] | 4da5249b46 | |
renovate[bot] | 68c76ccf4d | |
renovate[bot] | ae8d25f4be | |
renovate[bot] | 51fe65cd02 | |
renovate[bot] | 72ab2e690e | |
renovate[bot] | 7435dceb88 | |
renovate[bot] | cd8d42fe1c | |
renovate[bot] | 228b0fa24e | |
renovate[bot] | e138c530d3 | |
renovate[bot] | 5b8d295d60 | |
renovate[bot] | 3f76aa1583 | |
renovate[bot] | ce580df998 | |
renovate[bot] | fd8e69b40b | |
renovate[bot] | cbd132a989 | |
renovate[bot] | f476e35645 | |
renovate[bot] | 1ed3757395 | |
James Elliott | 033d3c0408 | |
renovate[bot] | 4050bb6a64 | |
renovate[bot] | e38b2d87ee | |
James Elliott | 616fa3c48d | |
renovate[bot] | 1ed79b575e | |
renovate[bot] | 3f358aed24 | |
renovate[bot] | 4e1f6819fa | |
renovate[bot] | e25ee96ab5 | |
renovate[bot] | 057bc5d295 | |
James Elliott | 9917e3290a | |
renovate[bot] | 8638cd1928 | |
renovate[bot] | 9e5c6ec16a | |
renovate[bot] | 417a32a282 | |
James Elliott | 4db965e19f | |
James Elliott | 9e8db3c3f3 | |
James Elliott | 11eafba079 | |
James Elliott | 773387291a | |
James Elliott | eaddf11df6 | |
James Elliott | d2cdbb23f3 | |
James Elliott | 370585d1de | |
James Elliott | 2733fc040c | |
renovate[bot] | 37a49b21af | |
renovate[bot] | 6dea830854 | |
renovate[bot] | 5a9603f372 | |
renovate[bot] | e1e369bc55 | |
James Elliott | a179775f6f | |
James Elliott | 0f4f5d5848 | |
renovate[bot] | 81de035874 | |
renovate[bot] | 5bbac7f7b3 | |
renovate[bot] | f1a20a2469 | |
renovate[bot] | 0e71793814 | |
Manuel Nuñez | 56c10eab76 | |
James Elliott | 3d2da0b070 |
|
@ -916,6 +916,15 @@
|
||||||
"contributions": [
|
"contributions": [
|
||||||
"security"
|
"security"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "HaroldVB",
|
||||||
|
"name": "Harold",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/73724671?v=4",
|
||||||
|
"profile": "https://github.com/HaroldVB",
|
||||||
|
"contributions": [
|
||||||
|
"doc"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"contributorsPerLine": 7
|
"contributorsPerLine": 7
|
||||||
|
|
|
@ -6,9 +6,9 @@ DIVERGED=$(git merge-base --fork-point origin/master > /dev/null; echo $?)
|
||||||
if [[ "${DIVERGED}" == 0 ]]; then
|
if [[ "${DIVERGED}" == 0 ]]; then
|
||||||
if [[ "${BUILDKITE_TAG}" == "" ]]; then
|
if [[ "${BUILDKITE_TAG}" == "" ]]; then
|
||||||
if [[ "${BUILDKITE_BRANCH}" == "master" ]]; then
|
if [[ "${BUILDKITE_BRANCH}" == "master" ]]; then
|
||||||
CI_BYPASS=$(git diff --name-only HEAD~1 | sed -rn '/^(CODE_OF_CONDUCT\.md|CONTRIBUTING\.md|README\.md|SECURITY\.md|crowdin\.yml|\.all-contributorsrc|\.editorconfig|\.github\/.*|docs\/.*|examples\/.*)/!{q1}' && echo true || echo false)
|
CI_BYPASS=$(git diff --name-only HEAD~1 | sed -rn '/^(CODE_OF_CONDUCT\.md|CONTRIBUTING\.md|README\.md|SECURITY\.md|crowdin\.yml|\.all-contributorsrc|\.editorconfig|\.github\/.*|docs\/.*|cmd\/authelia-gen\/templates\/.*|examples\/.*)/!{q1}' && echo true || echo false)
|
||||||
else
|
else
|
||||||
CI_BYPASS=$(git diff --name-only `git merge-base --fork-point origin/master` | sed -rn '/^(CODE_OF_CONDUCT\.md|CONTRIBUTING\.md|README\.md|SECURITY\.md|crowdin\.yml|\.all-contributorsrc|\.editorconfig|\.github\/.*|docs\/.*|examples\/.*)/!{q1}' && echo true || echo false)
|
CI_BYPASS=$(git diff --name-only `git merge-base --fork-point origin/master` | sed -rn '/^(CODE_OF_CONDUCT\.md|CONTRIBUTING\.md|README\.md|SECURITY\.md|crowdin\.yml|\.all-contributorsrc|\.editorconfig|\.github\/.*|docs\/.*|cmd\/authelia-gen\/templates\/.*|examples\/.*)/!{q1}' && echo true || echo false)
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
CI_BYPASS="false"
|
CI_BYPASS="false"
|
||||||
|
|
|
@ -9,12 +9,12 @@ if [[ "${DIVERGED}" == 0 ]]; then
|
||||||
BUILD_DUO=$(git diff --name-only HEAD~1 | grep -q ^internal/suites/example/compose/duo-api/Dockerfile && echo true || echo false)
|
BUILD_DUO=$(git diff --name-only HEAD~1 | grep -q ^internal/suites/example/compose/duo-api/Dockerfile && echo true || echo false)
|
||||||
BUILD_HAPROXY=$(git diff --name-only HEAD~1 | grep -q ^internal/suites/example/compose/haproxy/Dockerfile && echo true || echo false)
|
BUILD_HAPROXY=$(git diff --name-only HEAD~1 | grep -q ^internal/suites/example/compose/haproxy/Dockerfile && echo true || echo false)
|
||||||
BUILD_SAMBA=$(git diff --name-only HEAD~1 | grep -q ^internal/suites/example/compose/samba/Dockerfile && echo true || echo false)
|
BUILD_SAMBA=$(git diff --name-only HEAD~1 | grep -q ^internal/suites/example/compose/samba/Dockerfile && echo true || echo false)
|
||||||
CI_BYPASS=$(git diff --name-only HEAD~1 | sed -rn '/^(CODE_OF_CONDUCT\.md|CONTRIBUTING\.md|README\.md|SECURITY\.md|crowdin\.yml|\.all-contributorsrc|\.editorconfig|\.github\/.*|docs\/.*|examples\/.*)/!{q1}' && echo true || echo false)
|
CI_BYPASS=$(git diff --name-only HEAD~1 | sed -rn '/^(CODE_OF_CONDUCT\.md|CONTRIBUTING\.md|README\.md|SECURITY\.md|crowdin\.yml|\.all-contributorsrc|\.editorconfig|\.github\/.*|docs\/.*|cmd\/authelia-gen\/templates\/.*|examples\/.*)/!{q1}' && echo true || echo false)
|
||||||
else
|
else
|
||||||
BUILD_DUO=$(git diff --name-only `git merge-base --fork-point origin/master` | grep -q ^internal/suites/example/compose/duo-api/Dockerfile && echo true || echo false)
|
BUILD_DUO=$(git diff --name-only `git merge-base --fork-point origin/master` | grep -q ^internal/suites/example/compose/duo-api/Dockerfile && echo true || echo false)
|
||||||
BUILD_HAPROXY=$(git diff --name-only `git merge-base --fork-point origin/master` | grep -q ^internal/suites/example/compose/haproxy/Dockerfile && echo true || echo false)
|
BUILD_HAPROXY=$(git diff --name-only `git merge-base --fork-point origin/master` | grep -q ^internal/suites/example/compose/haproxy/Dockerfile && echo true || echo false)
|
||||||
BUILD_SAMBA=$(git diff --name-only `git merge-base --fork-point origin/master` | grep -q ^internal/suites/example/compose/samba/Dockerfile && echo true || echo false)
|
BUILD_SAMBA=$(git diff --name-only `git merge-base --fork-point origin/master` | grep -q ^internal/suites/example/compose/samba/Dockerfile && echo true || echo false)
|
||||||
CI_BYPASS=$(git diff --name-only `git merge-base --fork-point origin/master` | sed -rn '/^(CODE_OF_CONDUCT\.md|CONTRIBUTING\.md|README\.md|SECURITY\.md|crowdin\.yml|\.all-contributorsrc|\.editorconfig|\.github\/.*|docs\/.*|examples\/.*)/!{q1}' && echo true || echo false)
|
CI_BYPASS=$(git diff --name-only `git merge-base --fork-point origin/master` | sed -rn '/^(CODE_OF_CONDUCT\.md|CONTRIBUTING\.md|README\.md|SECURITY\.md|crowdin\.yml|\.all-contributorsrc|\.editorconfig|\.github\/.*|docs\/.*|cmd\/authelia-gen\/templates\/.*|examples\/.*)/!{q1}' && echo true || echo false)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${CI_BYPASS}" == "true" ]]; then
|
if [[ "${CI_BYPASS}" == "true" ]]; then
|
||||||
|
|
|
@ -7,3 +7,4 @@
|
||||||
!entrypoint.sh
|
!entrypoint.sh
|
||||||
!healthcheck.sh
|
!healthcheck.sh
|
||||||
!.healthcheck.env
|
!.healthcheck.env
|
||||||
|
!dist/public_html/
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||||
# patreon: # Replace with a single Patreon username
|
# patreon: # Replace with a single Patreon username
|
||||||
open_collective: authelia-sponsors
|
open_collective: 'authelia-sponsors'
|
||||||
# ko_fi: # Replace with a single Ko-fi username
|
# ko_fi: # Replace with a single Ko-fi username
|
||||||
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||||
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
name: Bug Report
|
name: 'Bug Report'
|
||||||
description: Report a bug
|
description: 'Report a bug'
|
||||||
labels:
|
labels:
|
||||||
- type/bug/unconfirmed
|
- 'type/bug/unconfirmed'
|
||||||
- status/needs-triage
|
- 'status/needs-triage'
|
||||||
- priority/4/normal
|
- 'priority/4/normal'
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: 'markdown'
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for taking the time to fill out this bug report. If you are unsure if this is actually a bug and you still need some form of support we generally recommend creating a [Question and Answer Discussion](https://github.com/authelia/authelia/discussions/new?category=q-a) first.
|
Thanks for taking the time to fill out this bug report. If you are unsure if this is actually a bug and you still need some form of support we generally recommend creating a [Question and Answer Discussion](https://github.com/authelia/authelia/discussions/new?category=q-a) first.
|
||||||
|
@ -17,161 +17,198 @@ body:
|
||||||
2. Please try to give as much information as possible for us to be able to reproduce the issue and provide a quick fix.
|
2. Please try to give as much information as possible for us to be able to reproduce the issue and provide a quick fix.
|
||||||
3. Please ensure an issue does not already exist for this potential bug.
|
3. Please ensure an issue does not already exist for this potential bug.
|
||||||
4. Please only provide specific versions. Latest is not a version.
|
4. Please only provide specific versions. Latest is not a version.
|
||||||
5. Please read the [Troubleshooting Sanitization](https://www.authelia.com/r/sanitize) reference guide if you plan on sanitizing, removing, or adjusting any values for the logs or configuration files.
|
5. Please only report bugs with Authelia itself. Issues which match one of the following criteria should not be reported here but should be a [discussion](https://github.com/authelia/authelia/discussions/new/choose) instead:
|
||||||
6. Please consider including a [HTTP Archive File](https://www.authelia.com/r/har) if you're having redirection issues.
|
- Bugs with third-party software.
|
||||||
- type: dropdown
|
- Mistakes in the documentation.
|
||||||
id: version
|
- Potential bugs where it is not somewhat clear that it's a bug with Authelia itself.
|
||||||
|
6. Please read the [Troubleshooting](https://www.authelia.com/r/troubleshooting) reference guide:
|
||||||
|
- Do not truncate any logs unless you are complying with the specific instructions in the [Logs](https://www.authelia.com/r/troubleshooting#logs) section.
|
||||||
|
- If you plan on sanitizing, removing, or adjusting any values for the logs or configuration files please read the [Sanitization](https://www.authelia.com/r/troubleshooting#sanitization) section.
|
||||||
|
7. Please consider including a [HTTP Archive File](https://www.authelia.com/r/har) if you're having redirection issues.
|
||||||
|
- type: 'dropdown'
|
||||||
|
id: 'version'
|
||||||
attributes:
|
attributes:
|
||||||
label: Version
|
label: |
|
||||||
description: What version(s) of Authelia can you reproduce this bug on?
|
Version
|
||||||
|
description: |
|
||||||
|
What version(s) of Authelia can you reproduce this bug on?
|
||||||
multiple: true
|
multiple: true
|
||||||
options:
|
options:
|
||||||
- v4.37.5
|
- 'v4.37.5'
|
||||||
- v4.37.4
|
- 'v4.37.4'
|
||||||
- v4.37.3
|
- 'v4.37.3'
|
||||||
- v4.37.2
|
- 'v4.37.2'
|
||||||
- v4.37.1
|
- 'v4.37.1'
|
||||||
- v4.37.0
|
- 'v4.37.0'
|
||||||
- v4.36.9
|
- 'v4.36.9'
|
||||||
- v4.36.8
|
- 'v4.36.8'
|
||||||
- v4.36.7
|
- 'v4.36.7'
|
||||||
- v4.36.6
|
- 'v4.36.6'
|
||||||
- v4.36.5
|
- 'v4.36.5'
|
||||||
- v4.36.4
|
- 'v4.36.4'
|
||||||
- v4.36.3
|
- 'v4.36.3'
|
||||||
- v4.36.2
|
- 'v4.36.2'
|
||||||
- v4.36.1
|
- 'v4.36.1'
|
||||||
- v4.36.0
|
- 'v4.36.0'
|
||||||
- v4.35.6
|
- 'v4.35.6'
|
||||||
- v4.35.5
|
- 'v4.35.5'
|
||||||
- v4.35.4
|
- 'v4.35.4'
|
||||||
- v4.35.3
|
- 'v4.35.3'
|
||||||
- v4.35.2
|
- 'v4.35.2'
|
||||||
- v4.35.1
|
- 'v4.35.1'
|
||||||
- v4.35.0
|
- 'v4.35.0'
|
||||||
- v4.34.6
|
- 'v4.34.6'
|
||||||
- v4.34.5
|
- 'v4.34.5'
|
||||||
- v4.34.4
|
- 'v4.34.4'
|
||||||
- v4.34.3
|
- 'v4.34.3'
|
||||||
- v4.34.2
|
- 'v4.34.2'
|
||||||
- v4.34.1
|
- 'v4.34.1'
|
||||||
- v4.34.0
|
- 'v4.34.0'
|
||||||
- v4.33.2
|
- 'v4.33.2'
|
||||||
- v4.33.1
|
- 'v4.33.1'
|
||||||
- v4.33.0
|
- 'v4.33.0'
|
||||||
- v4.32.2
|
- 'v4.32.2'
|
||||||
- v4.32.1
|
- 'v4.32.1'
|
||||||
- v4.32.0
|
- 'v4.32.0'
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: dropdown
|
- type: 'dropdown'
|
||||||
id: deployment
|
id: 'deployment'
|
||||||
attributes:
|
attributes:
|
||||||
label: Deployment Method
|
label: |
|
||||||
description: How are you deploying Authelia?
|
Deployment Method
|
||||||
options:
|
|
||||||
- Docker
|
|
||||||
- Kubernetes
|
|
||||||
- Bare-metal
|
|
||||||
- Other
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: dropdown
|
|
||||||
id: proxy
|
|
||||||
attributes:
|
|
||||||
label: Reverse Proxy
|
|
||||||
description: What reverse proxy are you using?
|
|
||||||
options:
|
|
||||||
- Caddy
|
|
||||||
- Traefik
|
|
||||||
- Envoy
|
|
||||||
- Istio
|
|
||||||
- NGINX
|
|
||||||
- SWAG
|
|
||||||
- NGINX Proxy Manager
|
|
||||||
- HAProxy
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: input
|
|
||||||
id: proxy-version
|
|
||||||
attributes:
|
|
||||||
label: Reverse Proxy Version
|
|
||||||
description: What is the version of your reverse proxy?
|
|
||||||
placeholder: x.x.x
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: textarea
|
|
||||||
id: description
|
|
||||||
attributes:
|
|
||||||
label: Description
|
|
||||||
description: Describe the bug
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: reproduction
|
|
||||||
attributes:
|
|
||||||
label: Reproduction
|
|
||||||
description: Describe how we can reproduce this issue
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: expectations
|
|
||||||
attributes:
|
|
||||||
label: Expectations
|
|
||||||
description: Describe the desired or expected results
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: textarea
|
|
||||||
id: configuration
|
|
||||||
attributes:
|
|
||||||
label: Configuration (Authelia)
|
|
||||||
description: Provide a complete configuration file (the template will automatically put this content in a code block)
|
|
||||||
render: yaml
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: textarea
|
|
||||||
id: logs
|
|
||||||
attributes:
|
|
||||||
label: Logs (Authelia)
|
|
||||||
description: |
|
description: |
|
||||||
Provide complete logs with the log level set to debug or trace. Complete means from application start until the
|
How are you deploying Authelia?
|
||||||
issue occurring. The template will automatically put this content in a code block so you can just paste it.
|
options:
|
||||||
render: shell
|
- 'Docker'
|
||||||
|
- 'Kubernetes'
|
||||||
|
- 'Bare-metal'
|
||||||
|
- 'Other'
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: 'dropdown'
|
||||||
id: logs-other
|
id: 'proxy'
|
||||||
attributes:
|
attributes:
|
||||||
label: Logs (Proxy / Application)
|
label: |
|
||||||
description: Provide complete debug logs for the affected proxy and/or application if available and relevant (the template will automatically put this content in a code block)
|
Reverse Proxy
|
||||||
render: shell
|
description: |
|
||||||
validations:
|
What reverse proxy are you using?
|
||||||
required: false
|
|
||||||
- type: textarea
|
|
||||||
id: documentation
|
|
||||||
attributes:
|
|
||||||
label: Documentation
|
|
||||||
description: Provide any relevant specification or other documentation if applicable
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: checkboxes
|
|
||||||
id: checklist
|
|
||||||
attributes:
|
|
||||||
label: Pre-Submission Checklist
|
|
||||||
description: By submitting this issue confirm all of the following
|
|
||||||
options:
|
options:
|
||||||
- label: I agree to follow the [Code of Conduct](http://www.authelia.com/code-of-conduct)
|
- 'Caddy'
|
||||||
|
- 'Traefik'
|
||||||
|
- 'Envoy'
|
||||||
|
- 'Istio'
|
||||||
|
- 'NGINX'
|
||||||
|
- 'SWAG'
|
||||||
|
- 'NGINX Proxy Manager'
|
||||||
|
- 'HAProxy'
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: 'input'
|
||||||
|
id: 'proxy-version'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Reverse Proxy Version
|
||||||
|
description: |
|
||||||
|
What is the version of your reverse proxy?
|
||||||
|
placeholder: 'x.x.x'
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'description'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Description
|
||||||
|
description: |
|
||||||
|
Describe the bug.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'reproduction'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Reproduction
|
||||||
|
description: |
|
||||||
|
Describe how we can reproduce this issue. This should be step by step and should include detailed and specific information. Abstract or generic information should be avoided. For example this should include specific application names and versions if relevant. Reproducing the issue is important so we can verify it exists, add relevant tests, and verify it is solved.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'expectations'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Expectations
|
||||||
|
description: |
|
||||||
|
Describe the desired or expected results.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'configuration'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Configuration (Authelia)
|
||||||
|
description: |
|
||||||
|
Provide a complete configuration file (the template will automatically put this content in a code block).
|
||||||
|
render: 'yaml'
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'logs'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Logs (Authelia)
|
||||||
|
description: |
|
||||||
|
Provide complete logs with the log level set to debug or trace. Complete means from application start until the issue occurring. This is clearly explained in the [Logs](https://www.authelia.com/r/troubleshooting#logs) section of the troubleshooting guide.
|
||||||
|
|
||||||
|
The template will automatically put this content in a code block so you can just paste it.
|
||||||
|
render: 'shell'
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'logs-other'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Logs (Proxy / Application)
|
||||||
|
description: |
|
||||||
|
Provide complete debug logs for the affected proxy and/or application if available and relevant (the template will automatically put this content in a code block).
|
||||||
|
render: 'shell'
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'documentation'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Documentation
|
||||||
|
description: |
|
||||||
|
Provide any relevant specification or other documentation if applicable.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: 'checkboxes'
|
||||||
|
id: 'checklist'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Pre-Submission Checklist
|
||||||
|
description: |
|
||||||
|
By submitting this issue confirm all of the following.
|
||||||
|
options:
|
||||||
|
- label: |
|
||||||
|
I agree to follow the [Code of Conduct](http://www.authelia.com/code-of-conduct)
|
||||||
required: true
|
required: true
|
||||||
- label: This is a bug report and not a support request
|
- label: |
|
||||||
|
This is a bug report and not a support request
|
||||||
required: true
|
required: true
|
||||||
- label: I have read the security policy and this bug report is not a security issue or security related issue
|
- label: |
|
||||||
|
I have read the security policy and this bug report is not a security issue or security related issue
|
||||||
required: true
|
required: true
|
||||||
- label: I have either included the complete configuration file or I am sure it's unrelated to the configuration
|
- label: |
|
||||||
|
I have either included the complete configuration file or I am sure it's unrelated to the configuration
|
||||||
required: true
|
required: true
|
||||||
- label: I have provided all of the required information in full with the only alteration being reasonable sanitization in accordance with the [Troubleshooting Sanitization](https://www.authelia.com/r/sanitize) reference guide
|
- label: |
|
||||||
|
I have provided all of the required information in full with the only alteration being reasonable sanitization in accordance with the [Troubleshooting Sanitization](https://www.authelia.com/r/sanitize) reference guide
|
||||||
required: true
|
required: true
|
||||||
- label: I have checked for related proxy or application logs and included them if available
|
- label: |
|
||||||
|
I have checked for related proxy or application logs and included them if available
|
||||||
required: true
|
required: true
|
||||||
- label: I have checked for related issues and checked the documentation
|
- label: |
|
||||||
|
I have checked for related issues and checked the documentation
|
||||||
required: true
|
required: true
|
||||||
...
|
...
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
---
|
---
|
||||||
blank_issues_enabled: false
|
blank_issues_enabled: false
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: Idea
|
- name: 'Idea'
|
||||||
url: https://github.com/authelia/authelia/discussions/new?category=ideas
|
url: 'https://github.com/authelia/authelia/discussions/new?category=ideas'
|
||||||
about: Submit an Idea for Voting
|
about: 'Submit an Idea for Voting'
|
||||||
- name: Question
|
- name: 'Question'
|
||||||
url: https://github.com/authelia/authelia/discussions/new?category=q-a
|
url: 'https://github.com/authelia/authelia/discussions/new?category=q-a'
|
||||||
about: Ask a Question
|
about: 'Ask a Question'
|
||||||
- name: Discussion
|
- name: 'Discussion'
|
||||||
url: https://github.com/authelia/authelia/discussions/new
|
url: 'https://github.com/authelia/authelia/discussions/new'
|
||||||
about: Start a Discussion related to Ideas, Polls, Show and Tell, or General Topics
|
about: 'Start a Discussion related to Ideas, Polls, Show and Tell, or General Topics'
|
||||||
- name: Documentation
|
- name: 'Documentation'
|
||||||
url: https://www.authelia.com/
|
url: 'https://www.authelia.com/'
|
||||||
about: Read the Documentation
|
about: 'Read the Documentation'
|
||||||
- name: Matrix
|
- name: 'Matrix'
|
||||||
url: https://matrix.to/#/#community:authelia.com
|
url: 'https://matrix.to/#/#community:authelia.com'
|
||||||
about: Discuss Authelia with the Developers on Matrix which is the preferred method of contact
|
about: 'Discuss Authelia with the Developers on Matrix which is the preferred method of contact'
|
||||||
- name: Discord
|
- name: 'Discord'
|
||||||
url: https://discord.authelia.com
|
url: 'https://discord.authelia.com'
|
||||||
about: Discuss Authelia with the Developers on Discord which is bridged to Matrix
|
about: 'Discuss Authelia with the Developers on Discord which is bridged to Matrix'
|
||||||
...
|
...
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
name: Feature Request
|
name: 'Feature Request'
|
||||||
description: Submit a Feature Request
|
description: 'Submit a Feature Request'
|
||||||
labels:
|
labels:
|
||||||
- type/feature
|
- 'type/feature'
|
||||||
- status/needs-design
|
- 'status/needs-design'
|
||||||
- priority/4/normal
|
- 'priority/4/normal'
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: 'markdown'
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for taking the time to fill out this feature request. A feature request is created as issue for the purpose of tracking the design and implementation of a feature.
|
Thanks for taking the time to fill out this feature request. A feature request is created as issue for the purpose of tracking the design and implementation of a feature.
|
||||||
|
@ -16,42 +16,54 @@ body:
|
||||||
1. Ensure there are no other similar feature requests.
|
1. Ensure there are no other similar feature requests.
|
||||||
2. Make sure you've checked the [Documentation](https://www.authelia.com) doesn't clearly document the features existence already.
|
2. Make sure you've checked the [Documentation](https://www.authelia.com) doesn't clearly document the features existence already.
|
||||||
3. Consider creating an [Idea Discussion](https://github.com/authelia/authelia/discussions/new?category=ideas) which can be voted on instead if one doesn't exist.
|
3. Consider creating an [Idea Discussion](https://github.com/authelia/authelia/discussions/new?category=ideas) which can be voted on instead if one doesn't exist.
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: description
|
id: 'description'
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: |
|
||||||
description: Describe the feature
|
Description
|
||||||
|
description: |
|
||||||
|
Describe the feature
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: use-case
|
id: 'use-case'
|
||||||
attributes:
|
attributes:
|
||||||
label: Use Case
|
label: |
|
||||||
description: Provide a use case
|
Use Case
|
||||||
|
description: |
|
||||||
|
Provide a use case
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: details
|
id: 'details'
|
||||||
attributes:
|
attributes:
|
||||||
label: Details
|
label: |
|
||||||
description: Describe the feature in detail
|
Details
|
||||||
|
description: |
|
||||||
|
Describe the feature in detail
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: documentation
|
id: 'documentation'
|
||||||
attributes:
|
attributes:
|
||||||
label: Documentation
|
label: |
|
||||||
description: Provide any relevant specification or other documentation if applicable
|
Documentation
|
||||||
|
description: |
|
||||||
|
Provide any relevant specification or other documentation if applicable
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
- type: checkboxes
|
- type: 'checkboxes'
|
||||||
id: checklist
|
id: 'checklist'
|
||||||
attributes:
|
attributes:
|
||||||
label: Pre-Submission Checklist
|
label: |
|
||||||
description: By submitting this issue confirm all of the following
|
Pre-Submission Checklist
|
||||||
|
description: |
|
||||||
|
By submitting this issue confirm all of the following
|
||||||
options:
|
options:
|
||||||
- label: I agree to follow the [Code of Conduct](http://www.authelia.com/code-of-conduct)
|
- label: |
|
||||||
|
I agree to follow the [Code of Conduct](http://www.authelia.com/code-of-conduct)
|
||||||
required: true
|
required: true
|
||||||
- label: I have checked for related issues and checked the documentation
|
- label: |
|
||||||
|
I have checked for related issues and checked the documentation
|
||||||
required: true
|
required: true
|
||||||
...
|
...
|
||||||
|
|
|
@ -11,6 +11,7 @@ yaml-files:
|
||||||
ignore: |
|
ignore: |
|
||||||
api/openapi.yml
|
api/openapi.yml
|
||||||
docs/pnpm-lock.yaml
|
docs/pnpm-lock.yaml
|
||||||
|
docs/node_modules/
|
||||||
internal/configuration/test_resources/config_bad_quoting.yml
|
internal/configuration/test_resources/config_bad_quoting.yml
|
||||||
web/pnpm-lock.yaml
|
web/pnpm-lock.yaml
|
||||||
web/node_modules/
|
web/node_modules/
|
||||||
|
|
|
@ -30,12 +30,28 @@ issue so that no one else starts any duplicate work.
|
||||||
Pull Requests can only be merged once all status checks are green, which means `authelia-scripts --log-level debug ci`
|
Pull Requests can only be merged once all status checks are green, which means `authelia-scripts --log-level debug ci`
|
||||||
passes, and coverage does not regress.
|
passes, and coverage does not regress.
|
||||||
|
|
||||||
## Do not force push to your pull request branch
|
### Sign the Developer Certificate of Origin
|
||||||
|
|
||||||
Please do not force push to your PR's branch after you have created your PR, as doing so makes it harder for us to
|
Please ensure you complete the [Developer Certificate of Origin] sign off for all commits. More information can be found
|
||||||
review your work. PRs will always be squashed by us when we merge your work. Commit as many times as you need in your
|
in the [Developer Certificate of Origin] documentation.
|
||||||
|
|
||||||
|
### Do not force push to your pull request branch
|
||||||
|
|
||||||
|
Please do not force push to your PR's branch after you have created your PR especially when a maintainer has either
|
||||||
|
performed a review or has indicated they are performing a review, as doing so makes it harder to review your commits
|
||||||
|
accurately. PRs will always be squashed by us when we merge your work. Commit as many times as you need in your
|
||||||
pull request branch.
|
pull request branch.
|
||||||
|
|
||||||
|
A few exceptions exist to this rule and are as follows:
|
||||||
|
|
||||||
|
- Making adjustments to the commit message i.e. for the following reasons:
|
||||||
|
- To comply with the [Developer Certificate of Origin] sign off requirement
|
||||||
|
- To comply with the other [Commit Message] guidelines
|
||||||
|
- To rebase your changes off of master or another branch
|
||||||
|
|
||||||
|
[Developer Certificate of Origin]: https://www.authelia.com/contributing/guidelines/commit-message/#developer-certificate-of-origin
|
||||||
|
[Commit Message]: https://www.authelia.com/contributing/guidelines/commit-message/
|
||||||
|
|
||||||
## Re-requesting a review
|
## Re-requesting a review
|
||||||
|
|
||||||
Please do not ping your reviewer(s) by mentioning them in a new comment.
|
Please do not ping your reviewer(s) by mentioning them in a new comment.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ===================================
|
# ===================================
|
||||||
# ===== Authelia official image =====
|
# ===== Authelia official image =====
|
||||||
# ===================================
|
# ===================================
|
||||||
FROM alpine:3.17.3
|
FROM alpine:3.18.2
|
||||||
|
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ========================================
|
# ========================================
|
||||||
# ===== Build image for the frontend =====
|
# ===== Build image for the frontend =====
|
||||||
# ========================================
|
# ========================================
|
||||||
FROM node:19-alpine AS builder-frontend
|
FROM node:20-alpine AS builder-frontend
|
||||||
|
|
||||||
WORKDIR /node/src/app
|
WORKDIR /node/src/app
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ RUN yarn global add pnpm && \
|
||||||
# =======================================
|
# =======================================
|
||||||
# ===== Build image for the backend =====
|
# ===== Build image for the backend =====
|
||||||
# =======================================
|
# =======================================
|
||||||
FROM golang:1.20.3-alpine AS builder-backend
|
FROM golang:1.20.5-alpine AS builder-backend
|
||||||
|
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ RUN \
|
||||||
# ===================================
|
# ===================================
|
||||||
# ===== Authelia official image =====
|
# ===== Authelia official image =====
|
||||||
# ===================================
|
# ===================================
|
||||||
FROM alpine:3.17.3
|
FROM alpine:3.18.2
|
||||||
|
|
||||||
RUN apk --no-cache add ca-certificates tzdata
|
RUN apk --no-cache add ca-certificates tzdata
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ========================================
|
# ========================================
|
||||||
# ===== Build image for the frontend =====
|
# ===== Build image for the frontend =====
|
||||||
# ========================================
|
# ========================================
|
||||||
FROM node:19-alpine AS builder-frontend
|
FROM node:20-alpine AS builder-frontend
|
||||||
|
|
||||||
WORKDIR /node/src/app
|
WORKDIR /node/src/app
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ RUN yarn install --frozen-lockfile && yarn build
|
||||||
# =======================================
|
# =======================================
|
||||||
# ===== Build image for the backend =====
|
# ===== Build image for the backend =====
|
||||||
# =======================================
|
# =======================================
|
||||||
FROM golang:1.20.3-alpine AS builder-backend
|
FROM golang:1.20.5-alpine AS builder-backend
|
||||||
|
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ RUN \
|
||||||
# ===================================
|
# ===================================
|
||||||
# ===== Authelia official image =====
|
# ===== Authelia official image =====
|
||||||
# ===================================
|
# ===================================
|
||||||
FROM alpine:3.17.3
|
FROM alpine:3.18.2
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,95 @@
|
||||||
|
# Ausführen
|
||||||
|
|
||||||
|
Um die Anwendung lokal auszuführen, können die folgenden Befehle verwendet werden.
|
||||||
|
|
||||||
|
```
|
||||||
|
export GOPATH=/tmp
|
||||||
|
source bootstrap.sh
|
||||||
|
authelia-scripts suites setup Standalone
|
||||||
|
```
|
||||||
|
|
||||||
|
Nun sollte der "Haupt-Enpunkt" unter `https://home.example.com:8080` und die API unter `https://authelia.example.com:9091` erreichbar sein. Achtung: es wird ein selbstsigniertes Zertifikat verwendet!
|
||||||
|
Mithilfe der Hot-Reload kann jetzt gecoded werden.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Nach der Entwicklung kann die Testumgebung durch den folgenden Befehl wieder zurückgesetzt werden.
|
||||||
|
|
||||||
|
```
|
||||||
|
go run ./cmd/authelia-scripts/ suites teardown Standalone
|
||||||
|
```
|
||||||
|
|
||||||
|
## Benutzerdefinierte Zertifikate
|
||||||
|
|
||||||
|
Um ein benutzerdefiniertes Zertifikat für die Ausführung zu verwenden, muss die Datai `public.backend.crt` und `private.bakend.pem` unter [diesem](/internal/suites/common/pki/) Verzeichnis abgeändert werden.
|
||||||
|
Um die Gültigkeit zu testen, kann der folgendende Befehl ausgeführt werden.
|
||||||
|
|
||||||
|
```
|
||||||
|
curl https://auth.rpjosh.de:9091 --connect-to 'auth.rpjosh.de:9091:authelia.example.com:9091'
|
||||||
|
```
|
||||||
|
|
||||||
|
## Externe erreichbarkeit
|
||||||
|
|
||||||
|
Im aktuellen Zustand sind die Endpunkte nur unter den Docker internen IP-Adressen erreichbar. Daher muss noch ein NAT Regel angelegt werden.
|
||||||
|
|
||||||
|
```
|
||||||
|
ip=$(ping -c 1 authelia.example.com | gawk -F'[()]' '/PING/{print $2}')
|
||||||
|
sudo iptables -t nat -A PREROUTING -p tcp --dport 9091 -d 192.168.0.15 -j DNAT --to-destination 192.168.240.50:9091 -m comment --comment "Authelia-Test"
|
||||||
|
sudo iptables -t nat -A PREROUTING -p tcp --dport 9092 -d 192.168.0.15 -j DNAT --to-destination 192.168.240.50:9092 -m comment --comment "Authelia-Test"
|
||||||
|
sudo iptables -t nat -I OUTPUT -p tcp -o lo --dport 9091 -j DNAT --to-destination 192.168.240.50:9091
|
||||||
|
```
|
||||||
|
|
||||||
|
# Customizations
|
||||||
|
|
||||||
|
Für das Starten des *gRPC* Servers müssen die folgenden Abhängigkeiten installiert werden.
|
||||||
|
|
||||||
|
```
|
||||||
|
go get github.com/envoyproxy/go-control-plane
|
||||||
|
go get github.com/envoyproxy/go-control-plane/envoy/config/core/v3
|
||||||
|
go get github.com/gogo/googleapis/google/rpc
|
||||||
|
go get google.golang.org/grpc
|
||||||
|
```
|
||||||
|
|
||||||
|
## Konfiguration ändern
|
||||||
|
|
||||||
|
Wenn die Konfiguration geändert wurde, müssen die Keys zur Validierung wieder erneut gebaut werden.
|
||||||
|
|
||||||
|
```
|
||||||
|
go run ./cmd/authelia-gen code keys
|
||||||
|
```
|
||||||
|
|
||||||
|
## Mocks abgeändert
|
||||||
|
|
||||||
|
Wenn interfaces von den Mocks geändert werden, muss folgendes wieder ausgeführt werden:
|
||||||
|
|
||||||
|
```
|
||||||
|
export PATH=$PATH:$(go env GOPATH)/bin
|
||||||
|
go generate ./...
|
||||||
|
```
|
||||||
|
|
||||||
|
## Bauen
|
||||||
|
|
||||||
|
Um ein Docker Image für authelia zu bauen, müssen die folgenden Befehle ausgeführt werden.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Dieser Befehle funktionieren aktuell nicht
|
||||||
|
authelia-scripts docker build
|
||||||
|
authelia-scripts build
|
||||||
|
|
||||||
|
# => Manuell bauen
|
||||||
|
export CC=musl-gcc
|
||||||
|
|
||||||
|
authelia-scripts build
|
||||||
|
cp -r dist/public_html internal/server/
|
||||||
|
go build -buildmode=pie -ldflags "-linkmode=external -s -w" -trimpath -buildmode=pie -o authelia ./cmd/authelia
|
||||||
|
mv authelia authelia-linux-amd64-musl
|
||||||
|
# Build docker image
|
||||||
|
docker build --tag git.rpjosh.de/rpjosh/authelia/authelia:4.38.0-dev .
|
||||||
|
docker push git.rpjosh.de/rpjosh/authelia/authelia:4.38.0-dev
|
||||||
|
# Cleanup
|
||||||
|
rm -rf internal/server/public_html/ ./authelia-linux-amd64-musl
|
||||||
|
```
|
||||||
|
|
||||||
|
# gRCP
|
||||||
|
|
||||||
|
Um einen gRCP Endpunkt nutzen zu können, brauch mein eine *.proto* Datei. Für Envoy sieht diese wie in [dieser Datei](/ext-auth.proto) folgendermaßen aus.
|
191
README.md
191
README.md
|
@ -57,7 +57,7 @@ This is a list of the key features of Authelia:
|
||||||
|
|
||||||
* Several second factor methods:
|
* Several second factor methods:
|
||||||
* **[Security Keys](https://www.authelia.com/overview/authentication/security-key/)** that support
|
* **[Security Keys](https://www.authelia.com/overview/authentication/security-key/)** that support
|
||||||
[FIDO2] [Webauthn] with devices like a [YubiKey].
|
[FIDO2] [WebAuthn] with devices like a [YubiKey].
|
||||||
* **[Time-based One-Time password](https://www.authelia.com/overview/authentication/one-time-password/)**
|
* **[Time-based One-Time password](https://www.authelia.com/overview/authentication/one-time-password/)**
|
||||||
with compatible authenticator applications.
|
with compatible authenticator applications.
|
||||||
* **[Mobile Push Notifications](https://www.authelia.com/overview/authentication/push-notification/)**
|
* **[Mobile Push Notifications](https://www.authelia.com/overview/authentication/push-notification/)**
|
||||||
|
@ -199,125 +199,126 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/clems4ever"><img src="https://avatars.githubusercontent.com/u/3193257?v=4?s=100" width="100px;" alt="Clément Michaud"/><br /><sub><b>Clément Michaud</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=clems4ever" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=clems4ever" title="Documentation">📖</a> <a href="#ideas-clems4ever" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-clems4ever" title="Maintenance">🚧</a> <a href="#question-clems4ever" title="Answering Questions">💬</a> <a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3Aclems4ever" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/authelia/authelia/commits?author=clems4ever" title="Tests">⚠️</a> <a href="#mentoring-clems4ever" title="Mentoring">🧑🏫</a> <a href="#infra-clems4ever" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#design-clems4ever" title="Design">🎨</a> <a href="#userTesting-clems4ever" title="User Testing">📓</a> <a href="#tool-clems4ever" title="Tools">🔧</a> <a href="#research-clems4ever" title="Research">🔬</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/clems4ever"><img src="https://avatars.githubusercontent.com/u/3193257?v=4?s=100" width="100px;" alt="Clément Michaud"/><br /><sub><b>Clément Michaud</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=clems4ever" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=clems4ever" title="Documentation">📖</a> <a href="#ideas-clems4ever" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-clems4ever" title="Maintenance">🚧</a> <a href="#question-clems4ever" title="Answering Questions">💬</a> <a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3Aclems4ever" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/authelia/authelia/commits?author=clems4ever" title="Tests">⚠️</a> <a href="#mentoring-clems4ever" title="Mentoring">🧑🏫</a> <a href="#infra-clems4ever" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#design-clems4ever" title="Design">🎨</a> <a href="#userTesting-clems4ever" title="User Testing">📓</a> <a href="#tool-clems4ever" title="Tools">🔧</a> <a href="#research-clems4ever" title="Research">🔬</a></td>
|
||||||
<td align="center"><a href="https://github.com/nightah"><img src="https://avatars.githubusercontent.com/u/3339418?v=4?s=100" width="100px;" alt="Amir Zarrinkafsh"/><br /><sub><b>Amir Zarrinkafsh</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=nightah" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=nightah" title="Documentation">📖</a> <a href="#ideas-nightah" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-nightah" title="Maintenance">🚧</a> <a href="#question-nightah" title="Answering Questions">💬</a> <a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3Anightah" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/authelia/authelia/commits?author=nightah" title="Tests">⚠️</a> <a href="#mentoring-nightah" title="Mentoring">🧑🏫</a> <a href="#infra-nightah" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#design-nightah" title="Design">🎨</a> <a href="#userTesting-nightah" title="User Testing">📓</a> <a href="#tool-nightah" title="Tools">🔧</a> <a href="#research-nightah" title="Research">🔬</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nightah"><img src="https://avatars.githubusercontent.com/u/3339418?v=4?s=100" width="100px;" alt="Amir Zarrinkafsh"/><br /><sub><b>Amir Zarrinkafsh</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=nightah" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=nightah" title="Documentation">📖</a> <a href="#ideas-nightah" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-nightah" title="Maintenance">🚧</a> <a href="#question-nightah" title="Answering Questions">💬</a> <a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3Anightah" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/authelia/authelia/commits?author=nightah" title="Tests">⚠️</a> <a href="#mentoring-nightah" title="Mentoring">🧑🏫</a> <a href="#infra-nightah" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#design-nightah" title="Design">🎨</a> <a href="#userTesting-nightah" title="User Testing">📓</a> <a href="#tool-nightah" title="Tools">🔧</a> <a href="#research-nightah" title="Research">🔬</a></td>
|
||||||
<td align="center"><a href="https://github.com/james-d-elliott"><img src="https://avatars.githubusercontent.com/u/3903683?v=4?s=100" width="100px;" alt="James Elliott"/><br /><sub><b>James Elliott</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=james-d-elliott" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=james-d-elliott" title="Documentation">📖</a> <a href="#ideas-james-d-elliott" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-james-d-elliott" title="Maintenance">🚧</a> <a href="#question-james-d-elliott" title="Answering Questions">💬</a> <a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3Ajames-d-elliott" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/authelia/authelia/commits?author=james-d-elliott" title="Tests">⚠️</a> <a href="#mentoring-james-d-elliott" title="Mentoring">🧑🏫</a> <a href="#infra-james-d-elliott" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#design-james-d-elliott" title="Design">🎨</a> <a href="#userTesting-james-d-elliott" title="User Testing">📓</a> <a href="#tool-james-d-elliott" title="Tools">🔧</a> <a href="#research-james-d-elliott" title="Research">🔬</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/james-d-elliott"><img src="https://avatars.githubusercontent.com/u/3903683?v=4?s=100" width="100px;" alt="James Elliott"/><br /><sub><b>James Elliott</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=james-d-elliott" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=james-d-elliott" title="Documentation">📖</a> <a href="#ideas-james-d-elliott" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-james-d-elliott" title="Maintenance">🚧</a> <a href="#question-james-d-elliott" title="Answering Questions">💬</a> <a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3Ajames-d-elliott" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/authelia/authelia/commits?author=james-d-elliott" title="Tests">⚠️</a> <a href="#mentoring-james-d-elliott" title="Mentoring">🧑🏫</a> <a href="#infra-james-d-elliott" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#design-james-d-elliott" title="Design">🎨</a> <a href="#userTesting-james-d-elliott" title="User Testing">📓</a> <a href="#tool-james-d-elliott" title="Tools">🔧</a> <a href="#research-james-d-elliott" title="Research">🔬</a></td>
|
||||||
<td align="center"><a href="https://github.com/n4kre"><img src="https://avatars.githubusercontent.com/u/14371127?v=4?s=100" width="100px;" alt="Antoine Favre"/><br /><sub><b>Antoine Favre</b></sub></a><br /><a href="https://github.com/authelia/authelia/issues?q=author%3An4kre" title="Bug reports">🐛</a> <a href="#ideas-n4kre" title="Ideas, Planning, & Feedback">🤔</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/n4kre"><img src="https://avatars.githubusercontent.com/u/14371127?v=4?s=100" width="100px;" alt="Antoine Favre"/><br /><sub><b>Antoine Favre</b></sub></a><br /><a href="https://github.com/authelia/authelia/issues?q=author%3An4kre" title="Bug reports">🐛</a> <a href="#ideas-n4kre" title="Ideas, Planning, & Feedback">🤔</a></td>
|
||||||
<td align="center"><a href="https://github.com/BankaiNoJutsu"><img src="https://avatars.githubusercontent.com/u/2241519?v=4?s=100" width="100px;" alt="BankaiNoJutsu"/><br /><sub><b>BankaiNoJutsu</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=BankaiNoJutsu" title="Code">💻</a> <a href="#design-BankaiNoJutsu" title="Design">🎨</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/BankaiNoJutsu"><img src="https://avatars.githubusercontent.com/u/2241519?v=4?s=100" width="100px;" alt="BankaiNoJutsu"/><br /><sub><b>BankaiNoJutsu</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=BankaiNoJutsu" title="Code">💻</a> <a href="#design-BankaiNoJutsu" title="Design">🎨</a></td>
|
||||||
<td align="center"><a href="https://github.com/p-rintz"><img src="https://avatars.githubusercontent.com/u/13933258?v=4?s=100" width="100px;" alt="Philipp Rintz"/><br /><sub><b>Philipp Rintz</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=p-rintz" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/p-rintz"><img src="https://avatars.githubusercontent.com/u/13933258?v=4?s=100" width="100px;" alt="Philipp Rintz"/><br /><sub><b>Philipp Rintz</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=p-rintz" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="http://callanbryant.co.uk/"><img src="https://avatars.githubusercontent.com/u/208440?v=4?s=100" width="100px;" alt="Callan Bryant"/><br /><sub><b>Callan Bryant</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=naggie" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=naggie" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://callanbryant.co.uk/"><img src="https://avatars.githubusercontent.com/u/208440?v=4?s=100" width="100px;" alt="Callan Bryant"/><br /><sub><b>Callan Bryant</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=naggie" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=naggie" title="Documentation">📖</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/ViViDboarder"><img src="https://avatars.githubusercontent.com/u/137025?v=4?s=100" width="100px;" alt="Ian"/><br /><sub><b>Ian</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ViViDboarder" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ViViDboarder"><img src="https://avatars.githubusercontent.com/u/137025?v=4?s=100" width="100px;" alt="Ian"/><br /><sub><b>Ian</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ViViDboarder" title="Code">💻</a></td>
|
||||||
<td align="center"><a href="https://github.com/FrozenDragoon"><img src="https://avatars.githubusercontent.com/u/5301673?v=4?s=100" width="100px;" alt="FrozenDragoon"/><br /><sub><b>FrozenDragoon</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=FrozenDragoon" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/FrozenDragoon"><img src="https://avatars.githubusercontent.com/u/5301673?v=4?s=100" width="100px;" alt="FrozenDragoon"/><br /><sub><b>FrozenDragoon</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=FrozenDragoon" title="Code">💻</a></td>
|
||||||
<td align="center"><a href="https://github.com/vdot0x23"><img src="https://avatars.githubusercontent.com/u/40716069?v=4?s=100" width="100px;" alt="vdot0x23"/><br /><sub><b>vdot0x23</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=vdot0x23" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/vdot0x23"><img src="https://avatars.githubusercontent.com/u/40716069?v=4?s=100" width="100px;" alt="vdot0x23"/><br /><sub><b>vdot0x23</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=vdot0x23" title="Code">💻</a></td>
|
||||||
<td align="center"><a href="https://github.com/alexw1982"><img src="https://avatars.githubusercontent.com/u/11628284?v=4?s=100" width="100px;" alt="alexw1982"/><br /><sub><b>alexw1982</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=alexw1982" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/alexw1982"><img src="https://avatars.githubusercontent.com/u/11628284?v=4?s=100" width="100px;" alt="alexw1982"/><br /><sub><b>alexw1982</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=alexw1982" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/Sohalt"><img src="https://avatars.githubusercontent.com/u/2157287?v=4?s=100" width="100px;" alt="Sohalt"/><br /><sub><b>Sohalt</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Sohalt" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=Sohalt" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Sohalt"><img src="https://avatars.githubusercontent.com/u/2157287?v=4?s=100" width="100px;" alt="Sohalt"/><br /><sub><b>Sohalt</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Sohalt" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=Sohalt" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/Tedyst"><img src="https://avatars.githubusercontent.com/u/13637623?v=4?s=100" width="100px;" alt="Stoica Tedy"/><br /><sub><b>Stoica Tedy</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Tedyst" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Tedyst"><img src="https://avatars.githubusercontent.com/u/13637623?v=4?s=100" width="100px;" alt="Stoica Tedy"/><br /><sub><b>Stoica Tedy</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Tedyst" title="Code">💻</a></td>
|
||||||
<td align="center"><a href="https://github.com/Chemsmith"><img src="https://avatars.githubusercontent.com/u/9061024?v=4?s=100" width="100px;" alt="Dylan Smith"/><br /><sub><b>Dylan Smith</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Chemsmith" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Chemsmith"><img src="https://avatars.githubusercontent.com/u/9061024?v=4?s=100" width="100px;" alt="Dylan Smith"/><br /><sub><b>Dylan Smith</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Chemsmith" title="Code">💻</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/LukasK13"><img src="https://avatars.githubusercontent.com/u/24586740?v=4?s=100" width="100px;" alt="Lukas Klass"/><br /><sub><b>Lukas Klass</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=LukasK13" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/LukasK13"><img src="https://avatars.githubusercontent.com/u/24586740?v=4?s=100" width="100px;" alt="Lukas Klass"/><br /><sub><b>Lukas Klass</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=LukasK13" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://staiger.it/"><img src="https://avatars.githubusercontent.com/u/9325003?v=4?s=100" width="100px;" alt="Philipp Staiger"/><br /><sub><b>Philipp Staiger</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=lippl" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=lippl" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/commits?author=lippl" title="Tests">⚠️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://staiger.it/"><img src="https://avatars.githubusercontent.com/u/9325003?v=4?s=100" width="100px;" alt="Philipp Staiger"/><br /><sub><b>Philipp Staiger</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=lippl" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=lippl" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/commits?author=lippl" title="Tests">⚠️</a></td>
|
||||||
<td align="center"><a href="https://yaleman.org/"><img src="https://avatars.githubusercontent.com/u/168188?v=4?s=100" width="100px;" alt="James Hodgkinson"/><br /><sub><b>James Hodgkinson</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=yaleman" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://yaleman.org/"><img src="https://avatars.githubusercontent.com/u/168188?v=4?s=100" width="100px;" alt="James Hodgkinson"/><br /><sub><b>James Hodgkinson</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=yaleman" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://chris.smith.xyz/"><img src="https://avatars.githubusercontent.com/u/1979423?v=4?s=100" width="100px;" alt="Chris Smith"/><br /><sub><b>Chris Smith</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=chris13524" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://chris.smith.xyz/"><img src="https://avatars.githubusercontent.com/u/1979423?v=4?s=100" width="100px;" alt="Chris Smith"/><br /><sub><b>Chris Smith</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=chris13524" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/mqmq0"><img src="https://avatars.githubusercontent.com/u/13240971?v=4?s=100" width="100px;" alt="Mihály"/><br /><sub><b>Mihály</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=mqmq0" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mqmq0"><img src="https://avatars.githubusercontent.com/u/13240971?v=4?s=100" width="100px;" alt="Mihály"/><br /><sub><b>Mihály</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=mqmq0" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://iret.xyz/"><img src="https://avatars.githubusercontent.com/u/6560655?v=4?s=100" width="100px;" alt="Silver Bullet"/><br /><sub><b>Silver Bullet</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=SilverBut" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://iret.xyz/"><img src="https://avatars.githubusercontent.com/u/6560655?v=4?s=100" width="100px;" alt="Silver Bullet"/><br /><sub><b>Silver Bullet</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=SilverBut" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/skenmy"><img src="https://avatars.githubusercontent.com/u/1454505?v=4?s=100" width="100px;" alt="Paul Williams"/><br /><sub><b>Paul Williams</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=skenmy" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=skenmy" title="Tests">⚠️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/skenmy"><img src="https://avatars.githubusercontent.com/u/1454505?v=4?s=100" width="100px;" alt="Paul Williams"/><br /><sub><b>Paul Williams</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=skenmy" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=skenmy" title="Tests">⚠️</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/ntimo"><img src="https://avatars.githubusercontent.com/u/6145026?v=4?s=100" width="100px;" alt="Timo"/><br /><sub><b>Timo</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ntimo" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ntimo"><img src="https://avatars.githubusercontent.com/u/6145026?v=4?s=100" width="100px;" alt="Timo"/><br /><sub><b>Timo</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ntimo" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/andrewkliskey"><img src="https://avatars.githubusercontent.com/u/44645768?v=4?s=100" width="100px;" alt="Andrew Kliskey"/><br /><sub><b>Andrew Kliskey</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=andrewkliskey" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/andrewkliskey"><img src="https://avatars.githubusercontent.com/u/44645768?v=4?s=100" width="100px;" alt="Andrew Kliskey"/><br /><sub><b>Andrew Kliskey</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=andrewkliskey" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="http://kristofmattei.be/"><img src="https://avatars.githubusercontent.com/u/864376?v=4?s=100" width="100px;" alt="Kristof Mattei"/><br /><sub><b>Kristof Mattei</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Kristof-Mattei" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://kristofmattei.be/"><img src="https://avatars.githubusercontent.com/u/864376?v=4?s=100" width="100px;" alt="Kristof Mattei"/><br /><sub><b>Kristof Mattei</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Kristof-Mattei" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://www.zmiguel.me/"><img src="https://avatars.githubusercontent.com/u/4400540?v=4?s=100" width="100px;" alt="ZMiguel Valdiviesso"/><br /><sub><b>ZMiguel Valdiviesso</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=zmiguel" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://www.zmiguel.me/"><img src="https://avatars.githubusercontent.com/u/4400540?v=4?s=100" width="100px;" alt="ZMiguel Valdiviesso"/><br /><sub><b>ZMiguel Valdiviesso</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=zmiguel" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/akusei"><img src="https://avatars.githubusercontent.com/u/12972900?v=4?s=100" width="100px;" alt="akusei"/><br /><sub><b>akusei</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=akusei" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=akusei" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/akusei"><img src="https://avatars.githubusercontent.com/u/12972900?v=4?s=100" width="100px;" alt="akusei"/><br /><sub><b>akusei</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=akusei" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=akusei" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/Peaches491"><img src="https://avatars.githubusercontent.com/u/494334?v=4?s=100" width="100px;" alt="Daniel Miller"/><br /><sub><b>Daniel Miller</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Peaches491" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Peaches491"><img src="https://avatars.githubusercontent.com/u/494334?v=4?s=100" width="100px;" alt="Daniel Miller"/><br /><sub><b>Daniel Miller</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Peaches491" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/dustins"><img src="https://avatars.githubusercontent.com/u/14645?v=4?s=100" width="100px;" alt="Dustin Sweigart"/><br /><sub><b>Dustin Sweigart</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=dustins" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=dustins" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/commits?author=dustins" title="Tests">⚠️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dustins"><img src="https://avatars.githubusercontent.com/u/14645?v=4?s=100" width="100px;" alt="Dustin Sweigart"/><br /><sub><b>Dustin Sweigart</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=dustins" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=dustins" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/commits?author=dustins" title="Tests">⚠️</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/rogue780"><img src="https://avatars.githubusercontent.com/u/247716?v=4?s=100" width="100px;" alt="Shawn Haggard"/><br /><sub><b>Shawn Haggard</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=rogue780" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=rogue780" title="Tests">⚠️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rogue780"><img src="https://avatars.githubusercontent.com/u/247716?v=4?s=100" width="100px;" alt="Shawn Haggard"/><br /><sub><b>Shawn Haggard</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=rogue780" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=rogue780" title="Tests">⚠️</a></td>
|
||||||
<td align="center"><a href="https://github.com/kevynb"><img src="https://avatars.githubusercontent.com/u/4941215?v=4?s=100" width="100px;" alt="Kevyn Bruyere"/><br /><sub><b>Kevyn Bruyere</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=kevynb" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kevynb"><img src="https://avatars.githubusercontent.com/u/4941215?v=4?s=100" width="100px;" alt="Kevyn Bruyere"/><br /><sub><b>Kevyn Bruyere</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=kevynb" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/ducksecops"><img src="https://avatars.githubusercontent.com/u/25612094?v=4?s=100" width="100px;" alt="Daniel Sutton"/><br /><sub><b>Daniel Sutton</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ducksecops" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ducksecops"><img src="https://avatars.githubusercontent.com/u/25612094?v=4?s=100" width="100px;" alt="Daniel Sutton"/><br /><sub><b>Daniel Sutton</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ducksecops" title="Code">💻</a></td>
|
||||||
<td align="center"><a href="http://www.xenuser.org/"><img src="https://avatars.githubusercontent.com/u/2216868?v=4?s=100" width="100px;" alt="Valentin Höbel"/><br /><sub><b>Valentin Höbel</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=xenuser" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://www.xenuser.org/"><img src="https://avatars.githubusercontent.com/u/2216868?v=4?s=100" width="100px;" alt="Valentin Höbel"/><br /><sub><b>Valentin Höbel</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=xenuser" title="Code">💻</a></td>
|
||||||
<td align="center"><a href="https://github.com/thehedgefrog"><img src="https://avatars.githubusercontent.com/u/38590447?v=4?s=100" width="100px;" alt="thehedgefrog"/><br /><sub><b>thehedgefrog</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=thehedgefrog" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/thehedgefrog"><img src="https://avatars.githubusercontent.com/u/38590447?v=4?s=100" width="100px;" alt="thehedgefrog"/><br /><sub><b>thehedgefrog</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=thehedgefrog" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/ViRb3"><img src="https://avatars.githubusercontent.com/u/2650170?v=4?s=100" width="100px;" alt="Victor"/><br /><sub><b>Victor</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ViRb3" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ViRb3"><img src="https://avatars.githubusercontent.com/u/2650170?v=4?s=100" width="100px;" alt="Victor"/><br /><sub><b>Victor</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ViRb3" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/whiskerch"><img src="https://avatars.githubusercontent.com/u/35109315?v=4?s=100" width="100px;" alt="Chris Whisker"/><br /><sub><b>Chris Whisker</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=whiskerch" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/whiskerch"><img src="https://avatars.githubusercontent.com/u/35109315?v=4?s=100" width="100px;" alt="Chris Whisker"/><br /><sub><b>Chris Whisker</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=whiskerch" title="Documentation">📖</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/nasatome"><img src="https://avatars.githubusercontent.com/u/18271791?v=4?s=100" width="100px;" alt="nasatome"/><br /><sub><b>nasatome</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=nasatome" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nasatome"><img src="https://avatars.githubusercontent.com/u/18271791?v=4?s=100" width="100px;" alt="nasatome"/><br /><sub><b>nasatome</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=nasatome" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/bbros-dev"><img src="https://avatars.githubusercontent.com/u/60454087?v=4?s=100" width="100px;" alt="Begley Brothers (Development)"/><br /><sub><b>Begley Brothers (Development)</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=bbros-dev" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/bbros-dev"><img src="https://avatars.githubusercontent.com/u/60454087?v=4?s=100" width="100px;" alt="Begley Brothers (Development)"/><br /><sub><b>Begley Brothers (Development)</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=bbros-dev" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="http://mikekusold.com/"><img src="https://avatars.githubusercontent.com/u/509966?v=4?s=100" width="100px;" alt="Mike Kusold"/><br /><sub><b>Mike Kusold</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=kusold" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://mikekusold.com/"><img src="https://avatars.githubusercontent.com/u/509966?v=4?s=100" width="100px;" alt="Mike Kusold"/><br /><sub><b>Mike Kusold</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=kusold" title="Code">💻</a></td>
|
||||||
<td align="center"><a href="https://dzervas.gr/"><img src="https://avatars.githubusercontent.com/u/1029195?v=4?s=100" width="100px;" alt="Dimitris Zervas"/><br /><sub><b>Dimitris Zervas</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=dzervas" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://dzervas.gr/"><img src="https://avatars.githubusercontent.com/u/1029195?v=4?s=100" width="100px;" alt="Dimitris Zervas"/><br /><sub><b>Dimitris Zervas</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=dzervas" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="http://paypal.me/DHoung"><img src="https://avatars.githubusercontent.com/u/52870424?v=4?s=100" width="100px;" alt="TheCatLady"/><br /><sub><b>TheCatLady</b></sub></a><br /><a href="#ideas-TheCatLady" title="Ideas, Planning, & Feedback">🤔</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://paypal.me/DHoung"><img src="https://avatars.githubusercontent.com/u/52870424?v=4?s=100" width="100px;" alt="TheCatLady"/><br /><sub><b>TheCatLady</b></sub></a><br /><a href="#ideas-TheCatLady" title="Ideas, Planning, & Feedback">🤔</a></td>
|
||||||
<td align="center"><a href="https://lauri.vosandi.com/"><img src="https://avatars.githubusercontent.com/u/194685?v=4?s=100" width="100px;" alt="Lauri Võsandi"/><br /><sub><b>Lauri Võsandi</b></sub></a><br /><a href="#ideas-laurivosandi" title="Ideas, Planning, & Feedback">🤔</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://lauri.vosandi.com/"><img src="https://avatars.githubusercontent.com/u/194685?v=4?s=100" width="100px;" alt="Lauri Võsandi"/><br /><sub><b>Lauri Võsandi</b></sub></a><br /><a href="#ideas-laurivosandi" title="Ideas, Planning, & Feedback">🤔</a></td>
|
||||||
<td align="center"><a href="https://github.com/knnnrd"><img src="https://avatars.githubusercontent.com/u/5852381?v=4?s=100" width="100px;" alt="Kennard Vermeiren"/><br /><sub><b>Kennard Vermeiren</b></sub></a><br /><a href="#ideas-knnnrd" title="Ideas, Planning, & Feedback">🤔</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/knnnrd"><img src="https://avatars.githubusercontent.com/u/5852381?v=4?s=100" width="100px;" alt="Kennard Vermeiren"/><br /><sub><b>Kennard Vermeiren</b></sub></a><br /><a href="#ideas-knnnrd" title="Ideas, Planning, & Feedback">🤔</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/ThinkChaos"><img src="https://avatars.githubusercontent.com/u/4761135?v=4?s=100" width="100px;" alt="ThinkChaos"/><br /><sub><b>ThinkChaos</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ThinkChaos" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=ThinkChaos" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/commits?author=ThinkChaos" title="Tests">⚠️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ThinkChaos"><img src="https://avatars.githubusercontent.com/u/4761135?v=4?s=100" width="100px;" alt="ThinkChaos"/><br /><sub><b>ThinkChaos</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ThinkChaos" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=ThinkChaos" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/commits?author=ThinkChaos" title="Tests">⚠️</a></td>
|
||||||
<td align="center"><a href="https://github.com/except"><img src="https://avatars.githubusercontent.com/u/26675576?v=4?s=100" width="100px;" alt="Hasan"/><br /><sub><b>Hasan</b></sub></a><br /><a href="#security-except" title="Security">🛡️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/except"><img src="https://avatars.githubusercontent.com/u/26675576?v=4?s=100" width="100px;" alt="Hasan"/><br /><sub><b>Hasan</b></sub></a><br /><a href="#security-except" title="Security">🛡️</a></td>
|
||||||
<td align="center"><a href="http://blog.dchidell.com"><img src="https://avatars.githubusercontent.com/u/26146619?v=4?s=100" width="100px;" alt="David Chidell"/><br /><sub><b>David Chidell</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=dchidell" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://blog.dchidell.com"><img src="https://avatars.githubusercontent.com/u/26146619?v=4?s=100" width="100px;" alt="David Chidell"/><br /><sub><b>David Chidell</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=dchidell" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/mardom1"><img src="https://avatars.githubusercontent.com/u/32371724?v=4?s=100" width="100px;" alt="Marcel Marquardt"/><br /><sub><b>Marcel Marquardt</b></sub></a><br /><a href="https://github.com/authelia/authelia/issues?q=author%3Amardom1" title="Bug reports">🐛</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mardom1"><img src="https://avatars.githubusercontent.com/u/32371724?v=4?s=100" width="100px;" alt="Marcel Marquardt"/><br /><sub><b>Marcel Marquardt</b></sub></a><br /><a href="https://github.com/authelia/authelia/issues?q=author%3Amardom1" title="Bug reports">🐛</a></td>
|
||||||
<td align="center"><a href="https://cdine.org"><img src="https://avatars.githubusercontent.com/u/127512?v=4?s=100" width="100px;" alt="Ian Gallagher"/><br /><sub><b>Ian Gallagher</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=craSH" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://cdine.org"><img src="https://avatars.githubusercontent.com/u/127512?v=4?s=100" width="100px;" alt="Ian Gallagher"/><br /><sub><b>Ian Gallagher</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=craSH" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://wuhanstudio.cc"><img src="https://avatars.githubusercontent.com/u/15157070?v=4?s=100" width="100px;" alt="Wu Han"/><br /><sub><b>Wu Han</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=wuhanstudio" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://wuhanstudio.cc"><img src="https://avatars.githubusercontent.com/u/15157070?v=4?s=100" width="100px;" alt="Wu Han"/><br /><sub><b>Wu Han</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=wuhanstudio" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/lavih"><img src="https://avatars.githubusercontent.com/u/47455309?v=4?s=100" width="100px;" alt="lavih"/><br /><sub><b>lavih</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=lavih" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/lavih"><img src="https://avatars.githubusercontent.com/u/47455309?v=4?s=100" width="100px;" alt="lavih"/><br /><sub><b>lavih</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=lavih" title="Documentation">📖</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="http://jonbayl"><img src="https://avatars.githubusercontent.com/u/30201351?v=4?s=100" width="100px;" alt="Jon B. "/><br /><sub><b>Jon B. </b></sub></a><br /><a href="#security-jonbayl" title="Security">🛡️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://jonbayl"><img src="https://avatars.githubusercontent.com/u/30201351?v=4?s=100" width="100px;" alt="Jon B. "/><br /><sub><b>Jon B. </b></sub></a><br /><a href="#security-jonbayl" title="Security">🛡️</a></td>
|
||||||
<td align="center"><a href="https://github.com/AlexGustafsson"><img src="https://avatars.githubusercontent.com/u/14974112?v=4?s=100" width="100px;" alt="Alex Gustafsson"/><br /><sub><b>Alex Gustafsson</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=AlexGustafsson" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=AlexGustafsson" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/AlexGustafsson"><img src="https://avatars.githubusercontent.com/u/14974112?v=4?s=100" width="100px;" alt="Alex Gustafsson"/><br /><sub><b>Alex Gustafsson</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=AlexGustafsson" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=AlexGustafsson" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://www.aarsen.me/"><img src="https://avatars.githubusercontent.com/u/7805050?v=4?s=100" width="100px;" alt="Arsenović Arsen"/><br /><sub><b>Arsenović Arsen</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ArsenArsen" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=ArsenArsen" title="Tests">⚠️</a> <a href="#security-ArsenArsen" title="Security">🛡️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://www.aarsen.me/"><img src="https://avatars.githubusercontent.com/u/7805050?v=4?s=100" width="100px;" alt="Arsenović Arsen"/><br /><sub><b>Arsenović Arsen</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=ArsenArsen" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=ArsenArsen" title="Tests">⚠️</a> <a href="#security-ArsenArsen" title="Security">🛡️</a></td>
|
||||||
<td align="center"><a href="https://github.com/dakriy"><img src="https://avatars.githubusercontent.com/u/13756065?v=4?s=100" width="100px;" alt="dakriy"/><br /><sub><b>dakriy</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=dakriy" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dakriy"><img src="https://avatars.githubusercontent.com/u/13756065?v=4?s=100" width="100px;" alt="dakriy"/><br /><sub><b>dakriy</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=dakriy" title="Code">💻</a></td>
|
||||||
<td align="center"><a href="https://github.com/davama"><img src="https://avatars.githubusercontent.com/u/5359152?v=4?s=100" width="100px;" alt="Dave"/><br /><sub><b>Dave</b></sub></a><br /><a href="#userTesting-davama" title="User Testing">📓</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/davama"><img src="https://avatars.githubusercontent.com/u/5359152?v=4?s=100" width="100px;" alt="Dave"/><br /><sub><b>Dave</b></sub></a><br /><a href="#userTesting-davama" title="User Testing">📓</a></td>
|
||||||
<td align="center"><a href="https://github.com/nreymundo"><img src="https://avatars.githubusercontent.com/u/5833447?v=4?s=100" width="100px;" alt="Nicolas Reymundo"/><br /><sub><b>Nicolas Reymundo</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=nreymundo" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nreymundo"><img src="https://avatars.githubusercontent.com/u/5833447?v=4?s=100" width="100px;" alt="Nicolas Reymundo"/><br /><sub><b>Nicolas Reymundo</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=nreymundo" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/polandy"><img src="https://avatars.githubusercontent.com/u/3670670?v=4?s=100" width="100px;" alt="polandy"/><br /><sub><b>polandy</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=polandy" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/polandy"><img src="https://avatars.githubusercontent.com/u/3670670?v=4?s=100" width="100px;" alt="polandy"/><br /><sub><b>polandy</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=polandy" title="Documentation">📖</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/you1996"><img src="https://avatars.githubusercontent.com/u/45292366?v=4?s=100" width="100px;" alt="yossbg"/><br /><sub><b>yossbg</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=you1996" title="Code">💻</a> <a href="#design-you1996" title="Design">🎨</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/you1996"><img src="https://avatars.githubusercontent.com/u/45292366?v=4?s=100" width="100px;" alt="yossbg"/><br /><sub><b>yossbg</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=you1996" title="Code">💻</a> <a href="#design-you1996" title="Design">🎨</a></td>
|
||||||
<td align="center"><a href="https://github.com/mpdcampbell"><img src="https://avatars.githubusercontent.com/u/47434940?v=4?s=100" width="100px;" alt="Michael Campbell"/><br /><sub><b>Michael Campbell</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=mpdcampbell" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mpdcampbell"><img src="https://avatars.githubusercontent.com/u/47434940?v=4?s=100" width="100px;" alt="Michael Campbell"/><br /><sub><b>Michael Campbell</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=mpdcampbell" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://sievenpiper.co"><img src="https://avatars.githubusercontent.com/u/1131882?v=4?s=100" width="100px;" alt="Justin Sievenpiper"/><br /><sub><b>Justin Sievenpiper</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=jsievenpiper" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://sievenpiper.co"><img src="https://avatars.githubusercontent.com/u/1131882?v=4?s=100" width="100px;" alt="Justin Sievenpiper"/><br /><sub><b>Justin Sievenpiper</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=jsievenpiper" title="Code">💻</a></td>
|
||||||
<td align="center"><a href="https://github.com/kaysond"><img src="https://avatars.githubusercontent.com/u/1147328?v=4?s=100" width="100px;" alt="Aram Akhavan"/><br /><sub><b>Aram Akhavan</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=kaysond" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kaysond"><img src="https://avatars.githubusercontent.com/u/1147328?v=4?s=100" width="100px;" alt="Aram Akhavan"/><br /><sub><b>Aram Akhavan</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=kaysond" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://skhuf.net"><img src="https://avatars.githubusercontent.com/u/286341?v=4?s=100" width="100px;" alt="Shadow"/><br /><sub><b>Shadow</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=shadow7412" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://skhuf.net"><img src="https://avatars.githubusercontent.com/u/286341?v=4?s=100" width="100px;" alt="Shadow"/><br /><sub><b>Shadow</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=shadow7412" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/tarioch"><img src="https://avatars.githubusercontent.com/u/2998148?v=4?s=100" width="100px;" alt="Patrick Ruckstuhl"/><br /><sub><b>Patrick Ruckstuhl</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=tarioch" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tarioch"><img src="https://avatars.githubusercontent.com/u/2998148?v=4?s=100" width="100px;" alt="Patrick Ruckstuhl"/><br /><sub><b>Patrick Ruckstuhl</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=tarioch" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/FineWolf"><img src="https://avatars.githubusercontent.com/u/203591?v=4?s=100" width="100px;" alt="Andrew Moore"/><br /><sub><b>Andrew Moore</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=FineWolf" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=FineWolf" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/commits?author=FineWolf" title="Tests">⚠️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/FineWolf"><img src="https://avatars.githubusercontent.com/u/203591?v=4?s=100" width="100px;" alt="Andrew Moore"/><br /><sub><b>Andrew Moore</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=FineWolf" title="Code">💻</a> <a href="https://github.com/authelia/authelia/commits?author=FineWolf" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/commits?author=FineWolf" title="Tests">⚠️</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="http://www.dennisgaida.de"><img src="https://avatars.githubusercontent.com/u/2392217?v=4?s=100" width="100px;" alt="Dennis Gaida"/><br /><sub><b>Dennis Gaida</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=DennisGaida" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://www.dennisgaida.de"><img src="https://avatars.githubusercontent.com/u/2392217?v=4?s=100" width="100px;" alt="Dennis Gaida"/><br /><sub><b>Dennis Gaida</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=DennisGaida" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/Alestrix"><img src="https://avatars.githubusercontent.com/u/7452860?v=4?s=100" width="100px;" alt="Alestrix"/><br /><sub><b>Alestrix</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Alestrix" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Alestrix"><img src="https://avatars.githubusercontent.com/u/7452860?v=4?s=100" width="100px;" alt="Alestrix"/><br /><sub><b>Alestrix</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Alestrix" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/bgh-github"><img src="https://avatars.githubusercontent.com/u/99472455?v=4?s=100" width="100px;" alt="bgh-github"/><br /><sub><b>bgh-github</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=bgh-github" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/bgh-github"><img src="https://avatars.githubusercontent.com/u/99472455?v=4?s=100" width="100px;" alt="bgh-github"/><br /><sub><b>bgh-github</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=bgh-github" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/mind-ar"><img src="https://avatars.githubusercontent.com/u/10672208?v=4?s=100" width="100px;" alt="Manuel Nuñez"/><br /><sub><b>Manuel Nuñez</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=mind-ar" title="Code">💻</a> <a href="#translation-mind-ar" title="Translation">🌍</a> <a href="https://github.com/authelia/authelia/commits?author=mind-ar" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/issues?q=author%3Amind-ar" title="Bug reports">🐛</a> <a href="#design-mind-ar" title="Design">🎨</a> <a href="https://github.com/authelia/authelia/commits?author=mind-ar" title="Tests">⚠️</a> <a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3Amind-ar" title="Reviewed Pull Requests">👀</a> <a href="#research-mind-ar" title="Research">🔬</a> <a href="#ideas-mind-ar" title="Ideas, Planning, & Feedback">🤔</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mind-ar"><img src="https://avatars.githubusercontent.com/u/10672208?v=4?s=100" width="100px;" alt="Manuel Nuñez"/><br /><sub><b>Manuel Nuñez</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=mind-ar" title="Code">💻</a> <a href="#translation-mind-ar" title="Translation">🌍</a> <a href="https://github.com/authelia/authelia/commits?author=mind-ar" title="Documentation">📖</a> <a href="https://github.com/authelia/authelia/issues?q=author%3Amind-ar" title="Bug reports">🐛</a> <a href="#design-mind-ar" title="Design">🎨</a> <a href="https://github.com/authelia/authelia/commits?author=mind-ar" title="Tests">⚠️</a> <a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3Amind-ar" title="Reviewed Pull Requests">👀</a> <a href="#research-mind-ar" title="Research">🔬</a> <a href="#ideas-mind-ar" title="Ideas, Planning, & Feedback">🤔</a></td>
|
||||||
<td align="center"><a href="https://github.com/protvis74"><img src="https://avatars.githubusercontent.com/u/50554836?v=4?s=100" width="100px;" alt="protvis74"/><br /><sub><b>protvis74</b></sub></a><br /><a href="#translation-protvis74" title="Translation">🌍</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/protvis74"><img src="https://avatars.githubusercontent.com/u/50554836?v=4?s=100" width="100px;" alt="protvis74"/><br /><sub><b>protvis74</b></sub></a><br /><a href="#translation-protvis74" title="Translation">🌍</a></td>
|
||||||
<td align="center"><a href="http://itjamie.com"><img src="https://avatars.githubusercontent.com/u/1613241?v=4?s=100" width="100px;" alt="Jamie (Bear) Murphy "/><br /><sub><b>Jamie (Bear) Murphy </b></sub></a><br /><a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3AITJamie" title="Reviewed Pull Requests">👀</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://itjamie.com"><img src="https://avatars.githubusercontent.com/u/1613241?v=4?s=100" width="100px;" alt="Jamie (Bear) Murphy "/><br /><sub><b>Jamie (Bear) Murphy </b></sub></a><br /><a href="https://github.com/authelia/authelia/pulls?q=is%3Apr+reviewed-by%3AITJamie" title="Reviewed Pull Requests">👀</a></td>
|
||||||
<td align="center"><a href="https://github.com/Beanow"><img src="https://avatars.githubusercontent.com/u/497556?v=4?s=100" width="100px;" alt="Robin van Boven"/><br /><sub><b>Robin van Boven</b></sub></a><br /><a href="#security-Beanow" title="Security">🛡️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Beanow"><img src="https://avatars.githubusercontent.com/u/497556?v=4?s=100" width="100px;" alt="Robin van Boven"/><br /><sub><b>Robin van Boven</b></sub></a><br /><a href="#security-Beanow" title="Security">🛡️</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="http://www.cybertrol.com"><img src="https://avatars.githubusercontent.com/u/1178293?v=4?s=100" width="100px;" alt="alphabet5"/><br /><sub><b>alphabet5</b></sub></a><br /><a href="#ideas-alphabet5" title="Ideas, Planning, & Feedback">🤔</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://www.cybertrol.com"><img src="https://avatars.githubusercontent.com/u/1178293?v=4?s=100" width="100px;" alt="alphabet5"/><br /><sub><b>alphabet5</b></sub></a><br /><a href="#ideas-alphabet5" title="Ideas, Planning, & Feedback">🤔</a></td>
|
||||||
<td align="center"><a href="https://github.com/rjmidau"><img src="https://avatars.githubusercontent.com/u/8134995?v=4?s=100" width="100px;" alt="Robert Meredith"/><br /><sub><b>Robert Meredith</b></sub></a><br /><a href="#ideas-rjmidau" title="Ideas, Planning, & Feedback">🤔</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rjmidau"><img src="https://avatars.githubusercontent.com/u/8134995?v=4?s=100" width="100px;" alt="Robert Meredith"/><br /><sub><b>Robert Meredith</b></sub></a><br /><a href="#ideas-rjmidau" title="Ideas, Planning, & Feedback">🤔</a></td>
|
||||||
<td align="center"><a href="https://github.com/adriang-90"><img src="https://avatars.githubusercontent.com/u/60886162?v=4?s=100" width="100px;" alt="Adrian Gąsior"/><br /><sub><b>Adrian Gąsior</b></sub></a><br /><a href="#security-adriang-90" title="Security">🛡️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/adriang-90"><img src="https://avatars.githubusercontent.com/u/60886162?v=4?s=100" width="100px;" alt="Adrian Gąsior"/><br /><sub><b>Adrian Gąsior</b></sub></a><br /><a href="#security-adriang-90" title="Security">🛡️</a></td>
|
||||||
<td align="center"><a href="http://jamesw.link/me"><img src="https://avatars.githubusercontent.com/u/8067792?v=4?s=100" width="100px;" alt="James White"/><br /><sub><b>James White</b></sub></a><br /><a href="#question-jamesmacwhite" title="Answering Questions">💬</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://jamesw.link/me"><img src="https://avatars.githubusercontent.com/u/8067792?v=4?s=100" width="100px;" alt="James White"/><br /><sub><b>James White</b></sub></a><br /><a href="#question-jamesmacwhite" title="Answering Questions">💬</a></td>
|
||||||
<td align="center"><a href="https://www.zxlim.xyz"><img src="https://avatars.githubusercontent.com/u/19372079?v=4?s=100" width="100px;" alt="Zhao Xiang Lim"/><br /><sub><b>Zhao Xiang Lim</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=zxlim" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://www.zxlim.xyz"><img src="https://avatars.githubusercontent.com/u/19372079?v=4?s=100" width="100px;" alt="Zhao Xiang Lim"/><br /><sub><b>Zhao Xiang Lim</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=zxlim" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/Auzborn123"><img src="https://avatars.githubusercontent.com/u/42992103?v=4?s=100" width="100px;" alt="Auzborn123"/><br /><sub><b>Auzborn123</b></sub></a><br /><a href="#translation-Auzborn123" title="Translation">🌍</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Auzborn123"><img src="https://avatars.githubusercontent.com/u/42992103?v=4?s=100" width="100px;" alt="Auzborn123"/><br /><sub><b>Auzborn123</b></sub></a><br /><a href="#translation-Auzborn123" title="Translation">🌍</a></td>
|
||||||
<td align="center"><a href="https://github.com/SvanGlan"><img src="https://avatars.githubusercontent.com/u/106152205?v=4?s=100" width="100px;" alt="SvanGlan"/><br /><sub><b>SvanGlan</b></sub></a><br /><a href="#translation-SvanGlan" title="Translation">🌍</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/SvanGlan"><img src="https://avatars.githubusercontent.com/u/106152205?v=4?s=100" width="100px;" alt="SvanGlan"/><br /><sub><b>SvanGlan</b></sub></a><br /><a href="#translation-SvanGlan" title="Translation">🌍</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/HannesJo0139"><img src="https://avatars.githubusercontent.com/u/42114183?v=4?s=100" width="100px;" alt="HannesJo0139"/><br /><sub><b>HannesJo0139</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=HannesJo0139" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/HannesJo0139"><img src="https://avatars.githubusercontent.com/u/42114183?v=4?s=100" width="100px;" alt="HannesJo0139"/><br /><sub><b>HannesJo0139</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=HannesJo0139" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/andreas-berg"><img src="https://avatars.githubusercontent.com/u/39428693?v=4?s=100" width="100px;" alt="andreas-berg"/><br /><sub><b>andreas-berg</b></sub></a><br /><a href="https://github.com/authelia/authelia/issues?q=author%3Aandreas-berg" title="Bug reports">🐛</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/andreas-berg"><img src="https://avatars.githubusercontent.com/u/39428693?v=4?s=100" width="100px;" alt="andreas-berg"/><br /><sub><b>andreas-berg</b></sub></a><br /><a href="https://github.com/authelia/authelia/issues?q=author%3Aandreas-berg" title="Bug reports">🐛</a></td>
|
||||||
<td align="center"><a href="http://radenac.me"><img src="https://avatars.githubusercontent.com/u/47008408?v=4?s=100" width="100px;" alt="Clément Radenac"/><br /><sub><b>Clément Radenac</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=clem3109" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://radenac.me"><img src="https://avatars.githubusercontent.com/u/47008408?v=4?s=100" width="100px;" alt="Clément Radenac"/><br /><sub><b>Clément Radenac</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=clem3109" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/boomam"><img src="https://avatars.githubusercontent.com/u/37086258?v=4?s=100" width="100px;" alt="boomam"/><br /><sub><b>boomam</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=boomam" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/boomam"><img src="https://avatars.githubusercontent.com/u/37086258?v=4?s=100" width="100px;" alt="boomam"/><br /><sub><b>boomam</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=boomam" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/Northguy"><img src="https://avatars.githubusercontent.com/u/1189058?v=4?s=100" width="100px;" alt="Northguy"/><br /><sub><b>Northguy</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Northguy" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Northguy"><img src="https://avatars.githubusercontent.com/u/1189058?v=4?s=100" width="100px;" alt="Northguy"/><br /><sub><b>Northguy</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Northguy" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/polarathene"><img src="https://avatars.githubusercontent.com/u/5098581?v=4?s=100" width="100px;" alt="Brennan Kinney"/><br /><sub><b>Brennan Kinney</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=polarathene" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/polarathene"><img src="https://avatars.githubusercontent.com/u/5098581?v=4?s=100" width="100px;" alt="Brennan Kinney"/><br /><sub><b>Brennan Kinney</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=polarathene" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/LongerHV"><img src="https://avatars.githubusercontent.com/u/46924944?v=4?s=100" width="100px;" alt="Michał Mieszczak"/><br /><sub><b>Michał Mieszczak</b></sub></a><br /><a href="#ideas-LongerHV" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/authelia/authelia/commits?author=LongerHV" title="Code">💻</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/LongerHV"><img src="https://avatars.githubusercontent.com/u/46924944?v=4?s=100" width="100px;" alt="Michał Mieszczak"/><br /><sub><b>Michał Mieszczak</b></sub></a><br /><a href="#ideas-LongerHV" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/authelia/authelia/commits?author=LongerHV" title="Code">💻</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/paul-ohl"><img src="https://avatars.githubusercontent.com/u/37795294?v=4?s=100" width="100px;" alt="Paul Ohl"/><br /><sub><b>Paul Ohl</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=paul-ohl" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/paul-ohl"><img src="https://avatars.githubusercontent.com/u/37795294?v=4?s=100" width="100px;" alt="Paul Ohl"/><br /><sub><b>Paul Ohl</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=paul-ohl" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/smkent"><img src="https://avatars.githubusercontent.com/u/2831985?v=4?s=100" width="100px;" alt="Stephen Kent"/><br /><sub><b>Stephen Kent</b></sub></a><br /><a href="#ideas-smkent" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/authelia/authelia/commits?author=smkent" title="Code">💻</a> <a href="#design-smkent" title="Design">🎨</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/smkent"><img src="https://avatars.githubusercontent.com/u/2831985?v=4?s=100" width="100px;" alt="Stephen Kent"/><br /><sub><b>Stephen Kent</b></sub></a><br /><a href="#ideas-smkent" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/authelia/authelia/commits?author=smkent" title="Code">💻</a> <a href="#design-smkent" title="Design">🎨</a></td>
|
||||||
<td align="center"><a href="https://github.com/Ohelig"><img src="https://avatars.githubusercontent.com/u/5841980?v=4?s=100" width="100px;" alt="Ohelig"/><br /><sub><b>Ohelig</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Ohelig" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Ohelig"><img src="https://avatars.githubusercontent.com/u/5841980?v=4?s=100" width="100px;" alt="Ohelig"/><br /><sub><b>Ohelig</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=Ohelig" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/chillinPanda"><img src="https://avatars.githubusercontent.com/u/250694?v=4?s=100" width="100px;" alt="Dinh Bao Dang"/><br /><sub><b>Dinh Bao Dang</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=chillinPanda" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/chillinPanda"><img src="https://avatars.githubusercontent.com/u/250694?v=4?s=100" width="100px;" alt="Dinh Bao Dang"/><br /><sub><b>Dinh Bao Dang</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=chillinPanda" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="https://github.com/levkoburburas"><img src="https://avatars.githubusercontent.com/u/62853952?v=4?s=100" width="100px;" alt="levkoburburas"/><br /><sub><b>levkoburburas</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=levkoburburas" title="Code">💻</a> <a href="#ideas-levkoburburas" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/authelia/authelia/issues?q=author%3Alevkoburburas" title="Bug reports">🐛</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/levkoburburas"><img src="https://avatars.githubusercontent.com/u/62853952?v=4?s=100" width="100px;" alt="levkoburburas"/><br /><sub><b>levkoburburas</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=levkoburburas" title="Code">💻</a> <a href="#ideas-levkoburburas" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/authelia/authelia/issues?q=author%3Alevkoburburas" title="Bug reports">🐛</a></td>
|
||||||
<td align="center"><a href="https://github.com/tiuub"><img src="https://avatars.githubusercontent.com/u/46517077?v=4?s=100" width="100px;" alt="tiuub"/><br /><sub><b>tiuub</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=tiuub" title="Documentation">📖</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tiuub"><img src="https://avatars.githubusercontent.com/u/46517077?v=4?s=100" width="100px;" alt="tiuub"/><br /><sub><b>tiuub</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=tiuub" title="Documentation">📖</a></td>
|
||||||
<td align="center"><a href="http://joshgordon.net"><img src="https://avatars.githubusercontent.com/u/2125341?v=4?s=100" width="100px;" alt="Josh Gordon"/><br /><sub><b>Josh Gordon</b></sub></a><br /><a href="#ideas-joshgordon" title="Ideas, Planning, & Feedback">🤔</a> <a href="#security-joshgordon" title="Security">🛡️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="http://joshgordon.net"><img src="https://avatars.githubusercontent.com/u/2125341?v=4?s=100" width="100px;" alt="Josh Gordon"/><br /><sub><b>Josh Gordon</b></sub></a><br /><a href="#ideas-joshgordon" title="Ideas, Planning, & Feedback">🤔</a> <a href="#security-joshgordon" title="Security">🛡️</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><a href="https://github.com/silasfrancisco"><img src="https://avatars.githubusercontent.com/u/84447762?v=4?s=100" width="100px;" alt="silasfrancisco"/><br /><sub><b>silasfrancisco</b></sub></a><br /><a href="#security-silasfrancisco" title="Security">🛡️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/silasfrancisco"><img src="https://avatars.githubusercontent.com/u/84447762?v=4?s=100" width="100px;" alt="silasfrancisco"/><br /><sub><b>silasfrancisco</b></sub></a><br /><a href="#security-silasfrancisco" title="Security">🛡️</a></td>
|
||||||
<td align="center"><a href="https://github.com/n4m3l3ss-b0t"><img src="https://avatars.githubusercontent.com/u/1162710?v=4?s=100" width="100px;" alt="Ricardo Pesqueira"/><br /><sub><b>Ricardo Pesqueira</b></sub></a><br /><a href="#security-n4m3l3ss-b0t" title="Security">🛡️</a></td>
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/n4m3l3ss-b0t"><img src="https://avatars.githubusercontent.com/u/1162710?v=4?s=100" width="100px;" alt="Ricardo Pesqueira"/><br /><sub><b>Ricardo Pesqueira</b></sub></a><br /><a href="#security-n4m3l3ss-b0t" title="Security">🛡️</a></td>
|
||||||
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/HaroldVB"><img src="https://avatars.githubusercontent.com/u/73724671?v=4?s=100" width="100px;" alt="Harold"/><br /><sub><b>Harold</b></sub></a><br /><a href="https://github.com/authelia/authelia/commits?author=HaroldVB" title="Documentation">📖</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -399,7 +400,7 @@ Companies contributing to Authelia via Open Collective will have a special menti
|
||||||
[TOTP]: https://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm
|
[TOTP]: https://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm
|
||||||
[FIDO2]: https://www.yubico.com/authentication-standards/fido2/
|
[FIDO2]: https://www.yubico.com/authentication-standards/fido2/
|
||||||
[YubiKey]: https://www.yubico.com/products/yubikey-5-overview/
|
[YubiKey]: https://www.yubico.com/products/yubikey-5-overview/
|
||||||
[Webauthn]: https://www.yubico.com/authentication-standards/webauthn/
|
[WebAuthn]: https://www.yubico.com/authentication-standards/webauthn/
|
||||||
[auth_request]: https://nginx.org/en/docs/http/ngx_http_auth_request_module.html
|
[auth_request]: https://nginx.org/en/docs/http/ngx_http_auth_request_module.html
|
||||||
[config.template.yml]: ./config.template.yml
|
[config.template.yml]: ./config.template.yml
|
||||||
[nginx]: https://www.authelia.com/integration/proxies/nginx/
|
[nginx]: https://www.authelia.com/integration/proxies/nginx/
|
||||||
|
|
|
@ -29,9 +29,9 @@ tags:
|
||||||
- name: User Information
|
- name: User Information
|
||||||
description: User configuration endpoints
|
description: User configuration endpoints
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if (or .TOTP .Webauthn .Duo) }}
|
{{- if (or .TOTP .WebAuthn .Duo) }}
|
||||||
- name: Second Factor
|
- name: Second Factor
|
||||||
description: TOTP, Webauthn and Duo endpoints
|
description: TOTP, WebAuthn and Duo endpoints
|
||||||
externalDocs:
|
externalDocs:
|
||||||
url: https://www.authelia.com/configuration/second-factor/introduction/
|
url: https://www.authelia.com/configuration/second-factor/introduction/
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -155,7 +155,7 @@ paths:
|
||||||
example: '{{ $.Domain | default "example.com" }}'
|
example: '{{ $.Domain | default "example.com" }}'
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
- name: X-Forwarded-Uri
|
- name: X-Forwarded-URI
|
||||||
in: header
|
in: header
|
||||||
description: Redirection URL (URI)
|
description: Redirection URL (URI)
|
||||||
required: false
|
required: false
|
||||||
|
@ -200,6 +200,9 @@ paths:
|
||||||
location:
|
location:
|
||||||
description: Redirect Location for user authorization
|
description: Redirect Location for user authorization
|
||||||
example: '{{ $redir }}'
|
example: '{{ $redir }}'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
set-cookie:
|
set-cookie:
|
||||||
description: Sets a new cookie value
|
description: Sets a new cookie value
|
||||||
schema:
|
schema:
|
||||||
|
@ -210,6 +213,9 @@ paths:
|
||||||
location:
|
location:
|
||||||
description: Redirect Location for user authorization
|
description: Redirect Location for user authorization
|
||||||
example: '{{ $redir }}'
|
example: '{{ $redir }}'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
set-cookie:
|
set-cookie:
|
||||||
description: Sets a new cookie value
|
description: Sets a new cookie value
|
||||||
schema:
|
schema:
|
||||||
|
@ -273,6 +279,9 @@ paths:
|
||||||
location:
|
location:
|
||||||
description: Redirect Location for user authorization
|
description: Redirect Location for user authorization
|
||||||
example: '{{ $redir }}'
|
example: '{{ $redir }}'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
set-cookie:
|
set-cookie:
|
||||||
description: Sets a new cookie value
|
description: Sets a new cookie value
|
||||||
schema:
|
schema:
|
||||||
|
@ -283,6 +292,9 @@ paths:
|
||||||
location:
|
location:
|
||||||
description: Redirect Location for user authorization
|
description: Redirect Location for user authorization
|
||||||
example: '{{ $redir }}'
|
example: '{{ $redir }}'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
set-cookie:
|
set-cookie:
|
||||||
description: Sets a new cookie value
|
description: Sets a new cookie value
|
||||||
schema:
|
schema:
|
||||||
|
@ -342,6 +354,9 @@ paths:
|
||||||
location:
|
location:
|
||||||
description: Redirect Location for user authorization
|
description: Redirect Location for user authorization
|
||||||
example: '{{ $redir }}'
|
example: '{{ $redir }}'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
set-cookie:
|
set-cookie:
|
||||||
description: Sets a new cookie value
|
description: Sets a new cookie value
|
||||||
schema:
|
schema:
|
||||||
|
@ -352,6 +367,9 @@ paths:
|
||||||
location:
|
location:
|
||||||
description: Redirect Location for user authorization
|
description: Redirect Location for user authorization
|
||||||
example: '{{ $redir }}'
|
example: '{{ $redir }}'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
set-cookie:
|
set-cookie:
|
||||||
description: Sets a new cookie value
|
description: Sets a new cookie value
|
||||||
schema:
|
schema:
|
||||||
|
@ -411,6 +429,9 @@ paths:
|
||||||
location:
|
location:
|
||||||
description: Redirect Location for user authorization
|
description: Redirect Location for user authorization
|
||||||
example: '{{ $redir }}'
|
example: '{{ $redir }}'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
set-cookie:
|
set-cookie:
|
||||||
description: Sets a new cookie value
|
description: Sets a new cookie value
|
||||||
schema:
|
schema:
|
||||||
|
@ -721,13 +742,13 @@ paths:
|
||||||
security:
|
security:
|
||||||
- authelia_auth: []
|
- authelia_auth: []
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Webauthn }}
|
{{- if .WebAuthn }}
|
||||||
/api/secondfactor/webauthn/assertion:
|
/api/secondfactor/webauthn/assertion:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- Second Factor
|
- Second Factor
|
||||||
summary: Second Factor Authentication - Webauthn (Request)
|
summary: Second Factor Authentication - WebAuthn (Request)
|
||||||
description: This endpoint starts the second factor authentication process with the FIDO2 Webauthn credential.
|
description: This endpoint starts the second factor authentication process with the FIDO2 WebAuthn credential.
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful Operation
|
description: Successful Operation
|
||||||
|
@ -742,8 +763,8 @@ paths:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Second Factor
|
- Second Factor
|
||||||
summary: Second Factor Authentication - Webauthn
|
summary: Second Factor Authentication - WebAuthn
|
||||||
description: This endpoint completes the second factor authentication process with the FIDO2 Webauthn credential.
|
description: This endpoint completes the second factor authentication process with the FIDO2 WebAuthn credential.
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
|
@ -765,9 +786,9 @@ paths:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Second Factor
|
- Second Factor
|
||||||
summary: Identity Verification Webauthn Credential Creation
|
summary: Identity Verification WebAuthn Credential Creation
|
||||||
description: >
|
description: >
|
||||||
This endpoint performs identity verification to begin the FIDO2 Webauthn credential attestation process
|
This endpoint performs identity verification to begin the FIDO2 WebAuthn credential attestation process
|
||||||
(registration).
|
(registration).
|
||||||
|
|
||||||
The session generated from this endpoint must be utilised for the subsequent steps in the
|
The session generated from this endpoint must be utilised for the subsequent steps in the
|
||||||
|
@ -785,9 +806,9 @@ paths:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Second Factor
|
- Second Factor
|
||||||
summary: Identity Verification FIDO2 Webauthn Credential Validation
|
summary: Identity Verification FIDO2 WebAuthn Credential Validation
|
||||||
description: >
|
description: >
|
||||||
This endpoint performs identity and token verification, upon success generates a FIDO2 Webauthn device
|
This endpoint performs identity and token verification, upon success generates a FIDO2 WebAuthn device
|
||||||
attestation challenge (registration).
|
attestation challenge (registration).
|
||||||
|
|
||||||
The session cookie generated from the `/api/secondfactor/webauthn/identity/start` endpoint must be utilised
|
The session cookie generated from the `/api/secondfactor/webauthn/identity/start` endpoint must be utilised
|
||||||
|
@ -811,8 +832,8 @@ paths:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Second Factor
|
- Second Factor
|
||||||
summary: Webauthn Credential Attestation
|
summary: WebAuthn Credential Attestation
|
||||||
description: This endpoint performs Webauthn credential attestation (registration).
|
description: This endpoint performs WebAuthn credential attestation (registration).
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
|
@ -1494,7 +1515,7 @@ components:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
forwardedURIParam:
|
forwardedURIParam:
|
||||||
name: X-Forwarded-Uri
|
name: X-Forwarded-URI
|
||||||
in: header
|
in: header
|
||||||
description: Redirection URL (URI)
|
description: Redirection URL (URI)
|
||||||
required: true
|
required: true
|
||||||
|
@ -1878,7 +1899,7 @@ components:
|
||||||
type: string
|
type: string
|
||||||
example: 'otpauth://totp/{{ .Domain | default "example.com" }}:john?algorithm=SHA1&digits=6&issuer=auth.{{ .Domain | default "example.com" }}&period=30&secret=5ZH7Y5CTFWOXN7EOLGBMMXADRNQFHVUDZSYKCN5HMFAIRSLAWY3Q'
|
example: 'otpauth://totp/{{ .Domain | default "example.com" }}:john?algorithm=SHA1&digits=6&issuer=auth.{{ .Domain | default "example.com" }}&period=30&secret=5ZH7Y5CTFWOXN7EOLGBMMXADRNQFHVUDZSYKCN5HMFAIRSLAWY3Q'
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Webauthn }}
|
{{- if .WebAuthn }}
|
||||||
webauthn.PublicKeyCredential:
|
webauthn.PublicKeyCredential:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
|
@ -12,7 +12,8 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"gopkg.in/yaml.v3"
|
"github.com/valyala/fasthttp"
|
||||||
|
yaml "gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
func newDocsDateCmd() *cobra.Command {
|
func newDocsDateCmd() *cobra.Command {
|
||||||
|
@ -24,7 +25,7 @@ func newDocsDateCmd() *cobra.Command {
|
||||||
DisableAutoGenTag: true,
|
DisableAutoGenTag: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.Flags().String("commit-until", "HEAD", "The commit to check the logs until")
|
cmd.Flags().String("commit-until", fasthttp.MethodHead, "The commit to check the logs until")
|
||||||
cmd.Flags().String("commit-since", "", "The commit to check the logs since")
|
cmd.Flags().String("commit-since", "", "The commit to check the logs since")
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
|
@ -86,7 +87,17 @@ func docsDateRunE(cmd *cobra.Command, args []string) (err error) {
|
||||||
)
|
)
|
||||||
|
|
||||||
if value, ok := frontmatter["date"]; ok {
|
if value, ok := frontmatter["date"]; ok {
|
||||||
date = value.(time.Time)
|
date, ok = value.(time.Time)
|
||||||
|
|
||||||
|
if !ok {
|
||||||
|
var abspath string
|
||||||
|
|
||||||
|
if abspath, err = filepath.Abs(path); err != nil {
|
||||||
|
abspath = path
|
||||||
|
}
|
||||||
|
|
||||||
|
return fmt.Errorf("frontmatter for %s has an invalid date value: is %T with a value of %s", abspath, value, value)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dateGit := getDateFromGit(cwd, abs, commitFilter)
|
dateGit := getDateFromGit(cwd, abs, commitFilter)
|
||||||
|
|
|
@ -61,6 +61,24 @@ func rootSubCommandsRunE(cmd *cobra.Command, args []string) (err error) {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
subCmds := sortCmds(cmd)
|
||||||
|
|
||||||
|
for _, subCmd := range subCmds {
|
||||||
|
if subCmd.Use == cmdUseCompletion || strings.HasPrefix(subCmd.Use, "help ") || utils.IsStringSliceContainsAny([]string{resolveCmdName(subCmd), subCmd.Use}, exclude) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
rootCmd.SetArgs(rootCmdGetArgs(subCmd, args))
|
||||||
|
|
||||||
|
if err = rootCmd.Execute(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func sortCmds(cmd *cobra.Command) []*cobra.Command {
|
||||||
subCmds := cmd.Commands()
|
subCmds := cmd.Commands()
|
||||||
|
|
||||||
switch cmd.Use {
|
switch cmd.Use {
|
||||||
|
@ -90,19 +108,7 @@ func rootSubCommandsRunE(cmd *cobra.Command, args []string) (err error) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, subCmd := range subCmds {
|
return subCmds
|
||||||
if subCmd.Use == cmdUseCompletion || strings.HasPrefix(subCmd.Use, "help ") || utils.IsStringSliceContainsAny([]string{resolveCmdName(subCmd), subCmd.Use}, exclude) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
rootCmd.SetArgs(rootCmdGetArgs(subCmd, args))
|
|
||||||
|
|
||||||
if err = rootCmd.Execute(); err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func resolveCmdName(cmd *cobra.Command) string {
|
func resolveCmdName(cmd *cobra.Command) string {
|
||||||
|
@ -117,7 +123,7 @@ func resolveCmdName(cmd *cobra.Command) string {
|
||||||
|
|
||||||
func rootCmdGetArgs(cmd *cobra.Command, args []string) []string {
|
func rootCmdGetArgs(cmd *cobra.Command, args []string) []string {
|
||||||
for {
|
for {
|
||||||
if cmd == rootCmd {
|
if cmd == nil || cmd == rootCmd {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,125 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/spf13/cobra"
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestResolveCmdName(t *testing.T) {
|
||||||
|
testCases := []struct {
|
||||||
|
name string
|
||||||
|
have *cobra.Command
|
||||||
|
expected string
|
||||||
|
}{
|
||||||
|
{
|
||||||
|
"ShouldResolveRootCmd",
|
||||||
|
newRootCmd(),
|
||||||
|
"authelia-gen",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldResolveDocsCmd",
|
||||||
|
newDocsCmd(),
|
||||||
|
"docs",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldResolveDocsSubCmd",
|
||||||
|
newRootCmd().Commands()[0].Commands()[0],
|
||||||
|
"code.keys",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, tc := range testCases {
|
||||||
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
|
assert.Equal(t, tc.expected, resolveCmdName(tc.have))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestRootCmdGetArgs(t *testing.T) {
|
||||||
|
testCases := []struct {
|
||||||
|
name string
|
||||||
|
have func() *cobra.Command
|
||||||
|
args []string
|
||||||
|
expected []string
|
||||||
|
}{
|
||||||
|
{
|
||||||
|
"ShouldReturnRootCmdArgs",
|
||||||
|
func() *cobra.Command {
|
||||||
|
cmd := newRootCmd()
|
||||||
|
|
||||||
|
cmd.SetArgs([]string{"a", "b"})
|
||||||
|
|
||||||
|
return cmd.Commands()[0]
|
||||||
|
},
|
||||||
|
[]string{"c", "d"},
|
||||||
|
[]string{"authelia-gen", "code", "c", "d"},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldReturnRootCmdWithoutArgs",
|
||||||
|
func() *cobra.Command {
|
||||||
|
cmd := newRootCmd()
|
||||||
|
|
||||||
|
return cmd.Commands()[0]
|
||||||
|
},
|
||||||
|
nil,
|
||||||
|
[]string{"authelia-gen", "code"},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, tc := range testCases {
|
||||||
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
|
assert.Equal(t, tc.expected, rootCmdGetArgs(tc.have(), tc.args))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestSortCmds(t *testing.T) {
|
||||||
|
testCases := []struct {
|
||||||
|
name string
|
||||||
|
have *cobra.Command
|
||||||
|
expected []string
|
||||||
|
}{
|
||||||
|
{
|
||||||
|
"ShouldSortRootCmd",
|
||||||
|
newRootCmd(),
|
||||||
|
[]string{"code", "commit-lint", "github", "locales", "docs"},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldSortDocsCmd",
|
||||||
|
newDocsCmd(),
|
||||||
|
[]string{"cli", "data", "date"},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldSortGitHubCmd",
|
||||||
|
newGitHubCmd(),
|
||||||
|
[]string{"issue-templates"},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldSortLocalesCmd",
|
||||||
|
newLocalesCmd(),
|
||||||
|
nil,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldSortDocsDataCmd",
|
||||||
|
newDocsDataCmd(),
|
||||||
|
[]string{"keys", "misc"},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, tc := range testCases {
|
||||||
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
|
actual := sortCmds(tc.have)
|
||||||
|
|
||||||
|
n := len(tc.expected)
|
||||||
|
|
||||||
|
require.Len(t, actual, n)
|
||||||
|
|
||||||
|
for i := 0; i < n; i++ {
|
||||||
|
assert.Equal(t, tc.expected[i], actual[i].Use)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
|
@ -62,6 +62,10 @@ var decodedTypes = []reflect.Type{
|
||||||
reflect.TypeOf(url.URL{}),
|
reflect.TypeOf(url.URL{}),
|
||||||
reflect.TypeOf(time.Duration(0)),
|
reflect.TypeOf(time.Duration(0)),
|
||||||
reflect.TypeOf(schema.Address{}),
|
reflect.TypeOf(schema.Address{}),
|
||||||
|
reflect.TypeOf(schema.AddressTCP{}),
|
||||||
|
reflect.TypeOf(schema.AddressUDP{}),
|
||||||
|
reflect.TypeOf(schema.AddressLDAP{}),
|
||||||
|
reflect.TypeOf(schema.AddressSMTP{}),
|
||||||
reflect.TypeOf(schema.X509CertificateChain{}),
|
reflect.TypeOf(schema.X509CertificateChain{}),
|
||||||
reflect.TypeOf(schema.PasswordDigest{}),
|
reflect.TypeOf(schema.PasswordDigest{}),
|
||||||
reflect.TypeOf(rsa.PrivateKey{}),
|
reflect.TypeOf(rsa.PrivateKey{}),
|
||||||
|
|
|
@ -0,0 +1,145 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"net/mail"
|
||||||
|
"reflect"
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/spf13/pflag"
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
|
"github.com/authelia/authelia/v4/internal/configuration/schema"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestGetPFlagPath(t *testing.T) {
|
||||||
|
testCases := []struct {
|
||||||
|
name string
|
||||||
|
have func(t *testing.T) *pflag.FlagSet
|
||||||
|
names []string
|
||||||
|
expected string
|
||||||
|
err string
|
||||||
|
}{
|
||||||
|
{
|
||||||
|
"ShouldFailEmptyFlagSet",
|
||||||
|
func(t *testing.T) *pflag.FlagSet {
|
||||||
|
return pflag.NewFlagSet("example", pflag.ContinueOnError)
|
||||||
|
},
|
||||||
|
[]string{"abc", "123"},
|
||||||
|
"",
|
||||||
|
"failed to lookup flag 'abc': flag accessed but not defined: abc",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldFailEmptyFlagNames",
|
||||||
|
func(t *testing.T) *pflag.FlagSet {
|
||||||
|
return pflag.NewFlagSet("example", pflag.ContinueOnError)
|
||||||
|
},
|
||||||
|
nil,
|
||||||
|
"",
|
||||||
|
"no flag names",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldLookupFlagNames",
|
||||||
|
func(t *testing.T) *pflag.FlagSet {
|
||||||
|
flagset := pflag.NewFlagSet("example", pflag.ContinueOnError)
|
||||||
|
|
||||||
|
flagset.String("dir.one", "", "")
|
||||||
|
flagset.String("dir.two", "", "")
|
||||||
|
flagset.String("file.name", "", "")
|
||||||
|
|
||||||
|
require.NoError(t, flagset.Parse([]string{"--dir.one=abc", "--dir.two=123", "--file.name=path.txt"}))
|
||||||
|
|
||||||
|
return flagset
|
||||||
|
},
|
||||||
|
[]string{"dir.one", "dir.two", "file.name"},
|
||||||
|
"abc/123/path.txt",
|
||||||
|
"",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, tc := range testCases {
|
||||||
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
|
actual, theError := getPFlagPath(tc.have(t), tc.names...)
|
||||||
|
|
||||||
|
if tc.err == "" {
|
||||||
|
assert.NoError(t, theError)
|
||||||
|
assert.Equal(t, tc.expected, actual)
|
||||||
|
} else {
|
||||||
|
assert.EqualError(t, theError, tc.err)
|
||||||
|
assert.Equal(t, "", actual)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestBuildCSP(t *testing.T) {
|
||||||
|
testCases := []struct {
|
||||||
|
name string
|
||||||
|
have string
|
||||||
|
ruleSets [][]CSPValue
|
||||||
|
expected string
|
||||||
|
}{
|
||||||
|
{
|
||||||
|
"ShouldParseDefault",
|
||||||
|
codeCSPProductionDefaultSrc,
|
||||||
|
[][]CSPValue{
|
||||||
|
codeCSPValuesCommon,
|
||||||
|
codeCSPValuesProduction,
|
||||||
|
},
|
||||||
|
"default-src 'self'; frame-src 'none'; object-src 'none'; style-src 'self' 'nonce-%s'; frame-ancestors 'none'; base-uri 'self'",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, tc := range testCases {
|
||||||
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
|
assert.Equal(t, tc.expected, buildCSP(tc.have, tc.ruleSets...))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestContainsType(t *testing.T) {
|
||||||
|
astring := ""
|
||||||
|
|
||||||
|
testCases := []struct {
|
||||||
|
name string
|
||||||
|
have any
|
||||||
|
expected bool
|
||||||
|
}{
|
||||||
|
{
|
||||||
|
"ShouldContainMailAddress",
|
||||||
|
mail.Address{},
|
||||||
|
true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldContainSchemaAddressPtr",
|
||||||
|
&schema.Address{},
|
||||||
|
true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldNotContainString",
|
||||||
|
astring,
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldNotContainStringPtr",
|
||||||
|
&astring,
|
||||||
|
false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, tc := range testCases {
|
||||||
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
|
assert.Equal(t, tc.expected, containsType(reflect.TypeOf(tc.have), decodedTypes))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestReadTags(t *testing.T) {
|
||||||
|
assert.NotPanics(t, func() {
|
||||||
|
readTags("", reflect.TypeOf(schema.Configuration{}), false)
|
||||||
|
})
|
||||||
|
|
||||||
|
assert.NotPanics(t, func() {
|
||||||
|
readTags("", reflect.TypeOf(schema.Configuration{}), true)
|
||||||
|
})
|
||||||
|
}
|
|
@ -107,11 +107,56 @@ BREAKING CHANGE: <breaking change summary>
|
||||||
<BLANK LINE>
|
<BLANK LINE>
|
||||||
<BLANK LINE>
|
<BLANK LINE>
|
||||||
Fixes #<issue number>
|
Fixes #<issue number>
|
||||||
|
|
||||||
|
Signed-off-by: <AUTHOR>
|
||||||
```
|
```
|
||||||
|
|
||||||
Breaking Change section should start with the phrase "BREAKING CHANGE: " followed by a summary of the breaking change, a
|
Breaking Change section should start with the phrase "BREAKING CHANGE: " followed by a summary of the breaking change, a
|
||||||
blank line, and a detailed description of the breaking change that also includes migration instructions.
|
blank line, and a detailed description of the breaking change that also includes migration instructions.
|
||||||
|
|
||||||
|
#### Developer Certificate of Origin
|
||||||
|
|
||||||
|
The footer *__MUST__* include the formal and conventional notation indicating the users acceptance of the
|
||||||
|
[Developer Certificate of Origin](https://developercertificate.org/) as described by the following agreement:
|
||||||
|
|
||||||
|
```text
|
||||||
|
Developer's Certificate of Origin 1.1
|
||||||
|
|
||||||
|
By making a contribution to this project, I certify that:
|
||||||
|
|
||||||
|
(a) The contribution was created in whole or in part by me and I
|
||||||
|
have the right to submit it under the open source license
|
||||||
|
indicated in the file; or
|
||||||
|
|
||||||
|
(b) The contribution is based upon previous work that, to the best
|
||||||
|
of my knowledge, is covered under an appropriate open source
|
||||||
|
license and I have the right under that license to submit that
|
||||||
|
work with modifications, whether created in whole or in part
|
||||||
|
by me, under the same open source license (unless I am
|
||||||
|
permitted to submit under a different license), as indicated
|
||||||
|
in the file; or
|
||||||
|
|
||||||
|
(c) The contribution was provided directly to me by some other
|
||||||
|
person who certified (a), (b) or (c) and I have not modified
|
||||||
|
it.
|
||||||
|
|
||||||
|
(d) I understand and agree that this project and the contribution
|
||||||
|
are public and that a record of the contribution (including all
|
||||||
|
personal information I submit with it, including my sign-off) is
|
||||||
|
maintained indefinitely and may be redistributed consistent with
|
||||||
|
this project or the open source license(s) involved.
|
||||||
|
```
|
||||||
|
|
||||||
|
This can be achieved in the following ways:
|
||||||
|
|
||||||
|
- While making the commit use `git commit --signoff` or `git commit -s`
|
||||||
|
- To correct a single commit missing the sign off `git commit –-amend --no-edit --signoff` or `git commit --amend --no-edit -s`
|
||||||
|
- To correct multiple commits missing the sign off `git rebase --signoff HEAD~2` (i.e. with 2 commits that are missing the sign off)
|
||||||
|
|
||||||
|
This can be achieved by using `git commit --signoff`. A single previous commit can be signed using
|
||||||
|
`git commit –-amend --signoff --no-edit`. Multiple previous commits can be signed using `git rebase --signoff HEAD~2`
|
||||||
|
i.e. when 2 previous commits require the sign off.
|
||||||
|
|
||||||
### Revert Commits
|
### Revert Commits
|
||||||
|
|
||||||
If the commit reverts a previous commit, it should begin with `revert:`, followed by the header of the reverted commit.
|
If the commit reverts a previous commit, it should begin with `revert:`, followed by the header of the reverted commit.
|
||||||
|
@ -132,6 +177,8 @@ This in turn will cause issues when attempting to utilise the log with the provi
|
||||||
We now override any TTY detection/logging treatments and disable coloring/removal of the timestamp when a user is utilising the text based logger to a file.
|
We now override any TTY detection/logging treatments and disable coloring/removal of the timestamp when a user is utilising the text based logger to a file.
|
||||||
|
|
||||||
Fixes #1480.
|
Fixes #1480.
|
||||||
|
|
||||||
|
Signed-off-by: John Smith <jsmith@org.com>
|
||||||
```
|
```
|
||||||
|
|
||||||
This document is based on [AngularJS Git Commit Message Format].
|
This document is based on [AngularJS Git Commit Message Format].
|
||||||
|
|
|
@ -19,6 +19,8 @@ module.exports = {
|
||||||
{{- end }}
|
{{- end }}
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
"signed-off-by": [2, "always", "Signed-off-by:"],
|
||||||
|
"trailer-exists": [2, "always", "Signed-off-by:"],
|
||||||
},
|
},
|
||||||
defaultIgnores: true,
|
defaultIgnores: true,
|
||||||
helpUrl: "https://www.authelia.com/contributing/guidelines/commit-message/",
|
helpUrl: "https://www.authelia.com/contributing/guidelines/commit-message/",
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
name: Bug Report
|
name: 'Bug Report'
|
||||||
description: Report a bug
|
description: 'Report a bug'
|
||||||
labels:
|
labels:
|
||||||
{{- range .Labels }}
|
{{- range .Labels }}
|
||||||
- {{ . }}
|
- '{{ . }}'
|
||||||
{{- end }}
|
{{- end }}
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: 'markdown'
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for taking the time to fill out this bug report. If you are unsure if this is actually a bug and you still need some form of support we generally recommend creating a [Question and Answer Discussion](https://github.com/authelia/authelia/discussions/new?category=q-a) first.
|
Thanks for taking the time to fill out this bug report. If you are unsure if this is actually a bug and you still need some form of support we generally recommend creating a [Question and Answer Discussion](https://github.com/authelia/authelia/discussions/new?category=q-a) first.
|
||||||
|
@ -17,123 +17,160 @@ body:
|
||||||
2. Please try to give as much information as possible for us to be able to reproduce the issue and provide a quick fix.
|
2. Please try to give as much information as possible for us to be able to reproduce the issue and provide a quick fix.
|
||||||
3. Please ensure an issue does not already exist for this potential bug.
|
3. Please ensure an issue does not already exist for this potential bug.
|
||||||
4. Please only provide specific versions. Latest is not a version.
|
4. Please only provide specific versions. Latest is not a version.
|
||||||
5. Please read the [Troubleshooting Sanitization](https://www.authelia.com/r/sanitize) reference guide if you plan on sanitizing, removing, or adjusting any values for the logs or configuration files.
|
5. Please only report bugs with Authelia itself. Issues which match one of the following criteria should not be reported here but should be a [discussion](https://github.com/authelia/authelia/discussions/new/choose) instead:
|
||||||
6. Please consider including a [HTTP Archive File](https://www.authelia.com/r/har) if you're having redirection issues.
|
- Bugs with third-party software.
|
||||||
- type: dropdown
|
- Mistakes in the documentation.
|
||||||
id: version
|
- Potential bugs where it is not somewhat clear that it's a bug with Authelia itself.
|
||||||
|
6. Please read the [Troubleshooting](https://www.authelia.com/r/troubleshooting) reference guide:
|
||||||
|
- Do not truncate any logs unless you are complying with the specific instructions in the [Logs](https://www.authelia.com/r/troubleshooting#logs) section.
|
||||||
|
- If you plan on sanitizing, removing, or adjusting any values for the logs or configuration files please read the [Sanitization](https://www.authelia.com/r/troubleshooting#sanitization) section.
|
||||||
|
7. Please consider including a [HTTP Archive File](https://www.authelia.com/r/har) if you're having redirection issues.
|
||||||
|
- type: 'dropdown'
|
||||||
|
id: 'version'
|
||||||
attributes:
|
attributes:
|
||||||
label: Version
|
label: |
|
||||||
description: What version(s) of Authelia can you reproduce this bug on?
|
Version
|
||||||
|
description: |
|
||||||
|
What version(s) of Authelia can you reproduce this bug on?
|
||||||
multiple: true
|
multiple: true
|
||||||
options:
|
options:
|
||||||
{{- range .Versions }}
|
{{- range .Versions }}
|
||||||
- {{ . }}
|
- '{{ . }}'
|
||||||
{{- end }}
|
{{- end }}
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: dropdown
|
- type: 'dropdown'
|
||||||
id: deployment
|
id: 'deployment'
|
||||||
attributes:
|
attributes:
|
||||||
label: Deployment Method
|
label: |
|
||||||
description: How are you deploying Authelia?
|
Deployment Method
|
||||||
|
description: |
|
||||||
|
How are you deploying Authelia?
|
||||||
options:
|
options:
|
||||||
- Docker
|
- 'Docker'
|
||||||
- Kubernetes
|
- 'Kubernetes'
|
||||||
- Bare-metal
|
- 'Bare-metal'
|
||||||
- Other
|
- 'Other'
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: dropdown
|
- type: 'dropdown'
|
||||||
id: proxy
|
id: 'proxy'
|
||||||
attributes:
|
attributes:
|
||||||
label: Reverse Proxy
|
label: |
|
||||||
description: What reverse proxy are you using?
|
Reverse Proxy
|
||||||
|
description: |
|
||||||
|
What reverse proxy are you using?
|
||||||
options:
|
options:
|
||||||
{{- range .Proxies }}
|
{{- range .Proxies }}
|
||||||
- {{ . }}
|
- '{{ . }}'
|
||||||
{{- end }}
|
{{- end }}
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: 'input'
|
||||||
id: proxy-version
|
id: 'proxy-version'
|
||||||
attributes:
|
attributes:
|
||||||
label: Reverse Proxy Version
|
label: |
|
||||||
description: What is the version of your reverse proxy?
|
Reverse Proxy Version
|
||||||
placeholder: x.x.x
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: textarea
|
|
||||||
id: description
|
|
||||||
attributes:
|
|
||||||
label: Description
|
|
||||||
description: Describe the bug
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: reproduction
|
|
||||||
attributes:
|
|
||||||
label: Reproduction
|
|
||||||
description: Describe how we can reproduce this issue
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: expectations
|
|
||||||
attributes:
|
|
||||||
label: Expectations
|
|
||||||
description: Describe the desired or expected results
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: textarea
|
|
||||||
id: configuration
|
|
||||||
attributes:
|
|
||||||
label: Configuration (Authelia)
|
|
||||||
description: Provide a complete configuration file (the template will automatically put this content in a code block)
|
|
||||||
render: yaml
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: textarea
|
|
||||||
id: logs
|
|
||||||
attributes:
|
|
||||||
label: Logs (Authelia)
|
|
||||||
description: |
|
description: |
|
||||||
Provide complete logs with the log level set to debug or trace. Complete means from application start until the
|
What is the version of your reverse proxy?
|
||||||
issue occurring. The template will automatically put this content in a code block so you can just paste it.
|
placeholder: 'x.x.x'
|
||||||
render: shell
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'description'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Description
|
||||||
|
description: |
|
||||||
|
Describe the bug.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: logs-other
|
id: 'reproduction'
|
||||||
attributes:
|
attributes:
|
||||||
label: Logs (Proxy / Application)
|
label: |
|
||||||
description: Provide complete debug logs for the affected proxy and/or application if available and relevant (the template will automatically put this content in a code block)
|
Reproduction
|
||||||
render: shell
|
description: |
|
||||||
|
Describe how we can reproduce this issue. This should be step by step and should include detailed and specific information. Abstract or generic information should be avoided. For example this should include specific application names and versions if relevant. Reproducing the issue is important so we can verify it exists, add relevant tests, and verify it is solved.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'expectations'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Expectations
|
||||||
|
description: |
|
||||||
|
Describe the desired or expected results.
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: documentation
|
id: 'configuration'
|
||||||
attributes:
|
attributes:
|
||||||
label: Documentation
|
label: |
|
||||||
description: Provide any relevant specification or other documentation if applicable
|
Configuration (Authelia)
|
||||||
|
description: |
|
||||||
|
Provide a complete configuration file (the template will automatically put this content in a code block).
|
||||||
|
render: 'yaml'
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
- type: checkboxes
|
- type: 'textarea'
|
||||||
id: checklist
|
id: 'logs'
|
||||||
attributes:
|
attributes:
|
||||||
label: Pre-Submission Checklist
|
label: |
|
||||||
description: By submitting this issue confirm all of the following
|
Logs (Authelia)
|
||||||
|
description: |
|
||||||
|
Provide complete logs with the log level set to debug or trace. Complete means from application start until the issue occurring. This is clearly explained in the [Logs](https://www.authelia.com/r/troubleshooting#logs) section of the troubleshooting guide.
|
||||||
|
|
||||||
|
The template will automatically put this content in a code block so you can just paste it.
|
||||||
|
render: 'shell'
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'logs-other'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Logs (Proxy / Application)
|
||||||
|
description: |
|
||||||
|
Provide complete debug logs for the affected proxy and/or application if available and relevant (the template will automatically put this content in a code block).
|
||||||
|
render: 'shell'
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: 'textarea'
|
||||||
|
id: 'documentation'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Documentation
|
||||||
|
description: |
|
||||||
|
Provide any relevant specification or other documentation if applicable.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: 'checkboxes'
|
||||||
|
id: 'checklist'
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
Pre-Submission Checklist
|
||||||
|
description: |
|
||||||
|
By submitting this issue confirm all of the following.
|
||||||
options:
|
options:
|
||||||
- label: I agree to follow the [Code of Conduct](http://www.authelia.com/code-of-conduct)
|
- label: |
|
||||||
|
I agree to follow the [Code of Conduct](http://www.authelia.com/code-of-conduct)
|
||||||
required: true
|
required: true
|
||||||
- label: This is a bug report and not a support request
|
- label: |
|
||||||
|
This is a bug report and not a support request
|
||||||
required: true
|
required: true
|
||||||
- label: I have read the security policy and this bug report is not a security issue or security related issue
|
- label: |
|
||||||
|
I have read the security policy and this bug report is not a security issue or security related issue
|
||||||
required: true
|
required: true
|
||||||
- label: I have either included the complete configuration file or I am sure it's unrelated to the configuration
|
- label: |
|
||||||
|
I have either included the complete configuration file or I am sure it's unrelated to the configuration
|
||||||
required: true
|
required: true
|
||||||
- label: I have provided all of the required information in full with the only alteration being reasonable sanitization in accordance with the [Troubleshooting Sanitization](https://www.authelia.com/r/sanitize) reference guide
|
- label: |
|
||||||
|
I have provided all of the required information in full with the only alteration being reasonable sanitization in accordance with the [Troubleshooting Sanitization](https://www.authelia.com/r/sanitize) reference guide
|
||||||
required: true
|
required: true
|
||||||
- label: I have checked for related proxy or application logs and included them if available
|
- label: |
|
||||||
|
I have checked for related proxy or application logs and included them if available
|
||||||
required: true
|
required: true
|
||||||
- label: I have checked for related issues and checked the documentation
|
- label: |
|
||||||
|
I have checked for related issues and checked the documentation
|
||||||
required: true
|
required: true
|
||||||
...
|
...
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
name: Feature Request
|
name: 'Feature Request'
|
||||||
description: Submit a Feature Request
|
description: 'Submit a Feature Request'
|
||||||
labels:
|
labels:
|
||||||
{{- range .Labels }}
|
{{- range .Labels }}
|
||||||
- {{ . }}
|
- '{{ . }}'
|
||||||
{{- end }}
|
{{- end }}
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: 'markdown'
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for taking the time to fill out this feature request. A feature request is created as issue for the purpose of tracking the design and implementation of a feature.
|
Thanks for taking the time to fill out this feature request. A feature request is created as issue for the purpose of tracking the design and implementation of a feature.
|
||||||
|
@ -16,42 +16,54 @@ body:
|
||||||
1. Ensure there are no other similar feature requests.
|
1. Ensure there are no other similar feature requests.
|
||||||
2. Make sure you've checked the [Documentation](https://www.authelia.com) doesn't clearly document the features existence already.
|
2. Make sure you've checked the [Documentation](https://www.authelia.com) doesn't clearly document the features existence already.
|
||||||
3. Consider creating an [Idea Discussion](https://github.com/authelia/authelia/discussions/new?category=ideas) which can be voted on instead if one doesn't exist.
|
3. Consider creating an [Idea Discussion](https://github.com/authelia/authelia/discussions/new?category=ideas) which can be voted on instead if one doesn't exist.
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: description
|
id: 'description'
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: |
|
||||||
description: Describe the feature
|
Description
|
||||||
|
description: |
|
||||||
|
Describe the feature
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: use-case
|
id: 'use-case'
|
||||||
attributes:
|
attributes:
|
||||||
label: Use Case
|
label: |
|
||||||
description: Provide a use case
|
Use Case
|
||||||
|
description: |
|
||||||
|
Provide a use case
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: details
|
id: 'details'
|
||||||
attributes:
|
attributes:
|
||||||
label: Details
|
label: |
|
||||||
description: Describe the feature in detail
|
Details
|
||||||
|
description: |
|
||||||
|
Describe the feature in detail
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
- type: textarea
|
- type: 'textarea'
|
||||||
id: documentation
|
id: 'documentation'
|
||||||
attributes:
|
attributes:
|
||||||
label: Documentation
|
label: |
|
||||||
description: Provide any relevant specification or other documentation if applicable
|
Documentation
|
||||||
|
description: |
|
||||||
|
Provide any relevant specification or other documentation if applicable
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
- type: checkboxes
|
- type: 'checkboxes'
|
||||||
id: checklist
|
id: 'checklist'
|
||||||
attributes:
|
attributes:
|
||||||
label: Pre-Submission Checklist
|
label: |
|
||||||
description: By submitting this issue confirm all of the following
|
Pre-Submission Checklist
|
||||||
|
description: |
|
||||||
|
By submitting this issue confirm all of the following
|
||||||
options:
|
options:
|
||||||
- label: I agree to follow the [Code of Conduct](http://www.authelia.com/code-of-conduct)
|
- label: |
|
||||||
|
I agree to follow the [Code of Conduct](http://www.authelia.com/code-of-conduct)
|
||||||
required: true
|
required: true
|
||||||
- label: I have checked for related issues and checked the documentation
|
- label: |
|
||||||
|
I have checked for related issues and checked the documentation
|
||||||
required: true
|
required: true
|
||||||
...
|
...
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestShouldFailToLoadBadTemplate(t *testing.T) {
|
||||||
|
assert.Panics(t, func() {
|
||||||
|
mustLoadTmplFS("bad tmpl")
|
||||||
|
})
|
||||||
|
}
|
|
@ -120,6 +120,11 @@ const (
|
||||||
labelAreaPrefixStatus = "status"
|
labelAreaPrefixStatus = "status"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type label interface {
|
||||||
|
String() string
|
||||||
|
LabelDescription() string
|
||||||
|
}
|
||||||
|
|
||||||
type labelPriority int
|
type labelPriority int
|
||||||
|
|
||||||
//nolint:deadcode,varcheck // Kept for future use.
|
//nolint:deadcode,varcheck // Kept for future use.
|
||||||
|
@ -129,6 +134,7 @@ const (
|
||||||
labelPriorityMedium
|
labelPriorityMedium
|
||||||
labelPriorityNormal
|
labelPriorityNormal
|
||||||
labelPriorityLow
|
labelPriorityLow
|
||||||
|
labelPriorityVeryLow
|
||||||
)
|
)
|
||||||
|
|
||||||
var labelPriorityDescriptions = [...]string{
|
var labelPriorityDescriptions = [...]string{
|
||||||
|
@ -137,14 +143,15 @@ var labelPriorityDescriptions = [...]string{
|
||||||
"Medium",
|
"Medium",
|
||||||
"Normal",
|
"Normal",
|
||||||
"Low",
|
"Low",
|
||||||
|
"Very Low",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p labelPriority) String() string {
|
func (l labelPriority) String() string {
|
||||||
return fmt.Sprintf("%s/%d/%s", labelAreaPrefixPriority, p+1, strings.ToLower(labelPriorityDescriptions[p]))
|
return fmt.Sprintf("%s/%d/%s", labelAreaPrefixPriority, l+1, labelFormatString(labelPriorityDescriptions[l]))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p labelPriority) Description() string {
|
func (l labelPriority) LabelDescription() string {
|
||||||
return labelPriorityDescriptions[p]
|
return labelPriorityDescriptions[l]
|
||||||
}
|
}
|
||||||
|
|
||||||
type labelStatus int
|
type labelStatus int
|
||||||
|
@ -155,12 +162,16 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
var labelStatusDescriptions = [...]string{
|
var labelStatusDescriptions = [...]string{
|
||||||
"needs-design",
|
"Needs Design",
|
||||||
"needs-triage",
|
"Needs Triage",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s labelStatus) String() string {
|
func (l labelStatus) String() string {
|
||||||
return fmt.Sprintf("%s/%s", labelAreaPrefixStatus, labelStatusDescriptions[s])
|
return fmt.Sprintf("%s/%s", labelAreaPrefixStatus, labelFormatString(labelStatusDescriptions[l]))
|
||||||
|
}
|
||||||
|
|
||||||
|
func (l labelStatus) LabelDescription() string {
|
||||||
|
return labelStatusDescriptions[l]
|
||||||
}
|
}
|
||||||
|
|
||||||
type labelType int
|
type labelType int
|
||||||
|
@ -173,13 +184,24 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
var labelTypeDescriptions = [...]string{
|
var labelTypeDescriptions = [...]string{
|
||||||
"feature",
|
"Feature",
|
||||||
"bug/unconfirmed",
|
"Bug: Unconfirmed",
|
||||||
"bug",
|
"Bug",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t labelType) String() string {
|
func (l labelType) String() string {
|
||||||
return fmt.Sprintf("%s/%s", labelAreaPrefixType, labelTypeDescriptions[t])
|
return fmt.Sprintf("%s/%s", labelAreaPrefixType, labelFormatString(labelTypeDescriptions[l]))
|
||||||
|
}
|
||||||
|
|
||||||
|
func (l labelType) LabelDescription() string {
|
||||||
|
return labelTypeDescriptions[l]
|
||||||
|
}
|
||||||
|
|
||||||
|
func labelFormatString(in string) string {
|
||||||
|
in = strings.ReplaceAll(in, ": ", "/")
|
||||||
|
in = strings.ReplaceAll(in, " ", "-")
|
||||||
|
|
||||||
|
return strings.ToLower(in)
|
||||||
}
|
}
|
||||||
|
|
||||||
// CSPValue represents individual CSP values.
|
// CSPValue represents individual CSP values.
|
||||||
|
|
|
@ -0,0 +1,90 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestLabels(t *testing.T) {
|
||||||
|
testCases := []struct {
|
||||||
|
name string
|
||||||
|
have label
|
||||||
|
expectedDescription string
|
||||||
|
expectedString string
|
||||||
|
}{
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectPriorityCriticalValues",
|
||||||
|
labelPriorityCritical,
|
||||||
|
"Critical",
|
||||||
|
"priority/1/critical",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectPriorityHighValues",
|
||||||
|
labelPriorityHigh,
|
||||||
|
"High",
|
||||||
|
"priority/2/high",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectPriorityMediumValues",
|
||||||
|
labelPriorityMedium,
|
||||||
|
"Medium",
|
||||||
|
"priority/3/medium",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectPriorityNormalValues",
|
||||||
|
labelPriorityNormal,
|
||||||
|
"Normal",
|
||||||
|
"priority/4/normal",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectPriorityLowValues",
|
||||||
|
labelPriorityLow,
|
||||||
|
"Low",
|
||||||
|
"priority/5/low",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectPriorityVeryLowValues",
|
||||||
|
labelPriorityVeryLow,
|
||||||
|
"Very Low",
|
||||||
|
"priority/6/very-low",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectStatusNeedsDesignValues",
|
||||||
|
labelStatusNeedsDesign,
|
||||||
|
"Needs Design",
|
||||||
|
"status/needs-design",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectStatusNeedsTriageValues",
|
||||||
|
labelStatusNeedsTriage,
|
||||||
|
"Needs Triage",
|
||||||
|
"status/needs-triage",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectTypeFeatureValues",
|
||||||
|
labelTypeFeature,
|
||||||
|
"Feature",
|
||||||
|
"type/feature",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectTypeBugUnconfirmedValues",
|
||||||
|
labelTypeBugUnconfirmed,
|
||||||
|
"Bug: Unconfirmed",
|
||||||
|
"type/bug/unconfirmed",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ShouldShowCorrectTypeBugValues",
|
||||||
|
labelTypeBug,
|
||||||
|
"Bug",
|
||||||
|
"type/bug",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, tc := range testCases {
|
||||||
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
|
assert.Equal(t, tc.expectedString, tc.have.String())
|
||||||
|
assert.Equal(t, tc.expectedDescription, tc.have.LabelDescription())
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
|
@ -7,5 +7,5 @@
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
const (
|
const (
|
||||||
versionSwaggerUI = "4.18.2"
|
versionSwaggerUI = "5.0.0"
|
||||||
)
|
)
|
||||||
|
|
1180
config.template.yml
1180
config.template.yml
File diff suppressed because it is too large
Load Diff
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
pull_request_title: "i18n: update translations"
|
pull_request_title: 'i18n: update translations'
|
||||||
commit_message: "i18n: update translation for %original_file_name% (%language%)"
|
commit_message: 'i18n: update translation for %original_file_name% (%language%)'
|
||||||
append_commit_message: false
|
append_commit_message: false
|
||||||
files:
|
files:
|
||||||
- source: /internal/server/locales/en/*
|
- source: '/internal/server/locales/en/*'
|
||||||
translation: /internal/server/locales/%locale%/%original_file_name%
|
translation: '/internal/server/locales/%locale%/%original_file_name%'
|
||||||
skip_untranslated_files: true
|
skip_untranslated_files: true
|
||||||
...
|
...
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
"extends": "stylelint-config-standard-scss",
|
"extends": "stylelint-config-standard-scss",
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-empty-source": null,
|
"no-empty-source": null,
|
||||||
"string-quotes": "double",
|
|
||||||
"scss/comment-no-empty": null,
|
"scss/comment-no-empty": null,
|
||||||
"max-line-length": null,
|
"max-line-length": null,
|
||||||
"scss/at-extend-no-missing-placeholder": null,
|
"scss/at-extend-no-missing-placeholder": null,
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
|
|
||||||
/** Import Bootstrap Icons */
|
/** Import Bootstrap Icons */
|
||||||
$bootstrap-icons-font-file: "./fonts/bootstrap-icons";
|
$bootstrap-icons-font-file: "./fonts/bootstrap-icons";
|
||||||
|
|
||||||
|
/* stylelint-disable-next-line scss/at-import-partial-extension */
|
||||||
@import "bootstrap-icons/font/bootstrap-icons.scss";
|
@import "bootstrap-icons/font/bootstrap-icons.scss";
|
||||||
|
|
||||||
/** Import highlight.js */
|
/** Import highlight.js */
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
baseurl = "https://authelia-staging.netlify.app/"
|
baseurl = "https://authelia-next.netlify.app/"
|
||||||
|
|
|
@ -31,14 +31,14 @@ with all major proxies supported excluding Microsoft IIS.
|
||||||
[Envoy]: https://www.envoyproxy.io/
|
[Envoy]: https://www.envoyproxy.io/
|
||||||
[Istio]: https://istio.io/
|
[Istio]: https://istio.io/
|
||||||
|
|
||||||
## OpenID Connect Improvements
|
## OpenID Connect 1.0 Improvements
|
||||||
|
|
||||||
Several items from the [OpenID Connect Roadmap](../../roadmap/active/openid-connect.md) are being checked off in this
|
Several items from the [OpenID Connect 1.0 Roadmap](../../roadmap/active/openid-connect.md) are being checked off in this
|
||||||
release.
|
release.
|
||||||
|
|
||||||
### Hashed Client Secrets
|
### Hashed Client Secrets
|
||||||
|
|
||||||
We'll be supporting hashed OpenID Connect client secrets in this release. People will still be able to use plaintext
|
We'll be supporting hashed OpenID Connect 1.0 client secrets in this release. People will still be able to use plaintext
|
||||||
secrets if they wish however we'll be recommending people utilize PBKDF2, BCrypt or SHA512 SHA2CRYPT (see
|
secrets if they wish however we'll be recommending people utilize PBKDF2, BCrypt or SHA512 SHA2CRYPT (see
|
||||||
[Password Algorithms](#password-algorithms) for a full compatibility list). This doesn't change anything for OpenID
|
[Password Algorithms](#password-algorithms) for a full compatibility list). This doesn't change anything for OpenID
|
||||||
Connect Relying Parties, it only requires a change in the Authelia configuration.
|
Connect Relying Parties, it only requires a change in the Authelia configuration.
|
||||||
|
|
|
@ -42,16 +42,64 @@ specific scenarios._
|
||||||
The following contains information on getting access to the pre-production builds of 4.38.0.
|
The following contains information on getting access to the pre-production builds of 4.38.0.
|
||||||
|
|
||||||
_**Note:** We strongly recommend people who wish to try the beta builds make backups of their proxy configuration,
|
_**Note:** We strongly recommend people who wish to try the beta builds make backups of their proxy configuration,
|
||||||
authelia configuration, and authelia database prior to attempting to do so._
|
Authelia configuration, and Authelia database prior to attempting to do so._
|
||||||
|
|
||||||
|
### 4.38.0-beta2
|
||||||
|
|
||||||
|
This is a quick release before we start merging the TOTP and WebAuthn improvements. Once these are merged another beta
|
||||||
|
will be released and then shortly after the release will be officially published.
|
||||||
|
|
||||||
|
Notable Missing Features from this build:
|
||||||
|
|
||||||
|
- Multi-Device Webauthn
|
||||||
|
- Device Registration OTP
|
||||||
|
|
||||||
|
Actual Builds:
|
||||||
|
|
||||||
|
- Container Images:
|
||||||
|
- [docker.io/authelia/authelia:v4.38.0-beta2](https://hub.docker.com/layers/authelia/authelia/v4.38.0-beta2/images/sha256-e02b645853db2cbd371c6bc8a80333718c830dcf7f3b5ec8c14d8178ea04cb78?context=explore)
|
||||||
|
- [ghcr.io/authelia/authelia:v4.38.0-beta2](https://github.com/authelia/authelia/pkgs/container/authelia/85646062?tag=v4.38.0-beta2)
|
||||||
|
- [Binaries](https://buildkite.com/authelia/authelia/builds/19741)
|
||||||
|
- [Documentation](https://deploy-preview-5250--authelia-staging.netlify.app/)
|
||||||
|
|
||||||
|
Major Documentation Changes:
|
||||||
|
|
||||||
|
- [LDAP](https://deploy-preview-5250--authelia-staging.netlify.app/configuration/first-factor/ldap/)
|
||||||
|
- [Reference Guide](https://deploy-preview-5250--authelia-staging.netlify.app/reference/guides/ldap/)
|
||||||
|
- [Server](https://deploy-preview-5250--authelia-staging.netlify.app/configuration/miscellaneous/server/)
|
||||||
|
- [Authz Endpoints](https://deploy-preview-5250--authelia-staging.netlify.app/configuration/miscellaneous/server-endpoints-authz/)
|
||||||
|
- [Reference Guide](https://deploy-preview-5250--authelia-staging.netlify.app/reference/guides/proxy-authorization/)
|
||||||
|
- [Session](https://deploy-preview-5250--authelia-staging.netlify.app/configuration/session/introduction/)
|
||||||
|
- [Configuration Files](https://deploy-preview-5250--authelia-staging.netlify.app/configuration/methods/files/)
|
||||||
|
- [Proxy Integration](https://deploy-preview-5250--authelia-staging.netlify.app/integration/proxies/introduction/)
|
||||||
|
- [Caddy](https://deploy-preview-5250--authelia-staging.netlify.app/integration/proxies/caddy/)
|
||||||
|
- [Envoy](https://deploy-preview-5250--authelia-staging.netlify.app/integration/proxies/envoy/)
|
||||||
|
- [HAProxy](https://deploy-preview-5250--authelia-staging.netlify.app/integration/proxies/haproxy/)
|
||||||
|
- [NGINX](https://deploy-preview-5250--authelia-staging.netlify.app/integration/proxies/nginx/)
|
||||||
|
- [Traefik](https://deploy-preview-5250--authelia-staging.netlify.app/integration/proxies/traefik/)
|
||||||
|
- [Kubernetes Integration](https://deploy-preview-5250--authelia-staging.netlify.app/integration/kubernetes/introduction/)
|
||||||
|
- [Traefik Ingress](https://deploy-preview-5250--authelia-staging.netlify.app/integration/kubernetes/traefik-ingress/)
|
||||||
|
- [Istio](https://deploy-preview-5250--authelia-staging.netlify.app/integration/kubernetes/istio/)
|
||||||
|
- [NGINX Ingress](https://deploy-preview-5250--authelia-staging.netlify.app/integration/kubernetes/nginx-ingress/)
|
||||||
|
- [Templating Reference Guide](https://deploy-preview-5250--authelia-staging.netlify.app/reference/guides/templating/)
|
||||||
|
|
||||||
### 4.38.0-beta1
|
### 4.38.0-beta1
|
||||||
|
|
||||||
Notable Missing Features from this build:
|
Notable Missing Features from this build:
|
||||||
|
|
||||||
- OpenID Connect 1.0 PAR
|
- OpenID Connect 1.0
|
||||||
|
- Pushed Authorization Requests
|
||||||
|
- Client Authentication Modes
|
||||||
|
- Additional Client Validations
|
||||||
- Multi-Device WebAuthn
|
- Multi-Device WebAuthn
|
||||||
- Device Registration OTP
|
- Device Registration OTP
|
||||||
|
|
||||||
|
Known Bugs:
|
||||||
|
|
||||||
|
- WebAuthn doesn't work. Fixed in master or 4.38.0-beta2
|
||||||
|
|
||||||
|
Actual Builds:
|
||||||
|
|
||||||
- Container Images:
|
- Container Images:
|
||||||
- [docker.io/authelia/authelia:v4.38.0-beta1](https://hub.docker.com/layers/authelia/authelia/v4.38.0-beta1/images/sha256-53faae6b6a0616f71f1f77069237d92969433b0037b9825be12852e013812bd0?context=explore)
|
- [docker.io/authelia/authelia:v4.38.0-beta1](https://hub.docker.com/layers/authelia/authelia/v4.38.0-beta1/images/sha256-53faae6b6a0616f71f1f77069237d92969433b0037b9825be12852e013812bd0?context=explore)
|
||||||
- [ghcr.io/authelia/authelia:v4.38.0-beta1](https://github.com/authelia/authelia/pkgs/container/authelia/65909221?tag=v4.38.0-beta1)
|
- [ghcr.io/authelia/authelia:v4.38.0-beta1](https://github.com/authelia/authelia/pkgs/container/authelia/65909221?tag=v4.38.0-beta1)
|
||||||
|
@ -67,12 +115,10 @@ Major Documentation Changes:
|
||||||
- [Reference Guide](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/reference/guides/proxy-authorization/)
|
- [Reference Guide](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/reference/guides/proxy-authorization/)
|
||||||
- [Session](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/configuration/session/introduction/)
|
- [Session](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/configuration/session/introduction/)
|
||||||
- [Configuration Files](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/configuration/methods/files/)
|
- [Configuration Files](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/configuration/methods/files/)
|
||||||
- [Configuration Files](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/configuration/methods/files/)
|
|
||||||
- [Proxy Integration](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/introduction/)
|
- [Proxy Integration](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/introduction/)
|
||||||
- [Caddy](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/caddy/)
|
- [Caddy](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/caddy/)
|
||||||
- [Envoy](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/envoy/)
|
- [Envoy](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/envoy/)
|
||||||
- [HAProxy](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/haproxy/)
|
- [HAProxy](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/haproxy/)
|
||||||
- [HAProxy](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/haproxy/)
|
|
||||||
- [NGINX](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/nginx/)
|
- [NGINX](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/nginx/)
|
||||||
- [Traefik](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/traefik/)
|
- [Traefik](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/proxies/traefik/)
|
||||||
- [Kubernetes Integration](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/kubernetes/introduction/)
|
- [Kubernetes Integration](https://63d20934fa12200009e12cbf--authelia-staging.netlify.app/integration/kubernetes/introduction/)
|
||||||
|
@ -137,6 +183,17 @@ These features combined with our requirement for the HTTPS scheme are very power
|
||||||
[OpenID Connect 1.0]: https://openid.net/
|
[OpenID Connect 1.0]: https://openid.net/
|
||||||
[Pushed Authorization Requests]: https://oauth.net/2/pushed-authorization-requests/
|
[Pushed Authorization Requests]: https://oauth.net/2/pushed-authorization-requests/
|
||||||
|
|
||||||
|
##### Client Authentication Method (Token Endpoint)
|
||||||
|
|
||||||
|
This release will allow administrators to optionally configure the Client Authentication Method for the Token Endpoint,
|
||||||
|
restricting the client usage of the token endpoint and paving the way to more advanced Client Authentication Methods.
|
||||||
|
|
||||||
|
##### Additional Client Validations
|
||||||
|
|
||||||
|
This release will add additional client configuration validations for various elements which are not technically
|
||||||
|
compatible. It's important to note that these likely will become errors but are currently just warnings.
|
||||||
|
|
||||||
|
|
||||||
## Multi-Domain Protection
|
## Multi-Domain Protection
|
||||||
|
|
||||||
In this release we are releasing the main implementation of the Multi-Domain Protection roadmap item.
|
In this release we are releasing the main implementation of the Multi-Domain Protection roadmap item.
|
||||||
|
|
|
@ -16,18 +16,20 @@ aliases:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
authentication_backend:
|
authentication_backend:
|
||||||
file:
|
file:
|
||||||
path: /config/users.yml
|
path: '/config/users.yml'
|
||||||
watch: false
|
watch: false
|
||||||
search:
|
search:
|
||||||
email: false
|
email: false
|
||||||
case_insensitive: false
|
case_insensitive: false
|
||||||
password:
|
password:
|
||||||
algorithm: argon2
|
algorithm: 'argon2'
|
||||||
argon2:
|
argon2:
|
||||||
variant: argon2id
|
variant: 'argon2id'
|
||||||
iterations: 3
|
iterations: 3
|
||||||
memory: 65536
|
memory: 65536
|
||||||
parallelism: 4
|
parallelism: 4
|
||||||
|
@ -40,20 +42,22 @@ authentication_backend:
|
||||||
key_length: 32
|
key_length: 32
|
||||||
salt_length: 16
|
salt_length: 16
|
||||||
pbkdf2:
|
pbkdf2:
|
||||||
variant: sha512
|
variant: 'sha512'
|
||||||
iterations: 310000
|
iterations: 310000
|
||||||
salt_length: 16
|
salt_length: 16
|
||||||
sha2crypt:
|
sha2crypt:
|
||||||
variant: sha512
|
variant: 'sha512'
|
||||||
iterations: 50000
|
iterations: 50000
|
||||||
salt_length: 16
|
salt_length: 16
|
||||||
bcrypt:
|
bcrypt:
|
||||||
variant: standard
|
variant: 'standard'
|
||||||
cost: 12
|
cost: 12
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### path
|
### path
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
|
@ -23,6 +23,8 @@ There are two ways to integrate *Authelia* with an authentication backend:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
authentication_backend:
|
authentication_backend:
|
||||||
refresh_interval: 5m
|
refresh_interval: 5m
|
||||||
|
@ -33,10 +35,15 @@ authentication_backend:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### refresh_interval
|
### refresh_interval
|
||||||
|
|
||||||
{{< confkey type="duration" default="5m" required="no" >}}
|
{{< confkey type="duration" default="5m" required="no" >}}
|
||||||
|
|
||||||
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
This setting controls the interval at which details are refreshed from the backend. Particularly useful for
|
This setting controls the interval at which details are refreshed from the backend. Particularly useful for
|
||||||
[LDAP](#ldap).
|
[LDAP](#ldap).
|
||||||
|
|
||||||
|
|
|
@ -17,18 +17,20 @@ aliases:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
authentication_backend:
|
authentication_backend:
|
||||||
ldap:
|
ldap:
|
||||||
implementation: custom
|
address: 'ldap://127.0.0.1'
|
||||||
url: ldap://127.0.0.1
|
implementation: 'custom'
|
||||||
timeout: 5s
|
timeout: '5s'
|
||||||
start_tls: false
|
start_tls: false
|
||||||
tls:
|
tls:
|
||||||
server_name: ldap.example.com
|
server_name: 'ldap.example.com'
|
||||||
skip_verify: false
|
skip_verify: false
|
||||||
minimum_version: TLS1.2
|
minimum_version: 'TLS1.2'
|
||||||
maximum_version: TLS1.3
|
maximum_version: 'TLS1.3'
|
||||||
certificate_chain: |
|
certificate_chain: |
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
||||||
|
@ -96,23 +98,58 @@ authentication_backend:
|
||||||
27GoE2i5mh6Yez6VAYbUuns3FcwIsMyWLq043Tu2DNkx9ijOOAuQzw^invalid..
|
27GoE2i5mh6Yez6VAYbUuns3FcwIsMyWLq043Tu2DNkx9ijOOAuQzw^invalid..
|
||||||
DO NOT USE==
|
DO NOT USE==
|
||||||
-----END RSA PRIVATE KEY-----
|
-----END RSA PRIVATE KEY-----
|
||||||
base_dn: DC=example,DC=com
|
base_dn: 'DC=example,DC=com'
|
||||||
additional_users_dn: OU=users
|
additional_users_dn: 'OU=users'
|
||||||
users_filter: (&({username_attribute}={input})(objectClass=person))
|
users_filter: '(&({username_attribute}={input})(objectClass=person))'
|
||||||
username_attribute: uid
|
additional_groups_dn: 'OU=groups'
|
||||||
mail_attribute: mail
|
groups_filter: '(&(member={dn})(objectClass=groupOfNames))'
|
||||||
display_name_attribute: displayName
|
group_search_mode: 'filter'
|
||||||
additional_groups_dn: OU=groups
|
|
||||||
groups_filter: (&(member={dn})(objectClass=groupOfNames))
|
|
||||||
group_name_attribute: cn
|
|
||||||
permit_referrals: false
|
permit_referrals: false
|
||||||
permit_unauthenticated_bind: false
|
permit_unauthenticated_bind: false
|
||||||
user: CN=admin,DC=example,DC=com
|
user: 'CN=admin,DC=example,DC=com'
|
||||||
password: password
|
password: 'password'
|
||||||
|
attributes:
|
||||||
|
distinguished_name: 'distinguishedName'
|
||||||
|
username: 'uid'
|
||||||
|
display_name: 'displayName'
|
||||||
|
mail: 'mail'
|
||||||
|
member_of: 'memberOf'
|
||||||
|
group_name: 'cn'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
|
### address
|
||||||
|
|
||||||
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
||||||
|
*__Reference Note:__ This configuration option uses the [address common syntax](../prologue/common.md#address). Please
|
||||||
|
see the [documentation](../prologue/common.md#address) on this format for more information.*
|
||||||
|
|
||||||
|
The LDAP URL which consists of a scheme, hostname, and port. Format is `[<scheme>://]<hostname>[:<port>]`. The default
|
||||||
|
scheme is `ldapi` if the path is absolute otherwise it's `ldaps`, and the permitted schemes are `ldap`, `ldaps`, or
|
||||||
|
`ldapi` (a unix domain socket).
|
||||||
|
|
||||||
|
If the scheme is `ldapi` it must be followed by an absolute path to an existing unix domain socket that the
|
||||||
|
user/group the Authelia process is running as has the appropriate permissions to access. For example if the socket is
|
||||||
|
located at `/var/run/slapd.sock` the address should be `ldapi:///var/run/slapd.sock`.
|
||||||
|
|
||||||
|
__Examples:__
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
authentication_backend:
|
||||||
|
ldap:
|
||||||
|
address: 'ldaps://dc1.example.com'
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
authentication_backend:
|
||||||
|
ldap:
|
||||||
|
address: 'ldap://[fd00:1111:2222:3333::1]'
|
||||||
|
```
|
||||||
|
|
||||||
### implementation
|
### implementation
|
||||||
|
|
||||||
{{< confkey type="string" default="custom" required="no" >}}
|
{{< confkey type="string" default="custom" required="no" >}}
|
||||||
|
@ -121,31 +158,13 @@ Configures the LDAP implementation used by Authelia.
|
||||||
|
|
||||||
See the [Implementation Guide](../../reference/guides/ldap.md#implementation-guide) for information.
|
See the [Implementation Guide](../../reference/guides/ldap.md#implementation-guide) for information.
|
||||||
|
|
||||||
### url
|
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
|
||||||
|
|
||||||
The LDAP URL which consists of a scheme, address, and port. Format is `<scheme>://<address>:<port>` or
|
|
||||||
`<scheme>://<address>` where scheme is either `ldap` or `ldaps`.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
authentication_backend:
|
|
||||||
ldap:
|
|
||||||
url: ldaps://dc1.example.com
|
|
||||||
```
|
|
||||||
|
|
||||||
If utilising an IPv6 literal address it must be enclosed by square brackets:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
authentication_backend:
|
|
||||||
ldap:
|
|
||||||
url: ldap://[fd00:1111:2222:3333::1]
|
|
||||||
```
|
|
||||||
|
|
||||||
### timeout
|
### timeout
|
||||||
|
|
||||||
{{< confkey type="duration" default="5s" required="no" >}}
|
{{< confkey type="duration" default="5s" required="no" >}}
|
||||||
|
|
||||||
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The timeout for dialing an LDAP connection.
|
The timeout for dialing an LDAP connection.
|
||||||
|
|
||||||
### start_tls
|
### start_tls
|
||||||
|
@ -158,8 +177,11 @@ URL's are slightly more secure.
|
||||||
|
|
||||||
### tls
|
### tls
|
||||||
|
|
||||||
Controls the TLS connection validation process. You can see how to configure the tls
|
*__Reference Note:__ This configuration option uses the
|
||||||
section [here](../prologue/common.md#tls-configuration).
|
[TLS configuration common structure](../prologue/common.md#tls-configuration). Please see the
|
||||||
|
[documentation](../prologue/common.md#tls-configuration) on this structure for more information.*
|
||||||
|
|
||||||
|
Controls the TLS connection validation parameters for either StartTLS or the TLS socket.
|
||||||
|
|
||||||
### base_dn
|
### base_dn
|
||||||
|
|
||||||
|
@ -191,66 +213,33 @@ The LDAP filter to narrow down which users are valid. This is important to set c
|
||||||
The default value is dependent on the [implementation](#implementation), refer to the
|
The default value is dependent on the [implementation](#implementation), refer to the
|
||||||
[attribute defaults](../../reference/guides/ldap.md#attribute-defaults) for more information.
|
[attribute defaults](../../reference/guides/ldap.md#attribute-defaults) for more information.
|
||||||
|
|
||||||
### username_attribute
|
|
||||||
|
|
||||||
{{< confkey type="string" required="situational" >}}
|
|
||||||
|
|
||||||
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
|
||||||
default negating this requirement. Refer to the [attribute defaults](../../reference/guides/ldap.md#attribute-defaults)
|
|
||||||
for more information.*
|
|
||||||
|
|
||||||
The LDAP attribute that maps to the username in *Authelia*. This must contain the `{username_attribute}`
|
|
||||||
[placeholder](../../reference/guides/ldap.md#users-filter-replacements).
|
|
||||||
|
|
||||||
### mail_attribute
|
|
||||||
|
|
||||||
{{< confkey type="string" required="situational" >}}
|
|
||||||
|
|
||||||
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
|
||||||
default negating this requirement. Refer to the [attribute defaults](../../reference/guides/ldap.md#attribute-defaults)
|
|
||||||
for more information.*
|
|
||||||
|
|
||||||
The attribute to retrieve which contains the users email addresses. This is important for the device registration and
|
|
||||||
password reset processes. The user must have an email address in order for Authelia to perform identity verification
|
|
||||||
when a user attempts to reset their password or register a second factor device.
|
|
||||||
|
|
||||||
### display_name_attribute
|
|
||||||
|
|
||||||
{{< confkey type="string" required="situational" >}}
|
|
||||||
|
|
||||||
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
|
||||||
default negating this requirement. Refer to the [attribute defaults](#attribute-defaults) for more information.*
|
|
||||||
|
|
||||||
The attribute to retrieve which is shown on the Web UI to the user when they log in.
|
|
||||||
|
|
||||||
### additional_groups_dn
|
### additional_groups_dn
|
||||||
|
|
||||||
{{< confkey type="string" required="no" >}}
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
Similar to [additional_users_dn](#additional_users_dn) but it applies to group searches.
|
Similar to [additional_users_dn](#additionalusersdn) but it applies to group searches.
|
||||||
|
|
||||||
### groups_filter
|
### groups_filter
|
||||||
|
|
||||||
{{< confkey type="string" required="situational" >}}
|
{{< confkey type="string" required="situational" >}}
|
||||||
|
|
||||||
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
||||||
default negating this requirement. Refer to the [filter defaults](#filter-defaults) for more information.*
|
default negating this requirement. Refer to the [filter defaults](../../reference/guides/ldap.md#filter-defaults) for
|
||||||
|
more information.*
|
||||||
|
|
||||||
Similar to [users_filter](#users_filter) but it applies to group searches. In order to include groups the member is not
|
Similar to [users_filter](#usersfilter) but it applies to group searches. In order to include groups the member is not
|
||||||
a direct member of, but is a member of another group that is a member of those (i.e. recursive groups), you may try
|
a direct member of, but is a member of another group that is a member of those (i.e. recursive groups), you may try
|
||||||
using the following filter which is currently only tested against Microsoft Active Directory:
|
using the following filter which is currently only tested against Microsoft Active Directory:
|
||||||
|
|
||||||
`(&(member:1.2.840.113556.1.4.1941:={dn})(objectClass=group)(objectCategory=group))`
|
`(&(member:1.2.840.113556.1.4.1941:={dn})(objectClass=group)(objectCategory=group))`
|
||||||
|
|
||||||
### group_name_attribute
|
### group_search_mode
|
||||||
|
|
||||||
{{< confkey type="string" required="situational" >}}
|
{{< confkey type="string" default="filter" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
The group search mode controls how user groups are discovered. The default of `filter` directly uses the filter to
|
||||||
default negating this requirement. Refer to the [attribute defaults](#attribute-defaults) for more
|
determine the result. The `memberof` experimental mode does another special filtered search. See the
|
||||||
information.*
|
[Reference Documentation](../../reference/guides/ldap.md#group-search-modes) for more information.
|
||||||
|
|
||||||
The LDAP attribute that is used by Authelia to determine the group name.
|
|
||||||
|
|
||||||
### permit_referrals
|
### permit_referrals
|
||||||
|
|
||||||
|
@ -295,6 +284,71 @@ It's __strongly recommended__ this is a
|
||||||
[Random Alphanumeric String](../../reference/guides/generating-secure-values.md#generating-a-random-alphanumeric-string) with 64 or more
|
[Random Alphanumeric String](../../reference/guides/generating-secure-values.md#generating-a-random-alphanumeric-string) with 64 or more
|
||||||
characters and the user password is changed to this value.
|
characters and the user password is changed to this value.
|
||||||
|
|
||||||
|
### attributes
|
||||||
|
|
||||||
|
The following options configure The directory server attribute mappings.
|
||||||
|
|
||||||
|
#### distinguished_name
|
||||||
|
|
||||||
|
{{< confkey type="string" required="situational" >}}
|
||||||
|
|
||||||
|
*__Note:__ This option is technically not required however it is required when using the group search mode
|
||||||
|
`memberof` replacement `{memberof:dn}`.*
|
||||||
|
|
||||||
|
The directory server attribute which contains the distinguished name, primarily used to perform filtered searches. There
|
||||||
|
is a clear distinction between the actual distinguished name and a distinguished name attribute, all directories have
|
||||||
|
distinguished names for objects, but not all have an attribute representing this that can be searched on.
|
||||||
|
|
||||||
|
The only known support at this time is with Active Directory.
|
||||||
|
|
||||||
|
#### username
|
||||||
|
|
||||||
|
{{< confkey type="string" required="situational" >}}
|
||||||
|
|
||||||
|
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
||||||
|
default negating this requirement. Refer to the [attribute defaults] for more information.*
|
||||||
|
|
||||||
|
The directory server attribute that maps to the username in *Authelia*. This must contain the `{username_attribute}` [placeholder].
|
||||||
|
|
||||||
|
#### display_name
|
||||||
|
|
||||||
|
{{< confkey type="string" required="situational" >}}
|
||||||
|
|
||||||
|
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
||||||
|
default negating this requirement. Refer to the [attribute defaults] for more information.*
|
||||||
|
|
||||||
|
The directory server attribute to retrieve which is shown on the Web UI to the user when they log in.
|
||||||
|
|
||||||
|
#### mail
|
||||||
|
|
||||||
|
{{< confkey type="string" required="situational" >}}
|
||||||
|
|
||||||
|
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
||||||
|
default negating this requirement. Refer to the [attribute defaults] for more information.*
|
||||||
|
|
||||||
|
The directory server attribute to retrieve which contains the users email addresses. This is important for the device
|
||||||
|
registration and password reset processes. The user must have an email address in order for Authelia to perform
|
||||||
|
identity verification when a user attempts to reset their password or register a second factor device.
|
||||||
|
|
||||||
|
#### member_of
|
||||||
|
|
||||||
|
{{< confkey type="string" required="situational" >}}
|
||||||
|
|
||||||
|
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
||||||
|
default negating this requirement. Refer to the [attribute defaults] for more information.*
|
||||||
|
|
||||||
|
The directory server attribute which contains the groups a user is a member of. This is currently only used for the
|
||||||
|
`memberof` group search mode.
|
||||||
|
|
||||||
|
#### group_name
|
||||||
|
|
||||||
|
{{< confkey type="string" required="situational" >}}
|
||||||
|
|
||||||
|
*__Note:__ This option is technically required however the [implementation](#implementation) option can implicitly set a
|
||||||
|
default negating this requirement. Refer to the [attribute defaults] for more information.*
|
||||||
|
|
||||||
|
The directory server attribute that is used by Authelia to determine the group name.
|
||||||
|
|
||||||
## Refresh Interval
|
## Refresh Interval
|
||||||
|
|
||||||
It's recommended you either use the default [refresh interval](introduction.md#refreshinterval) or configure this to
|
It's recommended you either use the default [refresh interval](introduction.md#refreshinterval) or configure this to
|
||||||
|
@ -314,6 +368,8 @@ for your users.
|
||||||
|
|
||||||
- [LDAP Reference Guide](../../reference/guides/ldap.md)
|
- [LDAP Reference Guide](../../reference/guides/ldap.md)
|
||||||
|
|
||||||
[username attribute]: #usernameattribute
|
[username attribute]: #username
|
||||||
[TechNet wiki]: https://social.technet.microsoft.com/wiki/contents/articles/5392.active-directory-ldap-syntax-filters.aspx
|
[TechNet wiki]: https://social.technet.microsoft.com/wiki/contents/articles/5392.active-directory-ldap-syntax-filters.aspx
|
||||||
[RFC2307]: https://datatracker.ietf.org/doc/html/rfc2307
|
[RFC2307]: https://datatracker.ietf.org/doc/html/rfc2307
|
||||||
|
[attribute defaults]: ../../reference/guides/ldap.md#attribute-defaults
|
||||||
|
[placeholder]: ../../reference/guides/ldap.md#users-filter-replacements
|
||||||
|
|
|
@ -14,6 +14,6 @@ aliases:
|
||||||
- /docs/configuration/identity-providers/
|
- /docs/configuration/identity-providers/
|
||||||
---
|
---
|
||||||
|
|
||||||
## OpenID Connect
|
## OpenID Connect 1.0
|
||||||
|
|
||||||
The only identity provider implementation supported at this time is [OpenID Connect 1.0](open-id-connect.md).
|
The only identity provider implementation supported at this time is [OpenID Connect 1.0](openid-connect/provider.md).
|
||||||
|
|
|
@ -1,577 +0,0 @@
|
||||||
---
|
|
||||||
title: "OpenID Connect"
|
|
||||||
description: "OpenID Connect Configuration"
|
|
||||||
lead: "Authelia can operate as an OpenID Connect 1.0 Provider. This section describes how to configure this."
|
|
||||||
date: 2022-06-15T17:51:47+10:00
|
|
||||||
draft: false
|
|
||||||
images: []
|
|
||||||
menu:
|
|
||||||
configuration:
|
|
||||||
parent: "identity-providers"
|
|
||||||
weight: 190200
|
|
||||||
toc: true
|
|
||||||
aliases:
|
|
||||||
- /c/oidc
|
|
||||||
- /docs/configuration/identity-providers/oidc.html
|
|
||||||
---
|
|
||||||
|
|
||||||
__Authelia__ currently supports the [OpenID Connect 1.0] Provider role as an open
|
|
||||||
[__beta__](../../roadmap/active/openid-connect.md) feature. We currently do not support the [OpenID Connect 1.0] Relying
|
|
||||||
Party role. This means other applications that implement the [OpenID Connect 1.0] Relying Party role can use Authelia as
|
|
||||||
an [OpenID Connect 1.0] Provider similar to how you may use social media or development platforms for login.
|
|
||||||
|
|
||||||
The [OpenID Connect 1.0] Relying Party role is the role which allows an application to use GitHub, Google, or other
|
|
||||||
[OpenID Connect 1.0] Providers for authentication and authorization. We do not intend to support this functionality at
|
|
||||||
this moment in time.
|
|
||||||
|
|
||||||
More information about the beta can be found in the [roadmap](../../roadmap/active/openid-connect.md).
|
|
||||||
|
|
||||||
## Configuration
|
|
||||||
|
|
||||||
The following snippet provides a sample-configuration for the OIDC identity provider explaining each field in detail.
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
identity_providers:
|
|
||||||
oidc:
|
|
||||||
hmac_secret: this_is_a_secret_abc123abc123abc
|
|
||||||
issuer_certificate_chain: |
|
|
||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
|
||||||
EzERMA8GA1UEChMIQXV0aGVsaWEwHhcNNzAwMTAxMDAwMDAwWhcNNzEwMTAxMDAw
|
|
||||||
MDAwWjATMREwDwYDVQQKEwhBdXRoZWxpYTCCASIwDQYJKoZIhvcNAQEBBQADggEP
|
|
||||||
ADCCAQoCggEBAPKv3pSyP4ozGEiVLJ14dIWFCEGEgq7WUMI0SZZqQA2ID0L59U/Q
|
|
||||||
/Usyy7uC9gfMUzODTpANtkOjFQcQAsxlR1FOjVBrX5QgjSvXwbQn3DtwMA7XWSl6
|
|
||||||
LuYx2rBYSlMSN5UZQm/RxMtXfLK2b51WgEEYDFi+nECSqKzR4R54eOPkBEWRfvuY
|
|
||||||
91AMjlhpivg8e4JWkq4LVQUKbmiFYwIdK8XQiN4blY9WwXwJFYs5sQ/UYMwBFi0H
|
|
||||||
kWOh7GEjfxgoUOPauIueZSMSlQp7zqAH39N0ZSYb6cS0Npj57QoWZSY3ak87ebcR
|
|
||||||
Nf4rCvZLby7LoN7qYCKxmCaDD3x2+NYpWH8CAwEAAaM1MDMwDgYDVR0PAQH/BAQD
|
|
||||||
AgWgMBMGA1UdJQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcN
|
|
||||||
AQELBQADggEBAHSITqIQSNzonFl3DzxHPEzr2hp6peo45buAAtu8FZHoA+U7Icfh
|
|
||||||
/ZXjPg7Xz+hgFwM/DTNGXkMWacQA/PaNWvZspgRJf2AXvNbMSs2UQODr7Tbv+Fb4
|
|
||||||
lyblmMUNYFMCFVAMU0eIxXAFq2qcwv8UMcQFT0Z/35s6PVOakYnAGGQjTfp5Ljuq
|
|
||||||
wsdc/xWmM0cHWube6sdRRUD7SY20KU/kWzl8iFO0VbSSrDf1AlEhnLEkp1SPaxXg
|
|
||||||
OdBnl98MeoramNiJ7NT6Jnyb3zZ578fjaWfThiBpagItI8GZmG4s4Ovh2JbheN8i
|
|
||||||
ZsjNr9jqHTjhyLVbDRlmJzcqoj4JhbKs6/I^invalid DO NOT USE=
|
|
||||||
-----END CERTIFICATE-----
|
|
||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIDBDCCAeygAwIBAgIRALJsPg21kA0zY4F1wUCIuoMwDQYJKoZIhvcNAQELBQAw
|
|
||||||
EzERMA8GA1UEChMIQXV0aGVsaWEwHhcNNzAwMTAxMDAwMDAwWhcNNzEwMTAxMDAw
|
|
||||||
MDAwWjATMREwDwYDVQQKEwhBdXRoZWxpYTCCASIwDQYJKoZIhvcNAQEBBQADggEP
|
|
||||||
ADCCAQoCggEBAMXHBvVxUzYk0u34/DINMSF+uiOekKOAjOrC6Mi9Ww8ytPVO7t2S
|
|
||||||
zfTvM+XnEJqkFQFgimERfG/eGhjF9XIEY6LtnXe8ATvOK4nTwdufzBaoeQu3Gd50
|
|
||||||
5VXr6OHRo//ErrGvFXwP3g8xLePABsi/fkH3oDN+ztewOBMDzpd+KgTrk8ysv2ou
|
|
||||||
kNRMKFZZqASvCgv0LD5KWvUCnL6wgf1oTXG7aztduA4oSkUP321GpOmBC5+5ElU7
|
|
||||||
ysoRzvD12o9QJ/IfEaulIX06w9yVMo60C/h6A3U6GdkT1SiyTIqR7v7KU/IWd/Qi
|
|
||||||
Lfftcj91VhCmJ73Meff2e2S2PrpjdXbG5FMCAwEAAaNTMFEwDgYDVR0PAQH/BAQD
|
|
||||||
AgKkMA8GA1UdJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU
|
|
||||||
Z7AtA3mzFc0InSBA5fiMfeLXA3owDQYJKoZIhvcNAQELBQADggEBAEE5hm1mtlk/
|
|
||||||
kviCoHH4evbpw7rxPxDftIQlqYTtvMM4eWY/6icFoSZ4fUHEWYyps8SsPu/8f2tf
|
|
||||||
71LGgZn0FdHi1QU2H8m0HHK7TFw+5Q6RLrLdSyk0PItJ71s9en7r8pX820nAFEHZ
|
|
||||||
HkOSfJZ7B5hFgUDkMtVM6bardXAhoqcMk4YCU96e9d4PB4eI+xGc+mNuYvov3RbB
|
|
||||||
D0s8ICyojeyPVLerz4wHjZu68Z5frAzhZ68YbzNs8j2fIBKKHkHyLG1iQyF+LJVj
|
|
||||||
2PjCP+auJsj6fQQpMGoyGtpLcSDh+ptcTngUD8JsWipzTCjmaNqdPHAOYmcgtf4b
|
|
||||||
qocikt3WAdU^invalid DO NOT USE=
|
|
||||||
-----END CERTIFICATE-----
|
|
||||||
issuer_private_key: |
|
|
||||||
-----BEGIN RSA PRIVATE KEY-----
|
|
||||||
MIIEpAIBAAKCAQEA8q/elLI/ijMYSJUsnXh0hYUIQYSCrtZQwjRJlmpADYgPQvn1
|
|
||||||
T9D9SzLLu4L2B8xTM4NOkA22Q6MVBxACzGVHUU6NUGtflCCNK9fBtCfcO3AwDtdZ
|
|
||||||
KXou5jHasFhKUxI3lRlCb9HEy1d8srZvnVaAQRgMWL6cQJKorNHhHnh44+QERZF+
|
|
||||||
+5j3UAyOWGmK+Dx7glaSrgtVBQpuaIVjAh0rxdCI3huVj1bBfAkVizmxD9RgzAEW
|
|
||||||
LQeRY6HsYSN/GChQ49q4i55lIxKVCnvOoAff03RlJhvpxLQ2mPntChZlJjdqTzt5
|
|
||||||
txE1/isK9ktvLsug3upgIrGYJoMPfHb41ilYfwIDAQABAoIBAQDTOdFf2JjHH1um
|
|
||||||
aPgRAvNf9v7Nj5jytaRKs5nM6iNf46ls4QPreXnMhqSeSwj6lpNgBYxOgzC9Q+cc
|
|
||||||
Y4ob/paJJPaIJTxmP8K/gyWcOQlNToL1l+eJ20eQoZm23NGr5fIsunSBwLEpTrdB
|
|
||||||
ENqqtcwhW937K8Pxy/Q1nuLyU2bc6Tn/ivLozc8n27dpQWWKh8537VY7ancIaACr
|
|
||||||
LJJLYxKqhQpjtBWAyCDvZQirnAOm9KnvIHaGXIswCZ4Xbsu0Y9NL+woARPyRVQvG
|
|
||||||
jfxy4EmO9s1s6y7OObSukwKDSNihAKHx/VIbvVWx8g2Lv5fGOa+J2Y7o9Qurs8t5
|
|
||||||
BQwMTt0BAoGBAPUw5Z32EszNepAeV3E2mPFUc5CLiqAxagZJuNDO2pKtyN29ETTR
|
|
||||||
Ma4O1cWtGb6RqcNNN/Iukfkdk27Q5nC9VJSUUPYelOLc1WYOoUf6oKRzE72dkMQV
|
|
||||||
R4bf6TkjD+OVR17fAfkswkGahZ5XA7j48KIQ+YC4jbnYKSxZTYyKPjH/AoGBAP1i
|
|
||||||
tqXt36OVlP+y84wWqZSjMelBIVa9phDVGJmmhz3i1cMni8eLpJzWecA3pfnG6Tm9
|
|
||||||
ze5M4whASleEt+M00gEvNaU9ND+z0wBfi+/DwJYIbv8PQdGrBiZFrPhTPjGQUldR
|
|
||||||
lXccV2meeLZv7TagVxSi3DO6dSJfSEHyemd5j9mBAoGAX8Hv+0gOQZQCSOTAq8Nx
|
|
||||||
6dZcp9gHlNaXnMsP9eTDckOSzh636JPGvj6m+GPJSSbkURUIQ3oyokMNwFqvlNos
|
|
||||||
fTaLhAOfjBZI9WnDTTQxpugWjphJ4HqbC67JC/qIiw5S6FdaEvGLEEoD4zoChywZ
|
|
||||||
9oGAn+fz2d/0/JAH/FpFPgsCgYEAp/ipZgPzziiZ9ov1wbdAQcWRj7RaWnssPFpX
|
|
||||||
jXwEiXT3CgEMO4MJ4+KWIWOChrti3qFBg6i6lDyyS6Qyls7sLFbUdC7HlTcrOEMe
|
|
||||||
rBoTcCI1GqZNlqWOVQ65ZIEiaI7o1vPBZo2GMQEZuq8mDKFsOMThvvTrM5cAep84
|
|
||||||
n6HJR4ECgYABWcbsSnr0MKvVth/inxjbKapbZnp2HUCuw87Ie5zK2Of/tbC20wwk
|
|
||||||
yKw3vrGoE3O1t1g2m2tn8UGGASeZ842jZWjIODdSi5+icysQGuULKt86h/woz2SQ
|
|
||||||
27GoE2i5mh6Yez6VAYbUuns3FcwIsMyWLq043Tu2DNkx9ijOOAuQzw^invalid..
|
|
||||||
DO NOT USE==
|
|
||||||
-----END RSA PRIVATE KEY-----
|
|
||||||
access_token_lifespan: 1h
|
|
||||||
authorize_code_lifespan: 1m
|
|
||||||
id_token_lifespan: 1h
|
|
||||||
refresh_token_lifespan: 90m
|
|
||||||
enable_client_debug_messages: false
|
|
||||||
enforce_pkce: public_clients_only
|
|
||||||
cors:
|
|
||||||
endpoints:
|
|
||||||
- authorization
|
|
||||||
- token
|
|
||||||
- revocation
|
|
||||||
- introspection
|
|
||||||
allowed_origins:
|
|
||||||
- https://example.com
|
|
||||||
allowed_origins_from_client_redirect_uris: false
|
|
||||||
clients:
|
|
||||||
- id: myapp
|
|
||||||
description: My Application
|
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
|
||||||
sector_identifier: ''
|
|
||||||
public: false
|
|
||||||
authorization_policy: two_factor
|
|
||||||
consent_mode: explicit
|
|
||||||
pre_configured_consent_duration: 1w
|
|
||||||
audience: []
|
|
||||||
scopes:
|
|
||||||
- openid
|
|
||||||
- groups
|
|
||||||
- email
|
|
||||||
- profile
|
|
||||||
redirect_uris:
|
|
||||||
- https://oidc.example.com:8080/oauth2/callback
|
|
||||||
grant_types:
|
|
||||||
- refresh_token
|
|
||||||
- authorization_code
|
|
||||||
response_types:
|
|
||||||
- code
|
|
||||||
response_modes:
|
|
||||||
- form_post
|
|
||||||
- query
|
|
||||||
- fragment
|
|
||||||
userinfo_signing_algorithm: none
|
|
||||||
```
|
|
||||||
|
|
||||||
## Options
|
|
||||||
|
|
||||||
### hmac_secret
|
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
|
||||||
|
|
||||||
*__Important Note:__ This can also be defined using a [secret](../methods/secrets.md) which is __strongly recommended__
|
|
||||||
especially for containerized deployments.*
|
|
||||||
|
|
||||||
The HMAC secret used to sign the [JWT]'s. The provided string is hashed to a SHA256 ([RFC6234]) byte string for the
|
|
||||||
purpose of meeting the required format.
|
|
||||||
|
|
||||||
It's __strongly recommended__ this is a
|
|
||||||
[Random Alphanumeric String](../../reference/guides/generating-secure-values.md#generating-a-random-alphanumeric-string)
|
|
||||||
with 64 or more characters.
|
|
||||||
|
|
||||||
### issuer_certificate_chain
|
|
||||||
|
|
||||||
{{< confkey type="string" required="no" >}}
|
|
||||||
|
|
||||||
The certificate chain/bundle to be used with the [issuer_private_key](#issuer_private_key) DER base64 ([RFC4648])
|
|
||||||
encoded PEM format used to sign/encrypt the [OpenID Connect 1.0] [JWT]'s. When configured it enables the [x5c] and [x5t]
|
|
||||||
JSON key's in the JWKs [Discoverable Endpoint](../../integration/openid-connect/introduction.md#discoverable-endpoints)
|
|
||||||
as per [RFC7517].
|
|
||||||
|
|
||||||
[RFC7517]: https://datatracker.ietf.org/doc/html/rfc7517
|
|
||||||
[x5c]: https://datatracker.ietf.org/doc/html/rfc7517#section-4.7
|
|
||||||
[x5t]: https://datatracker.ietf.org/doc/html/rfc7517#section-4.8
|
|
||||||
|
|
||||||
The first certificate in the chain must have the public key for the [issuer_private_key](#issuerprivatekey), each
|
|
||||||
certificate in the chain must be valid for the current date, and each certificate in the chain should be signed by the
|
|
||||||
certificate immediately following it if present.
|
|
||||||
|
|
||||||
### issuer_private_key
|
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
|
||||||
|
|
||||||
*__Important Note:__ This can also be defined using a [secret](../methods/secrets.md) which is __strongly recommended__
|
|
||||||
especially for containerized deployments.*
|
|
||||||
|
|
||||||
The private key used to sign/encrypt the [OpenID Connect 1.0] issued [JWT]'s. The key must be generated by the administrator
|
|
||||||
and can be done by following the
|
|
||||||
[Generating an RSA Keypair](../../reference/guides/generating-secure-values.md#generating-an-rsa-keypair) guide.
|
|
||||||
|
|
||||||
The private key *__MUST__*:
|
|
||||||
* Be a PEM block encoded in the DER base64 format ([RFC4648]).
|
|
||||||
* Be an RSA Key.
|
|
||||||
* Have a key size of at least 2048 bits.
|
|
||||||
|
|
||||||
If the [issuer_certificate_chain](#issuercertificatechain) is provided the private key must include matching public
|
|
||||||
key data for the first certificate in the chain.
|
|
||||||
|
|
||||||
### access_token_lifespan
|
|
||||||
|
|
||||||
{{< confkey type="duration" default="1h" required="no" >}}
|
|
||||||
|
|
||||||
The maximum lifetime of an access token. It's generally recommended keeping this short similar to the default.
|
|
||||||
For more information read these docs about [token lifespan].
|
|
||||||
|
|
||||||
### authorize_code_lifespan
|
|
||||||
|
|
||||||
{{< confkey type="duration" default="1m" required="no" >}}
|
|
||||||
|
|
||||||
The maximum lifetime of an authorize code. This can be rather short, as the authorize code should only be needed to
|
|
||||||
obtain the other token types. For more information read these docs about [token lifespan].
|
|
||||||
|
|
||||||
### id_token_lifespan
|
|
||||||
|
|
||||||
{{< confkey type="duration" default="1h" required="no" >}}
|
|
||||||
|
|
||||||
The maximum lifetime of an ID token. For more information read these docs about [token lifespan].
|
|
||||||
|
|
||||||
### refresh_token_lifespan
|
|
||||||
|
|
||||||
{{< confkey type="string" default="90m" required="no" >}}
|
|
||||||
|
|
||||||
The maximum lifetime of a refresh token. The
|
|
||||||
refresh token can be used to obtain new refresh tokens as well as access tokens or id tokens with an
|
|
||||||
up-to-date expiration. For more information read these docs about [token lifespan].
|
|
||||||
|
|
||||||
A good starting point is 50% more or 30 minutes more (which ever is less) time than the highest lifespan out of the
|
|
||||||
[access token lifespan](#access_token_lifespan), the [authorize code lifespan](#authorize_code_lifespan), and the
|
|
||||||
[id token lifespan](#id_token_lifespan). For instance the default for all of these is 60 minutes, so the default refresh
|
|
||||||
token lifespan is 90 minutes.
|
|
||||||
|
|
||||||
### enable_client_debug_messages
|
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
|
||||||
|
|
||||||
Allows additional debug messages to be sent to the clients.
|
|
||||||
|
|
||||||
### minimum_parameter_entropy
|
|
||||||
|
|
||||||
{{< confkey type="integer" default="8" required="no" >}}
|
|
||||||
|
|
||||||
This controls the minimum length of the `nonce` and `state` parameters.
|
|
||||||
|
|
||||||
*__Security Notice:__* Changing this value is generally discouraged, reducing it from the default can theoretically
|
|
||||||
make certain scenarios less secure. It is highly encouraged that if your OpenID Connect RP does not send these
|
|
||||||
parameters or sends parameters with a lower length than the default that they implement a change rather than changing
|
|
||||||
this value.
|
|
||||||
|
|
||||||
### enforce_pkce
|
|
||||||
|
|
||||||
{{< confkey type="string" default="public_clients_only" required="no" >}}
|
|
||||||
|
|
||||||
[Proof Key for Code Exchange](https://datatracker.ietf.org/doc/html/rfc7636) enforcement policy: if specified, must be
|
|
||||||
either `never`, `public_clients_only` or `always`.
|
|
||||||
|
|
||||||
If set to `public_clients_only` (default), [PKCE] will be required for public clients using the
|
|
||||||
[Authorization Code Flow].
|
|
||||||
|
|
||||||
When set to `always`, [PKCE] will be required for all clients using the Authorization Code flow.
|
|
||||||
|
|
||||||
*__Security Notice:__* Changing this value to `never` is generally discouraged, reducing it from the default can
|
|
||||||
theoretically make certain client-side applications (mobile applications, SPA) vulnerable to CSRF and authorization code
|
|
||||||
interception attacks.
|
|
||||||
|
|
||||||
### enable_pkce_plain_challenge
|
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
|
||||||
|
|
||||||
Allows [PKCE] `plain` challenges when set to `true`.
|
|
||||||
|
|
||||||
*__Security Notice:__* Changing this value is generally discouraged. Applications should use the `S256` [PKCE] challenge
|
|
||||||
method instead.
|
|
||||||
|
|
||||||
### pushed_authorizations
|
|
||||||
|
|
||||||
Controls the behaviour of [Pushed Authorization Requests].
|
|
||||||
|
|
||||||
#### enforce
|
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
|
||||||
|
|
||||||
When enabled all authorization requests must use the [Pushed Authorization Requests] flow.
|
|
||||||
|
|
||||||
#### context_lifespan
|
|
||||||
|
|
||||||
{{< confkey type="duration" default="5m" required="no" >}}
|
|
||||||
|
|
||||||
The maximum amount of time between the [Pushed Authorization Requests] flow being initiated and the generated
|
|
||||||
`request_uri` being utilized by a client.
|
|
||||||
|
|
||||||
### cors
|
|
||||||
|
|
||||||
Some [OpenID Connect 1.0] Endpoints need to allow cross-origin resource sharing, however some are optional. This section allows
|
|
||||||
you to configure the optional parts. We reply with CORS headers when the request includes the Origin header.
|
|
||||||
|
|
||||||
#### endpoints
|
|
||||||
|
|
||||||
{{< confkey type="list(string)" required="no" >}}
|
|
||||||
|
|
||||||
A list of endpoints to configure with cross-origin resource sharing headers. It is recommended that the `userinfo`
|
|
||||||
option is at least in this list. The potential endpoints which this can be enabled on are as follows:
|
|
||||||
|
|
||||||
* authorization
|
|
||||||
* pushed-authorization-request
|
|
||||||
* token
|
|
||||||
* revocation
|
|
||||||
* introspection
|
|
||||||
* userinfo
|
|
||||||
|
|
||||||
#### allowed_origins
|
|
||||||
|
|
||||||
{{< confkey type="list(string)" required="no" >}}
|
|
||||||
|
|
||||||
A list of permitted origins.
|
|
||||||
|
|
||||||
Any origin with https is permitted unless this option is configured or the
|
|
||||||
[allowed_origins_from_client_redirect_uris](#allowed_origins_from_client_redirect_uris) option is enabled. This means
|
|
||||||
you must configure this option manually if you want http endpoints to be permitted to make cross-origin requests to the
|
|
||||||
[OpenID Connect 1.0] endpoints, however this is not recommended.
|
|
||||||
|
|
||||||
Origins must only have the scheme, hostname and port, they may not have a trailing slash or path.
|
|
||||||
|
|
||||||
In addition to an Origin URI, you may specify the wildcard origin in the allowed_origins. It MUST be specified by itself
|
|
||||||
and the [allowed_origins_from_client_redirect_uris](#allowedoriginsfromclientredirecturis) MUST NOT be enabled. The
|
|
||||||
wildcard origin is denoted as `*`. Examples:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
identity_providers:
|
|
||||||
oidc:
|
|
||||||
cors:
|
|
||||||
allowed_origins: "*"
|
|
||||||
```
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
identity_providers:
|
|
||||||
oidc:
|
|
||||||
cors:
|
|
||||||
allowed_origins:
|
|
||||||
- "*"
|
|
||||||
```
|
|
||||||
|
|
||||||
#### allowed_origins_from_client_redirect_uris
|
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
|
||||||
|
|
||||||
Automatically adds the origin portion of all redirect URI's on all clients to the list of
|
|
||||||
[allowed_origins](#allowed_origins), provided they have the scheme http or https and do not have the hostname of
|
|
||||||
localhost.
|
|
||||||
|
|
||||||
### clients
|
|
||||||
|
|
||||||
{{< confkey type="list" required="yes" >}}
|
|
||||||
|
|
||||||
A list of clients to configure. The options for each client are described below.
|
|
||||||
|
|
||||||
#### id
|
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
|
||||||
|
|
||||||
The Client ID for this client. It must exactly match the Client ID configured in the application
|
|
||||||
consuming this client.
|
|
||||||
|
|
||||||
#### description
|
|
||||||
|
|
||||||
{{< confkey type="string" default="*same as id*" required="no" >}}
|
|
||||||
|
|
||||||
A friendly description for this client shown in the UI. This defaults to the same as the ID.
|
|
||||||
|
|
||||||
#### secret
|
|
||||||
|
|
||||||
{{< confkey type="string" required="situational" >}}
|
|
||||||
|
|
||||||
The shared secret between Authelia and the application consuming this client. This secret must match the secret
|
|
||||||
configured in the application.
|
|
||||||
|
|
||||||
This secret must be generated by the administrator and can be done by following the
|
|
||||||
[Generating Client Secrets](../../integration/openid-connect/specific-information.md#generating-client-secrets) guide.
|
|
||||||
|
|
||||||
This must be provided when the client is a confidential client type, and must be blank when using the public client
|
|
||||||
type. To set the client type to public see the [public](#public) configuration option.
|
|
||||||
|
|
||||||
#### sector_identifier
|
|
||||||
|
|
||||||
{{< confkey type="string" required="no" >}}
|
|
||||||
|
|
||||||
*__Important Note:__ because adjusting this option will inevitably change the `sub` claim of all tokens generated for
|
|
||||||
the specified client, changing this should cause the relying party to detect all future authorizations as completely new
|
|
||||||
users.*
|
|
||||||
|
|
||||||
Must be an empty string or the host component of a URL. This is commonly just the domain name, but may also include a
|
|
||||||
port.
|
|
||||||
|
|
||||||
Authelia utilizes UUID version 4 subject identifiers. By default the public [Subject Identifier Type] is utilized for
|
|
||||||
all clients. This means the subject identifiers will be the same for all clients. This configuration option enables
|
|
||||||
[Pairwise Identifier Algorithm] for this client, and configures the sector identifier utilized for both the storage and
|
|
||||||
the lookup of the subject identifier.
|
|
||||||
|
|
||||||
1. All clients who do not have this configured will generate the same subject identifier for a particular user
|
|
||||||
regardless of which client obtains the ID token.
|
|
||||||
2. All clients which have the same sector identifier will:
|
|
||||||
1. have the same subject identifier for a particular user when compared to clients with the same sector identifier.
|
|
||||||
2. have a completely different subject identifier for a particular user whe compared to:
|
|
||||||
1. any client with the public subject identifier type.
|
|
||||||
2. any client with a differing sector identifier.
|
|
||||||
|
|
||||||
In specific but limited scenarios this option is beneficial for privacy reasons. In particular this is useful when the
|
|
||||||
party utilizing the *Authelia* [OpenID Connect 1.0] Authorization Server is foreign and not controlled by the user. It would
|
|
||||||
prevent the third party utilizing the subject identifier with another third party in order to track the user.
|
|
||||||
|
|
||||||
Keep in mind depending on the other claims they may still be able to perform this tracking and it is not a silver
|
|
||||||
bullet. There are very few benefits when utilizing this in a homelab or business where no third party is utilizing
|
|
||||||
the server.
|
|
||||||
|
|
||||||
#### public
|
|
||||||
|
|
||||||
{{< confkey type="bool" default="false" required="no" >}}
|
|
||||||
|
|
||||||
This enables the public client type for this client. This is for clients that are not capable of maintaining
|
|
||||||
confidentiality of credentials, you can read more about client types in [RFC6749 Section 2.1]. This is particularly
|
|
||||||
useful for SPA's and CLI tools. This option requires setting the [client secret](#secret) to a blank string.
|
|
||||||
|
|
||||||
#### redirect_uris
|
|
||||||
|
|
||||||
{{< confkey type="list(string)" required="yes" >}}
|
|
||||||
|
|
||||||
A list of valid callback URIs this client will redirect to. All other callbacks will be considered unsafe. The URIs are
|
|
||||||
case-sensitive and they differ from application to application - the community has provided
|
|
||||||
[a list of URL´s for common applications](../../integration/openid-connect/introduction.md).
|
|
||||||
|
|
||||||
Some restrictions that have been placed on clients and
|
|
||||||
their redirect URIs are as follows:
|
|
||||||
|
|
||||||
1. If a client attempts to authorize with Authelia and its redirect URI is not listed in the client configuration the
|
|
||||||
attempt to authorize will fail and an error will be generated.
|
|
||||||
2. The redirect URIs are case-sensitive.
|
|
||||||
3. The URI must include a scheme and that scheme must be one of `http` or `https`.
|
|
||||||
|
|
||||||
#### audience
|
|
||||||
|
|
||||||
{{< confkey type="list(string)" required="no" >}}
|
|
||||||
|
|
||||||
A list of audiences this client is allowed to request.
|
|
||||||
|
|
||||||
#### scopes
|
|
||||||
|
|
||||||
{{< confkey type="list(string)" default="openid, groups, profile, email" required="no" >}}
|
|
||||||
|
|
||||||
A list of scopes to allow this client to consume. See
|
|
||||||
[scope definitions](../../integration/openid-connect/introduction.md#scope-definitions) for more information. The
|
|
||||||
documentation for the application you are trying to configure [OpenID Connect 1.0] for will likely have a list of scopes
|
|
||||||
or claims required which can be matched with the above guide.
|
|
||||||
|
|
||||||
#### grant_types
|
|
||||||
|
|
||||||
{{< confkey type="list(string)" default="refresh_token, authorization_code" required="no" >}}
|
|
||||||
|
|
||||||
*__Important Note:__ It is recommended that this isn't configured at this time unless you know what you're doing.*
|
|
||||||
|
|
||||||
The list of grant types this client is permitted to use in order to obtain access to the relevant tokens.
|
|
||||||
|
|
||||||
See the [Grant Types](../../integration/openid-connect/introduction.md#grant-types) section of the
|
|
||||||
[OpenID Connect 1.0 Integration Guide](../../integration/openid-connect/introduction.md#grant-types) for more information.
|
|
||||||
|
|
||||||
#### response_types
|
|
||||||
|
|
||||||
{{< confkey type="list(string)" default="code" required="no" >}}
|
|
||||||
|
|
||||||
*__Important Note:__ It is recommended that this isn't configured at this time unless you know what you're doing.*
|
|
||||||
|
|
||||||
A list of response types this client supports.
|
|
||||||
|
|
||||||
See the [Response Types](../../integration/openid-connect/introduction.md#response-types) section of the
|
|
||||||
[OpenID Connect 1.0 Integration Guide](../../integration/openid-connect/introduction.md#response-types) for more information.
|
|
||||||
|
|
||||||
#### response_modes
|
|
||||||
|
|
||||||
{{< confkey type="list(string)" default="form_post, query, fragment" required="no" >}}
|
|
||||||
|
|
||||||
*__Important Note:__ It is recommended that this isn't configured at this time unless you know what you're doing.*
|
|
||||||
|
|
||||||
A list of response modes this client supports.
|
|
||||||
|
|
||||||
See the [Response Modes](../../integration/openid-connect/introduction.md#response-modes) section of the
|
|
||||||
[OpenID Connect 1.0 Integration Guide](../../integration/openid-connect/introduction.md#response-modes) for more information.
|
|
||||||
|
|
||||||
#### authorization_policy
|
|
||||||
|
|
||||||
{{< confkey type="string" default="two_factor" required="no" >}}
|
|
||||||
|
|
||||||
The authorization policy for this client: either `one_factor` or `two_factor`.
|
|
||||||
|
|
||||||
#### enforce_par
|
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
|
||||||
|
|
||||||
Enforces the use of a [Pushed Authorization Requests] flow for this client.
|
|
||||||
|
|
||||||
#### enforce_pkce
|
|
||||||
|
|
||||||
{{< confkey type="bool" default="false" required="no" >}}
|
|
||||||
|
|
||||||
This setting enforces the use of [PKCE] for this individual client. To enforce it for all clients see the global
|
|
||||||
[enforce_pkce](#enforcepkce) setting.
|
|
||||||
|
|
||||||
#### pkce_challenge_method
|
|
||||||
|
|
||||||
{{< confkey type="string" default="" required="no" >}}
|
|
||||||
|
|
||||||
This setting enforces the use of the specified [PKCE] challenge method for this individual client. This setting also
|
|
||||||
effectively enables the [enforce_pkce](#enforcepkce-1) option for this client.
|
|
||||||
|
|
||||||
Valid values are an empty string, `plain`, or `S256`. It should be noted that `S256` is strongly recommended if the
|
|
||||||
relying party supports it.
|
|
||||||
|
|
||||||
#### userinfo_signing_algorithm
|
|
||||||
|
|
||||||
{{< confkey type="string" default="none" required="no" >}}
|
|
||||||
|
|
||||||
The algorithm used to sign the userinfo endpoint responses. This can either be `none` or `RS256`.
|
|
||||||
|
|
||||||
See the [integration guide](../../integration/openid-connect/introduction.md#user-information-signing-algorithm) for
|
|
||||||
more information.
|
|
||||||
|
|
||||||
#### consent_mode
|
|
||||||
|
|
||||||
{{< confkey type="string" default="auto" required="no" >}}
|
|
||||||
|
|
||||||
*__Important Note:__ the `implicit` consent mode is not technically part of the specification. It theoretically could be
|
|
||||||
misused in certain conditions specifically with public clients or when the client credentials (i.e. client secret) has
|
|
||||||
been exposed to an attacker. For these reasons this mode is discouraged.*
|
|
||||||
|
|
||||||
Configures the consent mode. The following table describes the different modes:
|
|
||||||
|
|
||||||
| Value | Description |
|
|
||||||
|:--------------:|:----------------------------------------------------------------------------------------------------------------------------------------------:|
|
|
||||||
| auto | Automatically determined (default). Uses `explicit` unless [pre_configured_consent_duration] is specified in which case uses `pre-configured`. |
|
|
||||||
| explicit | Requires the user provide unique explicit consent for every authorization. |
|
|
||||||
| implicit | Automatically assumes consent for every authorization, never asking the user if they wish to give consent. |
|
|
||||||
| pre-configured | Allows the end-user to remember their consent for the [pre_configured_consent_duration]. |
|
|
||||||
|
|
||||||
[pre_configured_consent_duration]: #preconfiguredconsentduration
|
|
||||||
|
|
||||||
#### pre_configured_consent_duration
|
|
||||||
|
|
||||||
{{< confkey type="duration" default="1w" required="no" >}}
|
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
|
||||||
|
|
||||||
Specifying this in the configuration without a consent [consent_mode] enables the `pre-configured` mode. If this is
|
|
||||||
specified as well as the [consent_mode] then it only has an effect if the [consent_mode] is `pre-configured` or `auto`.
|
|
||||||
|
|
||||||
The period of time dictates how long a users choice to remember the pre-configured consent lasts.
|
|
||||||
|
|
||||||
Pre-configured consents are only valid if the subject, client id are exactly the same and the requested scopes/audience
|
|
||||||
match exactly with the granted scopes/audience.
|
|
||||||
|
|
||||||
[consent_mode]: #consentmode
|
|
||||||
|
|
||||||
## Integration
|
|
||||||
|
|
||||||
To integrate Authelia's [OpenID Connect 1.0] implementation with a relying party please see the
|
|
||||||
[integration docs](../../integration/openid-connect/introduction.md).
|
|
||||||
|
|
||||||
[token lifespan]: https://docs.apigee.com/api-platform/antipatterns/oauth-long-expiration
|
|
||||||
[OpenID Connect 1.0]: https://openid.net/connect/
|
|
||||||
[JWT]: https://datatracker.ietf.org/doc/html/rfc7519
|
|
||||||
[RFC6234]: https://datatracker.ietf.org/doc/html/rfc6234
|
|
||||||
[RFC4648]: https://datatracker.ietf.org/doc/html/rfc4648
|
|
||||||
[RFC7468]: https://datatracker.ietf.org/doc/html/rfc7468
|
|
||||||
[RFC6749 Section 2.1]: https://datatracker.ietf.org/doc/html/rfc6749#section-2.1
|
|
||||||
[PKCE]: https://datatracker.ietf.org/doc/html/rfc7636
|
|
||||||
[Authorization Code Flow]: https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth
|
|
||||||
[Subject Identifier Type]: https://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes
|
|
||||||
[Pairwise Identifier Algorithm]: https://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg
|
|
||||||
[Pushed Authorization Requests]: https://datatracker.ietf.org/doc/html/rfc9126
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
title: "OpenID Connect 1.0"
|
||||||
|
description: ""
|
||||||
|
lead: ""
|
||||||
|
date: 2023-05-15T10:32:10+10:00
|
||||||
|
lastmod: 2022-01-18T20:07:56+01:00
|
||||||
|
draft: false
|
||||||
|
images: []
|
||||||
|
menu:
|
||||||
|
docs:
|
||||||
|
parent: "identity-providers"
|
||||||
|
identifier: "openid-connect"
|
||||||
|
weight: 190120
|
||||||
|
toc: true
|
||||||
|
---
|
|
@ -0,0 +1,469 @@
|
||||||
|
---
|
||||||
|
title: "OpenID Connect 1.0 Clients"
|
||||||
|
description: "OpenID Connect 1.0 Registered Clients Configuration"
|
||||||
|
lead: "Authelia can operate as an OpenID Connect 1.0 Provider. This section describes how to configure the registered clients."
|
||||||
|
date: 2023-05-15T10:32:10+10:00
|
||||||
|
draft: false
|
||||||
|
images: []
|
||||||
|
menu:
|
||||||
|
configuration:
|
||||||
|
parent: "openid-connect"
|
||||||
|
weight: 190220
|
||||||
|
toc: true
|
||||||
|
---
|
||||||
|
|
||||||
|
This section covers specifics regarding configuring the providers registered clients for [OpenID Connect 1.0]. For the
|
||||||
|
provider specific configuration and information not related to clients see the [OpenID Connect 1.0 Provider](provider.md)
|
||||||
|
documentation.
|
||||||
|
|
||||||
|
More information about OpenID Connect 1.0 can be found in the [roadmap](../../../roadmap/active/openid-connect.md) and
|
||||||
|
in the [integration](../../../integration/openid-connect/introduction.md) documentation.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
The following snippet provides a configuration example for the [OpenID Connect 1.0] Registered Clients. This is not
|
||||||
|
intended for production use it's used to provide context and an indentation example.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
identity_providers:
|
||||||
|
oidc:
|
||||||
|
clients:
|
||||||
|
- id: 'myapp'
|
||||||
|
description: 'My Application'
|
||||||
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
|
sector_identifier: ''
|
||||||
|
public: false
|
||||||
|
redirect_uris:
|
||||||
|
- 'https://oidc.example.com:8080/oauth2/callback'
|
||||||
|
audience: []
|
||||||
|
scopes:
|
||||||
|
- 'openid'
|
||||||
|
- 'groups'
|
||||||
|
- 'email'
|
||||||
|
- 'profile'
|
||||||
|
grant_types:
|
||||||
|
- 'refresh_token'
|
||||||
|
- 'authorization_code'
|
||||||
|
response_types:
|
||||||
|
- 'code'
|
||||||
|
response_modes:
|
||||||
|
- 'form_post'
|
||||||
|
- 'query'
|
||||||
|
- 'fragment'
|
||||||
|
authorization_policy: 'two_factor'
|
||||||
|
consent_mode: 'explicit'
|
||||||
|
pre_configured_consent_duration: '1 week'
|
||||||
|
enforce_par: false
|
||||||
|
enforce_pkce: false
|
||||||
|
pkce_challenge_method: 'S256'
|
||||||
|
id_token_signing_alg: 'RS256'
|
||||||
|
id_token_signing_key_id: ''
|
||||||
|
userinfo_signing_alg: 'none'
|
||||||
|
userinfo_signing_key_id: ''
|
||||||
|
request_object_signing_alg: 'RS256'
|
||||||
|
token_endpoint_auth_signing_alg: 'RS256'
|
||||||
|
token_endpoint_auth_method: ''
|
||||||
|
```
|
||||||
|
|
||||||
|
## Options
|
||||||
|
|
||||||
|
### id
|
||||||
|
|
||||||
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
||||||
|
The Client ID for this client. It must exactly match the Client ID configured in the application consuming this client.
|
||||||
|
|
||||||
|
### description
|
||||||
|
|
||||||
|
{{< confkey type="string" default="*same as id*" required="no" >}}
|
||||||
|
|
||||||
|
A friendly description for this client shown in the UI. This defaults to the same as the ID.
|
||||||
|
|
||||||
|
### secret
|
||||||
|
|
||||||
|
{{< confkey type="string" required="situational" >}}
|
||||||
|
|
||||||
|
The shared secret between Authelia and the application consuming this client. This secret must match the secret
|
||||||
|
configured in the application.
|
||||||
|
|
||||||
|
This secret must be generated by the administrator and can be done by following the
|
||||||
|
[How Do I Generate Client Secrets](../../../integration/openid-connect/frequently-asked-questions.md#how-do-i-generate-client-secrets) FAQ.
|
||||||
|
|
||||||
|
This must be provided when the client is a confidential client type, and must be blank when using the public client
|
||||||
|
type. To set the client type to public see the [public](#public) configuration option.
|
||||||
|
|
||||||
|
### sector_identifier
|
||||||
|
|
||||||
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
|
*__Important Note:__ because adjusting this option will inevitably change the `sub` claim of all tokens generated for
|
||||||
|
the specified client, changing this should cause the relying party to detect all future authorizations as completely new
|
||||||
|
users.*
|
||||||
|
|
||||||
|
Must be an empty string or the host component of a URL. This is commonly just the domain name, but may also include a
|
||||||
|
port.
|
||||||
|
|
||||||
|
Authelia utilizes UUID version 4 subject identifiers. By default the public [Subject Identifier Type] is utilized for
|
||||||
|
all clients. This means the subject identifiers will be the same for all clients. This configuration option enables
|
||||||
|
[Pairwise Identifier Algorithm] for this client, and configures the sector identifier utilized for both the storage and
|
||||||
|
the lookup of the subject identifier.
|
||||||
|
|
||||||
|
1. All clients who do not have this configured will generate the same subject identifier for a particular user
|
||||||
|
regardless of which client obtains the ID token.
|
||||||
|
2. All clients which have the same sector identifier will:
|
||||||
|
1. have the same subject identifier for a particular user when compared to clients with the same sector identifier.
|
||||||
|
2. have a completely different subject identifier for a particular user whe compared to:
|
||||||
|
1. any client with the public subject identifier type.
|
||||||
|
2. any client with a differing sector identifier.
|
||||||
|
|
||||||
|
In specific but limited scenarios this option is beneficial for privacy reasons. In particular this is useful when the
|
||||||
|
party utilizing the *Authelia* [OpenID Connect 1.0] Authorization Server is foreign and not controlled by the user. It would
|
||||||
|
prevent the third party utilizing the subject identifier with another third party in order to track the user.
|
||||||
|
|
||||||
|
Keep in mind depending on the other claims they may still be able to perform this tracking and it is not a silver
|
||||||
|
bullet. There are very few benefits when utilizing this in a homelab or business where no third party is utilizing
|
||||||
|
the server.
|
||||||
|
|
||||||
|
### public
|
||||||
|
|
||||||
|
{{< confkey type="bool" default="false" required="no" >}}
|
||||||
|
|
||||||
|
This enables the public client type for this client. This is for clients that are not capable of maintaining
|
||||||
|
confidentiality of credentials, you can read more about client types in [RFC6749 Section 2.1]. This is particularly
|
||||||
|
useful for SPA's and CLI tools. This option requires setting the [client secret](#secret) to a blank string.
|
||||||
|
|
||||||
|
### redirect_uris
|
||||||
|
|
||||||
|
{{< confkey type="list(string)" required="yes" >}}
|
||||||
|
|
||||||
|
A list of valid callback URIs this client will redirect to. All other callbacks will be considered unsafe. The URIs are
|
||||||
|
case-sensitive and they differ from application to application - the community has provided
|
||||||
|
[a list of URL´s for common applications](../../../integration/openid-connect/introduction.md).
|
||||||
|
|
||||||
|
Some restrictions that have been placed on clients and
|
||||||
|
their redirect URIs are as follows:
|
||||||
|
|
||||||
|
1. If a client attempts to authorize with Authelia and its redirect URI is not listed in the client configuration the
|
||||||
|
attempt to authorize will fail and an error will be generated.
|
||||||
|
2. The redirect URIs are case-sensitive.
|
||||||
|
3. The URI must include a scheme and that scheme must be one of `http` or `https`.
|
||||||
|
|
||||||
|
### audience
|
||||||
|
|
||||||
|
{{< confkey type="list(string)" required="no" >}}
|
||||||
|
|
||||||
|
A list of audiences this client is allowed to request.
|
||||||
|
|
||||||
|
### scopes
|
||||||
|
|
||||||
|
{{< confkey type="list(string)" default="openid, groups, profile, email" required="no" >}}
|
||||||
|
|
||||||
|
A list of scopes to allow this client to consume. See
|
||||||
|
[scope definitions](../../../integration/openid-connect/introduction.md#scope-definitions) for more information. The
|
||||||
|
documentation for the application you are trying to configure [OpenID Connect 1.0] for will likely have a list of scopes
|
||||||
|
or claims required which can be matched with the above guide.
|
||||||
|
|
||||||
|
### grant_types
|
||||||
|
|
||||||
|
{{< confkey type="list(string)" default="authorization_code" required="no" >}}
|
||||||
|
|
||||||
|
*__Important Note:__ It is recommended that this isn't configured at this time unless you know what you're doing.*
|
||||||
|
|
||||||
|
The list of grant types this client is permitted to use in order to obtain access to the relevant tokens.
|
||||||
|
|
||||||
|
See the [Grant Types](../../../integration/openid-connect/introduction.md#grant-types) section of the
|
||||||
|
[OpenID Connect 1.0 Integration Guide](../../../integration/openid-connect/introduction.md#grant-types) for more information.
|
||||||
|
|
||||||
|
### response_types
|
||||||
|
|
||||||
|
{{< confkey type="list(string)" default="code" required="no" >}}
|
||||||
|
|
||||||
|
*__Security Note:__ It is recommended that only the `code` response type (i.e. the default) is used. The other response
|
||||||
|
types are not as secure as this response type.*
|
||||||
|
|
||||||
|
A list of response types this client supports. If a response type not in this list is requested by a client then an
|
||||||
|
error will be returned to the client. The response type indicates the types of values that are returned to the client.
|
||||||
|
|
||||||
|
See the [Response Types](../../../integration/openid-connect/introduction.md#response-types) section of the
|
||||||
|
[OpenID Connect 1.0 Integration Guide](../../../integration/openid-connect/introduction.md#response-types) for more information.
|
||||||
|
|
||||||
|
### response_modes
|
||||||
|
|
||||||
|
{{< confkey type="list(string)" default="form_post, query" required="no" >}}
|
||||||
|
|
||||||
|
*__Important Note:__ It is recommended that this isn't configured at this time unless you know what you're doing.*
|
||||||
|
|
||||||
|
A list of response modes this client supports. If a response mode not in this list is requested by a client then an
|
||||||
|
error will be returned to the client. The response mode controls how the response type is returned to the client.
|
||||||
|
|
||||||
|
See the [Response Modes](../../../integration/openid-connect/introduction.md#response-modes) section of the
|
||||||
|
[OpenID Connect 1.0 Integration Guide](../../../integration/openid-connect/introduction.md#response-modes) for more
|
||||||
|
information.
|
||||||
|
|
||||||
|
The default values are based on the [response_types](#responsetypes) values. When the [response_types](#responsetypes)
|
||||||
|
values include the `code` type then the `query` response mode will be included. When any other type is included the
|
||||||
|
`fragment` response mode will be included. It's important to note at this time we do not support the `none` response
|
||||||
|
type, but when it is supported it will include the `query` response mode.
|
||||||
|
|
||||||
|
### authorization_policy
|
||||||
|
|
||||||
|
{{< confkey type="string" default="two_factor" required="no" >}}
|
||||||
|
|
||||||
|
The authorization policy for this client: either `one_factor` or `two_factor`.
|
||||||
|
|
||||||
|
### consent_mode
|
||||||
|
|
||||||
|
{{< confkey type="string" default="auto" required="no" >}}
|
||||||
|
|
||||||
|
*__Important Note:__ the `implicit` consent mode is not technically part of the specification. It theoretically could be
|
||||||
|
misused in certain conditions specifically with the public client type or when the client credentials (i.e. client
|
||||||
|
secret) has been exposed to an attacker. For these reasons this mode is discouraged.*
|
||||||
|
|
||||||
|
Configures the consent mode. The following table describes the different modes:
|
||||||
|
|
||||||
|
| Value | Description |
|
||||||
|
|:--------------:|:----------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
|
| auto | Automatically determined (default). Uses `explicit` unless [pre_configured_consent_duration] is specified in which case uses `pre-configured`. |
|
||||||
|
| explicit | Requires the user provide unique explicit consent for every authorization. |
|
||||||
|
| implicit | Automatically assumes consent for every authorization, never asking the user if they wish to give consent. |
|
||||||
|
| pre-configured | Allows the end-user to remember their consent for the [pre_configured_consent_duration]. |
|
||||||
|
|
||||||
|
[pre_configured_consent_duration]: #preconfiguredconsentduration
|
||||||
|
|
||||||
|
### pre_configured_consent_duration
|
||||||
|
|
||||||
|
{{< confkey type="duration" default="1w" required="no" >}}
|
||||||
|
|
||||||
|
*__Note:__ This setting uses the [duration notation format](../../prologue/common.md#duration-notation-format). Please see
|
||||||
|
the [common options](../../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
||||||
|
|
||||||
|
Specifying this in the configuration without a consent [consent_mode] enables the `pre-configured` mode. If this is
|
||||||
|
specified as well as the [consent_mode] then it only has an effect if the [consent_mode] is `pre-configured` or `auto`.
|
||||||
|
|
||||||
|
The period of time dictates how long a users choice to remember the pre-configured consent lasts.
|
||||||
|
|
||||||
|
Pre-configured consents are only valid if the subject, client id are exactly the same and the requested scopes/audience
|
||||||
|
match exactly with the granted scopes/audience.
|
||||||
|
|
||||||
|
[consent_mode]: #consentmode
|
||||||
|
|
||||||
|
### enforce_par
|
||||||
|
|
||||||
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
|
||||||
|
This configuration option enforces the use of a [Pushed Authorization Requests] flow for this registered client.
|
||||||
|
To enforce it for all clients see the global [pushed_authorizations enforce](provider.md#enforce) provider configuration
|
||||||
|
option.
|
||||||
|
|
||||||
|
### enforce_pkce
|
||||||
|
|
||||||
|
{{< confkey type="bool" default="false" required="no" >}}
|
||||||
|
|
||||||
|
This configuration option enforces the use of [PKCE] for this registered client. To enforce it for all clients see the
|
||||||
|
global [enforce_pkce](provider.md#enforcepkce) provider configuration option.
|
||||||
|
|
||||||
|
### pkce_challenge_method
|
||||||
|
|
||||||
|
{{< confkey type="string" default="" required="no" >}}
|
||||||
|
|
||||||
|
This setting enforces the use of the specified [PKCE] challenge method for this individual client. This setting also
|
||||||
|
effectively enables the [enforce_pkce](#enforcepkce) option for this client.
|
||||||
|
|
||||||
|
Valid values are an empty string, `plain`, or `S256`. It should be noted that `S256` is strongly recommended if the
|
||||||
|
relying party supports it.
|
||||||
|
|
||||||
|
### id_token_signing_alg
|
||||||
|
|
||||||
|
{{< confkey type="string" default="RS256" required="no" >}}
|
||||||
|
|
||||||
|
The algorithm used to sign the ID Tokens in the token responses.
|
||||||
|
|
||||||
|
See the response object section of the
|
||||||
|
[integration guide](../../../integration/openid-connect/introduction.md#response-object) for more information including
|
||||||
|
the algorithm column for supported values. In addition to the values listed we also support `none` as a value for this
|
||||||
|
endpoint.
|
||||||
|
|
||||||
|
The algorithm chosen must have a key configured in the [issuer_private_keys](provider.md#issuerprivatekeys) section to
|
||||||
|
be considered valid.
|
||||||
|
|
||||||
|
This option has no effect if the [id_token_signing_key_id](#idtokensigningkid) is specified as the algorithm is
|
||||||
|
automatically assumed by the configured key.
|
||||||
|
|
||||||
|
### id_token_signing_key_id
|
||||||
|
|
||||||
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
|
The key id of the JWK used to sign the ID Tokens in the token responses. This option takes precedence over
|
||||||
|
[id_token_signing_alg](#idtokensigningalg). The value of this must one of those provided or calculated in the
|
||||||
|
[issuer_private_keys](provider.md#issuerprivatekeys).
|
||||||
|
|
||||||
|
### userinfo_signing_alg
|
||||||
|
|
||||||
|
{{< confkey type="string" default="none" required="no" >}}
|
||||||
|
|
||||||
|
The algorithm used to sign the userinfo endpoint responses.
|
||||||
|
|
||||||
|
See the response object section of the [integration guide](../../../integration/openid-connect/introduction.md#response-object)
|
||||||
|
for more information including the algorithm column for supported values. In addition to the values listed we also
|
||||||
|
support `none` as a value for this endpoint.
|
||||||
|
|
||||||
|
The algorithm chosen must have a key configured in the [issuer_private_keys](provider.md#issuerprivatekeys) section to
|
||||||
|
be considered valid.
|
||||||
|
|
||||||
|
This option has no effect if the [userinfo_signing_key_id](#userinfosigningkeyid) is specified as the algorithm is
|
||||||
|
automatically assumed by the configured key.
|
||||||
|
|
||||||
|
### userinfo_signing_key_id
|
||||||
|
|
||||||
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
|
The key id of the JWK used to sign the userinfo endpoint responses in the token responses. This option takes precedence
|
||||||
|
over [userinfo_signing_alg](#userinfosigningalg). The value of this must one of those provided or calculated in the
|
||||||
|
[issuer_private_keys](provider.md#issuerprivatekeys).
|
||||||
|
|
||||||
|
### request_object_signing_alg
|
||||||
|
|
||||||
|
{{< confkey type="string" default="RSA256" required="no" >}}
|
||||||
|
|
||||||
|
The JWT signing algorithm accepted for request objects.
|
||||||
|
|
||||||
|
See the request object section of the
|
||||||
|
[integration guide](../../../integration/openid-connect/introduction.md#request-object) for more information including
|
||||||
|
the algorithm column for supported values.
|
||||||
|
|
||||||
|
### token_endpoint_auth_method
|
||||||
|
|
||||||
|
{{< confkey type="string" default="" required="no" >}}
|
||||||
|
|
||||||
|
The registered client authentication mechanism used by this client for the [Token Endpoint]. If no method is defined
|
||||||
|
the confidential client type will accept any supported method. The public client type defaults to `none` as this
|
||||||
|
is required by the specification. This may be required as a breaking change in future versions.
|
||||||
|
Supported values are `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, and `none`.
|
||||||
|
|
||||||
|
See the [integration guide](../../../integration/openid-connect/introduction.md#client-authentication-method) for
|
||||||
|
more information.
|
||||||
|
|
||||||
|
### token_endpoint_auth_signing_alg
|
||||||
|
|
||||||
|
{{< confkey type="string" default="RS256" required="no" >}}
|
||||||
|
|
||||||
|
The JWT signing algorithm accepted when the [token_endpoint_auth_method](#tokenendpointauthmethod) is configured as
|
||||||
|
`client_secret_jwt` or `private_key_jwt`.
|
||||||
|
|
||||||
|
See the request object section of the [integration guide](../../../integration/openid-connect/introduction.md#request-object)
|
||||||
|
for more information including the algorithm column for supported values.
|
||||||
|
|
||||||
|
It's recommended that you specifically configure this when the following options are configured to specific values
|
||||||
|
otherwise we assume the default value:
|
||||||
|
|
||||||
|
| Configuration Option | Value | Default |
|
||||||
|
|:----------------------------------------------------------:|:-------------------:|:-------:|
|
||||||
|
| [token_endpoint_auth_method](#tokenendpointauthsigningalg) | `private_key_jwt` | `RS256` |
|
||||||
|
| [token_endpoint_auth_method](#tokenendpointauthsigningalg) | `client_secret_jwt` | `HS256` |
|
||||||
|
|
||||||
|
### public_keys
|
||||||
|
|
||||||
|
This section configures the trusted JSON Web Keys or JWKS for this registered client. This can either be static values
|
||||||
|
(recommended) or a URI using the `https` scheme. This section is situational required. These are used to validate the
|
||||||
|
[JWT] assertions from clients.
|
||||||
|
|
||||||
|
Required when the following options are configured:
|
||||||
|
|
||||||
|
- [request_object_signing_alg](#requestobjectsigningalg)
|
||||||
|
- [token_endpoint_auth_signing_alg](#tokenendpointauthsigningalg)
|
||||||
|
|
||||||
|
Required when the following options are configured to specific values:
|
||||||
|
|
||||||
|
- [token_endpoint_auth_method](#tokenendpointauthsigningalg): `private_key_jwt`
|
||||||
|
|
||||||
|
#### uri
|
||||||
|
|
||||||
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
|
The fully qualified, `https` scheme, and appropriately signed URI for the JWKS endpoint that implements
|
||||||
|
[RFC7517 Section 5](https://datatracker.ietf.org/doc/html/rfc7517#section-5). Must not be configured at the same time
|
||||||
|
as [values](#values). It's recommended that you do not configure this option, but statically configure [values](#values)
|
||||||
|
instead.
|
||||||
|
|
||||||
|
*__Important Note:__ the URL given in this value MUST be resolvable by Authelia and MUST present a certificate signed by
|
||||||
|
a certificate trusted by your environment. It is beyond our intentions to support anything other than this.*
|
||||||
|
|
||||||
|
#### values
|
||||||
|
|
||||||
|
{{< confkey type="list(object)" required="situational" >}}
|
||||||
|
|
||||||
|
A list of static keys.
|
||||||
|
|
||||||
|
##### key_id
|
||||||
|
|
||||||
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
||||||
|
The Key ID used to match the request object's JWT header `kid` value against.
|
||||||
|
|
||||||
|
##### use
|
||||||
|
|
||||||
|
{{< confkey type="string" default="sig" required="no" >}}
|
||||||
|
|
||||||
|
The key usage. Defaults to `sig` which is the only available option at this time.
|
||||||
|
|
||||||
|
##### algorithm
|
||||||
|
|
||||||
|
{{< confkey type="string" default="RS256" required="situational" >}}
|
||||||
|
|
||||||
|
The algorithm for this key. This value typically optional as it can be automatically detected based on the type of key
|
||||||
|
in some situations. It is however strongly recommended this is set.
|
||||||
|
|
||||||
|
See the request object table in the [integration guide](../../../integration/openid-connect/introduction.md#request-object)
|
||||||
|
for more information. The `Algorithm` column lists supported values, the `Key` column references the required
|
||||||
|
[key](#key) type constraints that exist for the algorithm, and the `JWK Default Conditions` column briefly explains the
|
||||||
|
conditions under which it's the default algorithm.
|
||||||
|
|
||||||
|
##### key
|
||||||
|
|
||||||
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
||||||
|
The public key portion of the JSON Web Key.
|
||||||
|
|
||||||
|
The public key the clients use to sign/encrypt the [OpenID Connect 1.0] asserted [JWT]'s. The key is generated by the
|
||||||
|
client application or the administrator of the client application.
|
||||||
|
|
||||||
|
The key *__MUST__*:
|
||||||
|
|
||||||
|
* Be a PEM block encoded in the DER base64 format ([RFC4648]).
|
||||||
|
* Be either:
|
||||||
|
* An RSA public key:
|
||||||
|
* With a key size of at least 2048 bits.
|
||||||
|
* An ECDSA public key with one of:
|
||||||
|
* A P-256 elliptical curve.
|
||||||
|
* A P-384 elliptical curve.
|
||||||
|
* A P-512 elliptical curve.
|
||||||
|
|
||||||
|
If the [certificate_chain](#certificatechain) is provided the private key must include matching public
|
||||||
|
key data for the first certificate in the chain.
|
||||||
|
|
||||||
|
##### certificate_chain
|
||||||
|
|
||||||
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
|
The certificate chain/bundle to be used with the [key](#key) DER base64 ([RFC4648])
|
||||||
|
encoded PEM format used to sign/encrypt the [OpenID Connect 1.0] [JWT]'s.
|
||||||
|
|
||||||
|
## Integration
|
||||||
|
|
||||||
|
To integrate Authelia's [OpenID Connect 1.0] implementation with a relying party please see the
|
||||||
|
[integration docs](../../../integration/openid-connect/introduction.md).
|
||||||
|
|
||||||
|
[token lifespan]: https://docs.apigee.com/api-platform/antipatterns/oauth-long-expiration
|
||||||
|
[OpenID Connect 1.0]: https://openid.net/connect/
|
||||||
|
[Token Endpoint]: https://openid.net/specs/openid-connect-core-1_0.html#TokenEndpoint
|
||||||
|
[JWT]: https://datatracker.ietf.org/doc/html/rfc7519
|
||||||
|
[RFC6234]: https://datatracker.ietf.org/doc/html/rfc6234
|
||||||
|
[RFC4648]: https://datatracker.ietf.org/doc/html/rfc4648
|
||||||
|
[RFC7468]: https://datatracker.ietf.org/doc/html/rfc7468
|
||||||
|
[RFC6749 Section 2.1]: https://datatracker.ietf.org/doc/html/rfc6749#section-2.1
|
||||||
|
[PKCE]: https://datatracker.ietf.org/doc/html/rfc7636
|
||||||
|
[Authorization Code Flow]: https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth
|
||||||
|
[Subject Identifier Type]: https://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes
|
||||||
|
[Pairwise Identifier Algorithm]: https://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg
|
||||||
|
[Pushed Authorization Requests]: https://datatracker.ietf.org/doc/html/rfc9126
|
||||||
|
|
|
@ -0,0 +1,432 @@
|
||||||
|
---
|
||||||
|
title: "OpenID Connect 1.0 Provider"
|
||||||
|
description: "OpenID Connect 1.0 Provider Configuration"
|
||||||
|
lead: "Authelia can operate as an OpenID Connect 1.0 Provider. This section describes how to configure this."
|
||||||
|
date: 2023-05-15T10:32:10+10:00
|
||||||
|
draft: false
|
||||||
|
images: []
|
||||||
|
menu:
|
||||||
|
configuration:
|
||||||
|
parent: "openid-connect"
|
||||||
|
weight: 190200
|
||||||
|
toc: true
|
||||||
|
aliases:
|
||||||
|
- /c/oidc
|
||||||
|
- /docs/configuration/identity-providers/oidc.html
|
||||||
|
---
|
||||||
|
|
||||||
|
__Authelia__ currently supports the [OpenID Connect 1.0] Provider role as an open
|
||||||
|
[__beta__](../../../roadmap/active/openid-connect.md) feature. We currently do not support the [OpenID Connect 1.0] Relying
|
||||||
|
Party role. This means other applications that implement the [OpenID Connect 1.0] Relying Party role can use Authelia as
|
||||||
|
an [OpenID Connect 1.0] Provider similar to how you may use social media or development platforms for login.
|
||||||
|
|
||||||
|
The [OpenID Connect 1.0] Relying Party role is the role which allows an application to use GitHub, Google, or other
|
||||||
|
[OpenID Connect 1.0] Providers for authentication and authorization. We do not intend to support this functionality at
|
||||||
|
this moment in time.
|
||||||
|
|
||||||
|
This section covers the [OpenID Connect 1.0] Provider configuration. For information on configuring individual
|
||||||
|
registered clients see the [OpenID Connect 1.0 Clients](clients.md) documentation.
|
||||||
|
|
||||||
|
More information about the beta can be found in the [roadmap](../../../roadmap/active/openid-connect.md) and in the
|
||||||
|
[integration](../../../integration/openid-connect/introduction.md) documentation.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
The following snippet provides a configuration example for the [OpenID Connect 1.0] Provider. This is not
|
||||||
|
intended for production use it's used to provide context and an indentation example.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
identity_providers:
|
||||||
|
oidc:
|
||||||
|
hmac_secret: this_is_a_secret_abc123abc123abc
|
||||||
|
issuer_private_keys:
|
||||||
|
- key_id: example
|
||||||
|
algorithm: RS256
|
||||||
|
use: sig
|
||||||
|
key: |
|
||||||
|
-----BEGIN RSA PUBLIC KEY-----
|
||||||
|
MEgCQQDAwV26ZA1lodtOQxNrJ491gWT+VzFum9IeZ+WTmMypYWyW1CzXKwsvTHDz
|
||||||
|
9ec+jserR3EMQ0Rr24lj13FL1ib5AgMBAAE=
|
||||||
|
-----END RSA PUBLIC KEY----
|
||||||
|
certificate_chain: |
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIBWzCCAQWgAwIBAgIQYAKsXhJOXKfyySlmpKicTzANBgkqhkiG9w0BAQsFADAT
|
||||||
|
MREwDwYDVQQKEwhBdXRoZWxpYTAeFw0yMzA0MjEwMDA3NDRaFw0yNDA0MjAwMDA3
|
||||||
|
NDRaMBMxETAPBgNVBAoTCEF1dGhlbGlhMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJB
|
||||||
|
AK2i7RlJEYo/Xa6mQmv9zmT0XUj3DcEhRJGPVw2qMyadUFxNg/ZFp7aTcToHMf00
|
||||||
|
z6T3b7mwdBkCFQOL3Kb7WRcCAwEAAaM1MDMwDgYDVR0PAQH/BAQDAgWgMBMGA1Ud
|
||||||
|
JQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADQQB8
|
||||||
|
Of2iM7fPadmtChCMna8lYWH+lEplj6BxOJlRuGRawxszLwi78bnq0sCR33LU6xMx
|
||||||
|
1oAPwIHNaJJwC4z6oG9E_DO_NOT_USE=
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIBWzCCAQWgAwIBAgIQYAKsXhJOXKfyySlmpKicTzANBgkqhkiG9w0BAQsFADAT
|
||||||
|
MREwDwYDVQQKEwhBdXRoZWxpYTAeFw0yMzA0MjEwMDA3NDRaFw0yNDA0MjAwMDA3
|
||||||
|
NDRaMBMxETAPBgNVBAoTCEF1dGhlbGlhMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJB
|
||||||
|
AK2i7RlJEYo/Xa6mQmv9zmT0XUj3DcEhRJGPVw2qMyadUFxNg/ZFp7aTcToHMf00
|
||||||
|
z6T3b7mwdBkCFQOL3Kb7WRcCAwEAAaM1MDMwDgYDVR0PAQH/BAQDAgWgMBMGA1Ud
|
||||||
|
JQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADQQB8
|
||||||
|
Of2iM7fPadmtChCMna8lYWH+lEplj6BxOJlRuGRawxszLwi78bnq0sCR33LU6xMx
|
||||||
|
1oAPwIHNaJJwC4z6oG9E_DO_NOT_USE=
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
issuer_private_key: |
|
||||||
|
-----BEGIN RSA PUBLIC KEY-----
|
||||||
|
MEgCQQDAwV26ZA1lodtOQxNrJ491gWT+VzFum9IeZ+WTmMypYWyW1CzXKwsvTHDz
|
||||||
|
9ec+jserR3EMQ0Rr24lj13FL1ib5AgMBAAE=
|
||||||
|
-----END RSA PUBLIC KEY----
|
||||||
|
issuer_certificate_chain: |
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIBWzCCAQWgAwIBAgIQYAKsXhJOXKfyySlmpKicTzANBgkqhkiG9w0BAQsFADAT
|
||||||
|
MREwDwYDVQQKEwhBdXRoZWxpYTAeFw0yMzA0MjEwMDA3NDRaFw0yNDA0MjAwMDA3
|
||||||
|
NDRaMBMxETAPBgNVBAoTCEF1dGhlbGlhMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJB
|
||||||
|
AK2i7RlJEYo/Xa6mQmv9zmT0XUj3DcEhRJGPVw2qMyadUFxNg/ZFp7aTcToHMf00
|
||||||
|
z6T3b7mwdBkCFQOL3Kb7WRcCAwEAAaM1MDMwDgYDVR0PAQH/BAQDAgWgMBMGA1Ud
|
||||||
|
JQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADQQB8
|
||||||
|
Of2iM7fPadmtChCMna8lYWH+lEplj6BxOJlRuGRawxszLwi78bnq0sCR33LU6xMx
|
||||||
|
1oAPwIHNaJJwC4z6oG9E_DO_NOT_USE=
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIBWzCCAQWgAwIBAgIQYAKsXhJOXKfyySlmpKicTzANBgkqhkiG9w0BAQsFADAT
|
||||||
|
MREwDwYDVQQKEwhBdXRoZWxpYTAeFw0yMzA0MjEwMDA3NDRaFw0yNDA0MjAwMDA3
|
||||||
|
NDRaMBMxETAPBgNVBAoTCEF1dGhlbGlhMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJB
|
||||||
|
AK2i7RlJEYo/Xa6mQmv9zmT0XUj3DcEhRJGPVw2qMyadUFxNg/ZFp7aTcToHMf00
|
||||||
|
z6T3b7mwdBkCFQOL3Kb7WRcCAwEAAaM1MDMwDgYDVR0PAQH/BAQDAgWgMBMGA1Ud
|
||||||
|
JQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADQQB8
|
||||||
|
Of2iM7fPadmtChCMna8lYWH+lEplj6BxOJlRuGRawxszLwi78bnq0sCR33LU6xMx
|
||||||
|
1oAPwIHNaJJwC4z6oG9E_DO_NOT_USE=
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
access_token_lifespan: 1h
|
||||||
|
authorize_code_lifespan: 1m
|
||||||
|
id_token_lifespan: 1h
|
||||||
|
refresh_token_lifespan: 90m
|
||||||
|
enable_client_debug_messages: false
|
||||||
|
minimum_parameter_entropy: 8
|
||||||
|
enforce_pkce: public_clients_only
|
||||||
|
enable_pkce_plain_challenge: false
|
||||||
|
pushed_authorizations:
|
||||||
|
enforce: false
|
||||||
|
context_lifespan: 5m
|
||||||
|
cors:
|
||||||
|
endpoints:
|
||||||
|
- authorization
|
||||||
|
- token
|
||||||
|
- revocation
|
||||||
|
- introspection
|
||||||
|
allowed_origins:
|
||||||
|
- https://example.com
|
||||||
|
allowed_origins_from_client_redirect_uris: false
|
||||||
|
```
|
||||||
|
|
||||||
|
## Options
|
||||||
|
|
||||||
|
### hmac_secret
|
||||||
|
|
||||||
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
||||||
|
*__Important Note:__ This can also be defined using a [secret](../../methods/secrets.md) which is __strongly recommended__
|
||||||
|
especially for containerized deployments.*
|
||||||
|
|
||||||
|
The HMAC secret used to sign the [JWT]'s. The provided string is hashed to a SHA256 ([RFC6234]) byte string for the
|
||||||
|
purpose of meeting the required format.
|
||||||
|
|
||||||
|
It's __strongly recommended__ this is a
|
||||||
|
[Random Alphanumeric String](../../../reference/guides/generating-secure-values.md#generating-a-random-alphanumeric-string)
|
||||||
|
with 64 or more characters.
|
||||||
|
|
||||||
|
### issuer_private_keys
|
||||||
|
|
||||||
|
{{< confkey type="list(object" required="no" >}}
|
||||||
|
|
||||||
|
The list of JWKS instead of or in addition to the [issuer_private_key](#issuerprivatekey) and
|
||||||
|
[issuer_certificate_chain](#issuercertificatechain). Can also accept ECDSA Private Key's and Certificates.
|
||||||
|
|
||||||
|
The default key for each algorithm is is decided based on the order of this list. The first key for each algorithm is
|
||||||
|
considered the default if a client is not configured to use a specific key id. For example if a client has
|
||||||
|
[id_token_signing_alg](clients.md#idtokensigningalg) `ES256` and [id_token_signing_key_id](clients.md#idtokensigningkid) is
|
||||||
|
not specified then the first `ES256` key in this list is used.
|
||||||
|
|
||||||
|
#### key_id
|
||||||
|
|
||||||
|
{{< confkey type="string" default="<thumbprint of public key>" required="no" >}}
|
||||||
|
|
||||||
|
Completely optional, and generally discouraged unless there is a collision between the automatically generated key id's.
|
||||||
|
If provided must be a unique string with 100 or less characters, with a recommendation to use a length less
|
||||||
|
than 10. In addition it must meet the following rules:
|
||||||
|
|
||||||
|
- Match the regular expression `^[a-zA-Z0-9](([a-zA-Z0-9._~-]*)([a-zA-Z0-9]))?$` which should enforce the following rules:
|
||||||
|
- Start with an alphanumeric character.
|
||||||
|
- End with an alphanumeric character.
|
||||||
|
- Only contain the [RFC3986 Unreserved Characters](https://datatracker.ietf.org/doc/html/rfc3986#section-2.3).
|
||||||
|
|
||||||
|
The default if this value is omitted is the first 7 characters of the public key SHA256 thumbprint encoded into
|
||||||
|
hexadecimal.
|
||||||
|
|
||||||
|
#### use
|
||||||
|
|
||||||
|
{{< confkey type="string" default="sig" required="no" >}}
|
||||||
|
|
||||||
|
The key usage. Defaults to `sig` which is the only available option at this time.
|
||||||
|
|
||||||
|
#### algorithm
|
||||||
|
|
||||||
|
{{< confkey type="string" default="RS256" required="situational" >}}
|
||||||
|
|
||||||
|
The algorithm for this key. This value typically optional as it can be automatically detected based on the type of key
|
||||||
|
in some situations.
|
||||||
|
|
||||||
|
See the response object table in the [integration guide](../../../integration/openid-connect/introduction.md#response-object)
|
||||||
|
for more information. The `Algorithm` column lists supported values, the `Key` column references the required
|
||||||
|
[key](#key) type constraints that exist for the algorithm, and the `JWK Default Conditions` column briefly explains the
|
||||||
|
conditions under which it's the default algorithm.
|
||||||
|
|
||||||
|
At least one `RSA256` key must be provided.
|
||||||
|
|
||||||
|
#### key
|
||||||
|
|
||||||
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
||||||
|
The private key associated with this key entry.
|
||||||
|
|
||||||
|
The private key used to sign/encrypt the [OpenID Connect 1.0] issued [JWT]'s. The key must be generated by the
|
||||||
|
administrator and can be done by following the
|
||||||
|
[Generating an RSA Keypair](../../../reference/guides/generating-secure-values.md#generating-an-rsa-keypair) guide.
|
||||||
|
|
||||||
|
The private key *__MUST__*:
|
||||||
|
* Be a PEM block encoded in the DER base64 format ([RFC4648]).
|
||||||
|
* Be one of:
|
||||||
|
* An RSA key with a key size of at least 2048 bits.
|
||||||
|
* An ECDSA private key with one of the P-256, P-384, or P-521 elliptical curves.
|
||||||
|
|
||||||
|
If the [certificate_chain](#certificatechain) is provided the private key must include matching public
|
||||||
|
key data for the first certificate in the chain.
|
||||||
|
|
||||||
|
#### certificate_chain
|
||||||
|
|
||||||
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
|
The certificate chain/bundle to be used with the [key](#key) DER base64 ([RFC4648])
|
||||||
|
encoded PEM format used to sign/encrypt the [OpenID Connect 1.0] [JWT]'s. When configured it enables the [x5c] and [x5t]
|
||||||
|
JSON key's in the JWKs [Discoverable Endpoint](../../../integration/openid-connect/introduction.md#discoverable-endpoints)
|
||||||
|
as per [RFC7517].
|
||||||
|
|
||||||
|
[RFC7517]: https://datatracker.ietf.org/doc/html/rfc7517
|
||||||
|
[x5c]: https://datatracker.ietf.org/doc/html/rfc7517#section-4.7
|
||||||
|
[x5t]: https://datatracker.ietf.org/doc/html/rfc7517#section-4.8
|
||||||
|
|
||||||
|
The first certificate in the chain must have the public key for the [key](#key), each certificate in the chain must be
|
||||||
|
valid for the current date, and each certificate in the chain should be signed by the certificate immediately following
|
||||||
|
it if present.
|
||||||
|
|
||||||
|
### issuer_private_key
|
||||||
|
|
||||||
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
||||||
|
The private key used to sign/encrypt the [OpenID Connect 1.0] issued [JWT]'s. The key must be generated by the
|
||||||
|
administrator and can be done by following the
|
||||||
|
[Generating an RSA Keypair](../../../reference/guides/generating-secure-values.md#generating-an-rsa-keypair) guide.
|
||||||
|
|
||||||
|
This private key is automatically appended to the [issuer_private_keys](#issuerprivatekeys) and assumed to be for the
|
||||||
|
`RS256` algorithm. If provided it is always the first key in this list. As such this key is assumed to be the default
|
||||||
|
for `RS256` if provided.
|
||||||
|
|
||||||
|
The issuer private key *__MUST__*:
|
||||||
|
|
||||||
|
* Be a PEM block encoded in the DER base64 format ([RFC4648]).
|
||||||
|
* Be an RSA private key:
|
||||||
|
* With a key size of at least 2048 bits.
|
||||||
|
|
||||||
|
If the [issuer_certificate_chain](#issuercertificatechain) is provided the private key must include matching public
|
||||||
|
key data for the first certificate in the chain.
|
||||||
|
|
||||||
|
### issuer_certificate_chain
|
||||||
|
|
||||||
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
|
The certificate chain/bundle to be used with the [issuer_private_key](#issuerprivatekey) DER base64 ([RFC4648])
|
||||||
|
encoded PEM format used to sign/encrypt the [OpenID Connect 1.0] [JWT]'s. When configured it enables the [x5c] and [x5t]
|
||||||
|
JSON key's in the JWKs [Discoverable Endpoint](../../../integration/openid-connect/introduction.md#discoverable-endpoints)
|
||||||
|
as per [RFC7517].
|
||||||
|
|
||||||
|
[RFC7517]: https://datatracker.ietf.org/doc/html/rfc7517
|
||||||
|
[x5c]: https://datatracker.ietf.org/doc/html/rfc7517#section-4.7
|
||||||
|
[x5t]: https://datatracker.ietf.org/doc/html/rfc7517#section-4.8
|
||||||
|
|
||||||
|
The first certificate in the chain must have the public key for the [issuer_private_key](#issuerprivatekey), each
|
||||||
|
certificate in the chain must be valid for the current date, and each certificate in the chain should be signed by the
|
||||||
|
certificate immediately following it if present.
|
||||||
|
|
||||||
|
### access_token_lifespan
|
||||||
|
|
||||||
|
{{< confkey type="duration" default="1h" required="no" >}}
|
||||||
|
|
||||||
|
The maximum lifetime of an access token. It's generally recommended keeping this short similar to the default.
|
||||||
|
For more information read these docs about [token lifespan].
|
||||||
|
|
||||||
|
### authorize_code_lifespan
|
||||||
|
|
||||||
|
{{< confkey type="duration" default="1m" required="no" >}}
|
||||||
|
|
||||||
|
The maximum lifetime of an authorize code. This can be rather short, as the authorize code should only be needed to
|
||||||
|
obtain the other token types. For more information read these docs about [token lifespan].
|
||||||
|
|
||||||
|
### id_token_lifespan
|
||||||
|
|
||||||
|
{{< confkey type="duration" default="1h" required="no" >}}
|
||||||
|
|
||||||
|
The maximum lifetime of an ID token. For more information read these docs about [token lifespan].
|
||||||
|
|
||||||
|
### refresh_token_lifespan
|
||||||
|
|
||||||
|
{{< confkey type="string" default="90m" required="no" >}}
|
||||||
|
|
||||||
|
The maximum lifetime of a refresh token. The
|
||||||
|
refresh token can be used to obtain new refresh tokens as well as access tokens or id tokens with an
|
||||||
|
up-to-date expiration. For more information read these docs about [token lifespan].
|
||||||
|
|
||||||
|
A good starting point is 50% more or 30 minutes more (which ever is less) time than the highest lifespan out of the
|
||||||
|
[access token lifespan](#accesstokenlifespan), the [authorize code lifespan](#authorizecodelifespan), and the
|
||||||
|
[id token lifespan](#idtokenlifespan). For instance the default for all of these is 60 minutes, so the default refresh
|
||||||
|
token lifespan is 90 minutes.
|
||||||
|
|
||||||
|
### enable_client_debug_messages
|
||||||
|
|
||||||
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
|
||||||
|
Allows additional debug messages to be sent to the clients.
|
||||||
|
|
||||||
|
### minimum_parameter_entropy
|
||||||
|
|
||||||
|
{{< confkey type="integer" default="8" required="no" >}}
|
||||||
|
|
||||||
|
This controls the minimum length of the `nonce` and `state` parameters.
|
||||||
|
|
||||||
|
*__Security Notice:__* Changing this value is generally discouraged, reducing it from the default can theoretically
|
||||||
|
make certain scenarios less secure. It is highly encouraged that if your OpenID Connect 1.0 Relying Party does not send
|
||||||
|
these parameters or sends parameters with a lower length than the default that they implement a change rather than
|
||||||
|
changing this value.
|
||||||
|
|
||||||
|
This restriction can also be disabled entirely when set to `-1`.
|
||||||
|
|
||||||
|
### enforce_pkce
|
||||||
|
|
||||||
|
{{< confkey type="string" default="public_clients_only" required="no" >}}
|
||||||
|
|
||||||
|
[Proof Key for Code Exchange](https://datatracker.ietf.org/doc/html/rfc7636) enforcement policy: if specified, must be
|
||||||
|
either `never`, `public_clients_only` or `always`.
|
||||||
|
|
||||||
|
If set to `public_clients_only` (default), [PKCE] will be required for public clients using the
|
||||||
|
[Authorization Code Flow].
|
||||||
|
|
||||||
|
When set to `always`, [PKCE] will be required for all clients using the Authorization Code flow.
|
||||||
|
|
||||||
|
*__Security Notice:__* Changing this value to `never` is generally discouraged, reducing it from the default can
|
||||||
|
theoretically make certain client-side applications (mobile applications, SPA) vulnerable to CSRF and authorization code
|
||||||
|
interception attacks.
|
||||||
|
|
||||||
|
### enable_pkce_plain_challenge
|
||||||
|
|
||||||
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
|
||||||
|
Allows [PKCE] `plain` challenges when set to `true`.
|
||||||
|
|
||||||
|
*__Security Notice:__* Changing this value is generally discouraged. Applications should use the `S256` [PKCE] challenge
|
||||||
|
method instead.
|
||||||
|
|
||||||
|
### pushed_authorizations
|
||||||
|
|
||||||
|
Controls the behaviour of [Pushed Authorization Requests].
|
||||||
|
|
||||||
|
#### enforce
|
||||||
|
|
||||||
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
|
||||||
|
When enabled all authorization requests must use the [Pushed Authorization Requests] flow.
|
||||||
|
|
||||||
|
#### context_lifespan
|
||||||
|
|
||||||
|
{{< confkey type="duration" default="5m" required="no" >}}
|
||||||
|
|
||||||
|
The maximum amount of time between the [Pushed Authorization Requests] flow being initiated and the generated
|
||||||
|
`request_uri` being utilized by a client.
|
||||||
|
|
||||||
|
### cors
|
||||||
|
|
||||||
|
Some [OpenID Connect 1.0] Endpoints need to allow cross-origin resource sharing, however some are optional. This section allows
|
||||||
|
you to configure the optional parts. We reply with CORS headers when the request includes the Origin header.
|
||||||
|
|
||||||
|
#### endpoints
|
||||||
|
|
||||||
|
{{< confkey type="list(string)" required="no" >}}
|
||||||
|
|
||||||
|
A list of endpoints to configure with cross-origin resource sharing headers. It is recommended that the `userinfo`
|
||||||
|
option is at least in this list. The potential endpoints which this can be enabled on are as follows:
|
||||||
|
|
||||||
|
* authorization
|
||||||
|
* pushed-authorization-request
|
||||||
|
* token
|
||||||
|
* revocation
|
||||||
|
* introspection
|
||||||
|
* userinfo
|
||||||
|
|
||||||
|
#### allowed_origins
|
||||||
|
|
||||||
|
{{< confkey type="list(string)" required="no" >}}
|
||||||
|
|
||||||
|
A list of permitted origins.
|
||||||
|
|
||||||
|
Any origin with https is permitted unless this option is configured or the
|
||||||
|
[allowed_origins_from_client_redirect_uris](#allowedoriginsfromclientredirecturis) option is enabled. This means
|
||||||
|
you must configure this option manually if you want http endpoints to be permitted to make cross-origin requests to the
|
||||||
|
[OpenID Connect 1.0] endpoints, however this is not recommended.
|
||||||
|
|
||||||
|
Origins must only have the scheme, hostname and port, they may not have a trailing slash or path.
|
||||||
|
|
||||||
|
In addition to an Origin URI, you may specify the wildcard origin in the allowed_origins. It MUST be specified by itself
|
||||||
|
and the [allowed_origins_from_client_redirect_uris](#allowedoriginsfromclientredirecturis) MUST NOT be enabled. The
|
||||||
|
wildcard origin is denoted as `*`. Examples:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
identity_providers:
|
||||||
|
oidc:
|
||||||
|
cors:
|
||||||
|
allowed_origins: "*"
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
identity_providers:
|
||||||
|
oidc:
|
||||||
|
cors:
|
||||||
|
allowed_origins:
|
||||||
|
- "*"
|
||||||
|
```
|
||||||
|
|
||||||
|
#### allowed_origins_from_client_redirect_uris
|
||||||
|
|
||||||
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
|
||||||
|
Automatically adds the origin portion of all redirect URI's on all clients to the list of
|
||||||
|
[allowed_origins](#allowed_origins), provided they have the scheme http or https and do not have the hostname of
|
||||||
|
localhost.
|
||||||
|
|
||||||
|
### clients
|
||||||
|
|
||||||
|
See the [OpenID Connect 1.0 Registered Clients](clients.md) documentation for configuring clients.
|
||||||
|
|
||||||
|
## Integration
|
||||||
|
|
||||||
|
To integrate Authelia's [OpenID Connect 1.0] implementation with a relying party please see the
|
||||||
|
[integration docs](../../../integration/openid-connect/introduction.md).
|
||||||
|
|
||||||
|
[token lifespan]: https://docs.apigee.com/api-platform/antipatterns/oauth-long-expiration
|
||||||
|
[OpenID Connect 1.0]: https://openid.net/connect/
|
||||||
|
[Token Endpoint]: https://openid.net/specs/openid-connect-core-1_0.html#TokenEndpoint
|
||||||
|
[JWT]: https://datatracker.ietf.org/doc/html/rfc7519
|
||||||
|
[RFC6234]: https://datatracker.ietf.org/doc/html/rfc6234
|
||||||
|
[RFC4648]: https://datatracker.ietf.org/doc/html/rfc4648
|
||||||
|
[RFC7468]: https://datatracker.ietf.org/doc/html/rfc7468
|
||||||
|
[RFC6749 Section 2.1]: https://datatracker.ietf.org/doc/html/rfc6749#section-2.1
|
||||||
|
[PKCE]: https://datatracker.ietf.org/doc/html/rfc7636
|
||||||
|
[Authorization Code Flow]: https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth
|
||||||
|
[Subject Identifier Type]: https://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes
|
||||||
|
[Pairwise Identifier Algorithm]: https://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg
|
||||||
|
[Pushed Authorization Requests]: https://datatracker.ietf.org/doc/html/rfc9126
|
|
@ -16,7 +16,7 @@ Environment variables are applied after the configuration file meaning anything
|
||||||
overrides the configuration files.
|
overrides the configuration files.
|
||||||
|
|
||||||
*__Please Note:__ It is not possible to configure several sections at this time, these include but may not be
|
*__Please Note:__ It is not possible to configure several sections at this time, these include but may not be
|
||||||
limited to the rules section in access control, the clients section in the OpenID Connect identity provider, the cookies
|
limited to the rules section in access control, the clients section in the OpenID Connect 1.0 Provider, the cookies
|
||||||
section of in session, and the authz section in the server endpoints.*
|
section of in session, and the authz section in the server endpoints.*
|
||||||
|
|
||||||
## Prefix
|
## Prefix
|
||||||
|
@ -39,7 +39,7 @@ For example this YAML configuration:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
log:
|
log:
|
||||||
level: info
|
level: 'info'
|
||||||
server:
|
server:
|
||||||
buffers:
|
buffers:
|
||||||
read: 4096
|
read: 4096
|
||||||
|
|
|
@ -63,9 +63,9 @@ authelia --config configuration.yml,config-acl.yml,config-other.yml
|
||||||
Authelia's configuration files use the YAML format. A template with all possible options can be found at the root of the
|
Authelia's configuration files use the YAML format. A template with all possible options can be found at the root of the
|
||||||
repository {{< github-link name="here" path="config.template.yml" >}}.
|
repository {{< github-link name="here" path="config.template.yml" >}}.
|
||||||
|
|
||||||
*__Important Note:__ You should not have configuration sections such as Access Control Rules or OpenID Connect clients
|
*__Important Note:__ You should not have configuration sections such as Access Control Rules or OpenID Connect 1.0
|
||||||
configured in multiple files. If you wish to split these into their own files that is fine, but if you have two files that
|
clients configured in multiple files. If you wish to split these into their own files that is fine, but if you have two
|
||||||
specify these sections and expect them to merge properly you are asking for trouble.*
|
files that specify these sections and expect them to merge properly you are asking for trouble.*
|
||||||
|
|
||||||
### Container
|
### Container
|
||||||
|
|
||||||
|
|
|
@ -77,9 +77,9 @@ other configuration using the environment but instead of loading a file the valu
|
||||||
[authentication_backend.ldap.password]: ../first-factor/ldap.md#password
|
[authentication_backend.ldap.password]: ../first-factor/ldap.md#password
|
||||||
[authentication_backend.ldap.tls.certificate_chain]: ../first-factor/ldap.md#tls
|
[authentication_backend.ldap.tls.certificate_chain]: ../first-factor/ldap.md#tls
|
||||||
[authentication_backend.ldap.tls.private_key]: ../first-factor/ldap.md#tls
|
[authentication_backend.ldap.tls.private_key]: ../first-factor/ldap.md#tls
|
||||||
[identity_providers.oidc.issuer_certificate_chain]: ../identity-providers/open-id-connect.md#issuercertificatechain
|
[identity_providers.oidc.issuer_certificate_chain]: ../identity-providers/openid-connect.md#issuercertificatechain
|
||||||
[identity_providers.oidc.issuer_private_key]: ../identity-providers/open-id-connect.md#issuerprivatekey
|
[identity_providers.oidc.issuer_private_key]: ../identity-providers/openid-connect.md#issuerprivatekey
|
||||||
[identity_providers.oidc.hmac_secret]: ../identity-providers/open-id-connect.md#hmacsecret
|
[identity_providers.oidc.hmac_secret]: ../identity-providers/openid-connect.md#hmacsecret
|
||||||
|
|
||||||
|
|
||||||
## Secrets in configuration file
|
## Secrets in configuration file
|
||||||
|
|
|
@ -17,15 +17,19 @@ aliases:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
certificates_directory: /config/certs/
|
certificates_directory: '/config/certs/'
|
||||||
default_redirection_url: https://home.example.com:8080/
|
default_redirection_url: 'https://home.example.com:8080/'
|
||||||
jwt_secret: v3ry_important_s3cr3t
|
jwt_secret: 'v3ry_important_s3cr3t'
|
||||||
theme: light
|
theme: 'light'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### certificates_directory
|
### certificates_directory
|
||||||
|
|
||||||
This option defines the location of additional certificates to load into the trust chain specifically for Authelia.
|
This option defines the location of additional certificates to load into the trust chain specifically for Authelia.
|
||||||
|
|
|
@ -18,16 +18,20 @@ The logging section tunes the logging settings.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
log:
|
log:
|
||||||
level: info
|
level: 'info'
|
||||||
format: text
|
format: 'text'
|
||||||
file_path: ""
|
file_path: ''
|
||||||
keep_stdout: false
|
keep_stdout: false
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### level
|
### level
|
||||||
|
|
||||||
{{< confkey type="string" default="info" required="no" >}}
|
{{< confkey type="string" default="info" required="no" >}}
|
||||||
|
|
|
@ -23,17 +23,21 @@ unless configured otherwise.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ntp:
|
ntp:
|
||||||
address: "time.cloudflare.com:123"
|
address: 'udp://time.cloudflare.com:123'
|
||||||
version: 3
|
version: 3
|
||||||
max_desync: 3s
|
max_desync: '3s'
|
||||||
disable_startup_check: false
|
disable_startup_check: false
|
||||||
disable_failure: false
|
disable_failure: false
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### address
|
### address
|
||||||
|
|
||||||
{{< confkey type="string" default="time.cloudflare.com:123" required="no" >}}
|
{{< confkey type="string" default="time.cloudflare.com:123" required="no" >}}
|
||||||
|
@ -41,6 +45,28 @@ ntp:
|
||||||
Determines the address of the NTP server to retrieve the time from. The format is `<host>:<port>`, and both of these are
|
Determines the address of the NTP server to retrieve the time from. The format is `<host>:<port>`, and both of these are
|
||||||
required.
|
required.
|
||||||
|
|
||||||
|
### address
|
||||||
|
|
||||||
|
{{< confkey type="address" default="udp://time.cloudflare.com:123" required="no" >}}
|
||||||
|
|
||||||
|
*__Reference Note:__ This configuration option uses the [address common syntax](../prologue/common.md#address). Please
|
||||||
|
see the [documentation](../prologue/common.md#address) on this format for more information.*
|
||||||
|
|
||||||
|
Configures the address for the NTP Server. The address itself is a connector and the scheme must be `udp`,
|
||||||
|
`udp4`, or `udp6`.
|
||||||
|
|
||||||
|
__Examples:__
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
ntp:
|
||||||
|
address: 'udp://127.0.0.1:123'
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
ntp:
|
||||||
|
address: 'udp6://[fd00:1111:2222:3333::1]:123'
|
||||||
|
```
|
||||||
|
|
||||||
### version
|
### version
|
||||||
|
|
||||||
{{< confkey type="integer" default="4" required="no" >}}
|
{{< confkey type="integer" default="4" required="no" >}}
|
||||||
|
@ -51,8 +77,8 @@ Determines the NTP version supported. Valid values are 3 or 4.
|
||||||
|
|
||||||
{{< confkey type="duration" default="3s" required="no" >}}
|
{{< confkey type="duration" default="3s" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
This is used to tune the acceptable desync from the time reported from the NTP server.
|
This is used to tune the acceptable desync from the time reported from the NTP server.
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,8 @@ toc: true
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
privacy_policy:
|
privacy_policy:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -23,6 +25,8 @@ privacy_policy:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### enabled
|
### enabled
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
@ -40,7 +44,7 @@ accepted is recorded and checked in the browser
|
||||||
If the user has not accepted the policy they should not be able to interact with the Authelia UI via normal means.
|
If the user has not accepted the policy they should not be able to interact with the Authelia UI via normal means.
|
||||||
|
|
||||||
Administrators who are required to abide by the [GDPR] or other privacy laws should be advised that
|
Administrators who are required to abide by the [GDPR] or other privacy laws should be advised that
|
||||||
[OpenID Connect 1.0](../identity-providers/open-id-connect.md) clients configured with the `implicit` consent mode are
|
[OpenID Connect 1.0](../identity-providers/openid-connect.md) clients configured with the `implicit` consent mode are
|
||||||
unlikely to trigger the display of the Authelia UI if the user is already authenticated.
|
unlikely to trigger the display of the Authelia UI if the user is already authenticated.
|
||||||
|
|
||||||
We wont be adding checks like this to the `implicit` consent mode when that mode in particular is unlikely to be
|
We wont be adding checks like this to the `implicit` consent mode when that mode in particular is unlikely to be
|
||||||
|
|
|
@ -16,22 +16,32 @@ aliases:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
server:
|
server:
|
||||||
endpoints:
|
endpoints:
|
||||||
authz:
|
authz:
|
||||||
forward-auth:
|
forward-auth:
|
||||||
implementation: ForwardAuth
|
implementation: 'ForwardAuth'
|
||||||
authn_strategies: []
|
authn_strategies:
|
||||||
|
- name: 'HeaderProxyAuthorization'
|
||||||
|
- name: 'CookieSession'
|
||||||
ext-authz:
|
ext-authz:
|
||||||
implementation: ExtAuthz
|
implementation: 'ExtAuthz'
|
||||||
authn_strategies: []
|
authn_strategies:
|
||||||
|
- name: 'HeaderProxyAuthorization'
|
||||||
|
- name: 'CookieSession'
|
||||||
auth-request:
|
auth-request:
|
||||||
implementation: AuthRequest
|
implementation: 'AuthRequest'
|
||||||
authn_strategies: []
|
authn_strategies:
|
||||||
|
- name: 'HeaderAuthRequestProxyAuthorization'
|
||||||
|
- name: 'CookieSession'
|
||||||
legacy:
|
legacy:
|
||||||
implementation: Legacy
|
implementation: 'Legacy'
|
||||||
authn_strategies: []
|
authn_strategies:
|
||||||
|
- name: 'HeaderLegacy'
|
||||||
|
- name: 'CookieSession'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Name
|
## Name
|
||||||
|
|
|
@ -17,91 +17,72 @@ aliases:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
server:
|
server:
|
||||||
host: 0.0.0.0
|
address: 'tcp://:9091/'
|
||||||
port: 9091
|
|
||||||
path: ""
|
|
||||||
disable_healthcheck: false
|
disable_healthcheck: false
|
||||||
tls:
|
tls:
|
||||||
key: ""
|
key: ''
|
||||||
certificate: ""
|
certificate: ''
|
||||||
client_certificates: []
|
client_certificates: []
|
||||||
headers:
|
headers:
|
||||||
csp_template: ""
|
csp_template: ''
|
||||||
buffers:
|
buffers:
|
||||||
read: 4096
|
read: 4096
|
||||||
write: 4096
|
write: 4096
|
||||||
timeouts:
|
timeouts:
|
||||||
read: 6s
|
read: '6s'
|
||||||
write: 6s
|
write: '6s'
|
||||||
idle: 30s
|
idle: '30s'
|
||||||
endpoints:
|
endpoints:
|
||||||
enable_pprof: false
|
enable_pprof: false
|
||||||
enable_expvars: false
|
enable_expvars: false
|
||||||
authz:
|
authz:
|
||||||
forward-auth:
|
forward-auth:
|
||||||
implementation: ForwardAuth
|
implementation: 'ForwardAuth'
|
||||||
authn_strategies: []
|
authn_strategies: []
|
||||||
ext-authz:
|
ext-authz:
|
||||||
implementation: ExtAuthz
|
implementation: 'ExtAuthz'
|
||||||
authn_strategies: []
|
authn_strategies: []
|
||||||
auth-request:
|
auth-request:
|
||||||
implementation: AuthRequest
|
implementation: 'AuthRequest'
|
||||||
authn_strategies: []
|
authn_strategies: []
|
||||||
legacy:
|
legacy:
|
||||||
implementation: Legacy
|
implementation: 'Legacy'
|
||||||
authn_strategies: []
|
authn_strategies: []
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
## host
|
### address
|
||||||
|
|
||||||
{{< confkey type="string" default="0.0.0.0" required="no" >}}
|
{{< confkey type="address" default="tcp://:9091/" required="no" >}}
|
||||||
|
|
||||||
Defines the address to listen on. See also [port](#port). Should typically be `0.0.0.0` or `127.0.0.1`, the former for
|
*__Reference Note:__ This configuration option uses the [address common syntax](../prologue/common.md#address). Please
|
||||||
containerized environments and the later for daemonized environments like init.d and systemd.
|
see the [documentation](../prologue/common.md#address) on this format for more information.*
|
||||||
|
|
||||||
Note: If utilising an IPv6 literal address it must be enclosed by square brackets and quoted:
|
Configures the listener address for the Main HTTP Server. The address itself is a listener and the scheme must either be
|
||||||
|
the `unix` scheme or one of the `tcp` schemes. It can configure the host, port, and path the listener responds to. If
|
||||||
|
the path is configured to anything other than `/` Authelia will handle requests for both `/` and the configured path.
|
||||||
|
|
||||||
```yaml
|
__Examples:__
|
||||||
host: "[fd00:1111:2222:3333::1]"
|
|
||||||
```
|
|
||||||
|
|
||||||
### port
|
|
||||||
|
|
||||||
{{< confkey type="integer" default="9091" required="no" >}}
|
|
||||||
|
|
||||||
Defines the port to listen on. See also [host](#host).
|
|
||||||
|
|
||||||
### path
|
|
||||||
|
|
||||||
{{< confkey type="string " required="no" >}}
|
|
||||||
|
|
||||||
Authelia by default is served from the root `/` location, either via its own domain or subdomain.
|
|
||||||
|
|
||||||
Modifying this setting will allow you to serve Authelia out from a specified base path. Please note
|
|
||||||
that currently only a single level path is supported meaning slashes are not allowed, and only
|
|
||||||
alphanumeric characters are supported.
|
|
||||||
|
|
||||||
__Example:__
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
server:
|
server:
|
||||||
path: ""
|
address: tcp://127.0.0.1:9091/
|
||||||
```
|
```
|
||||||
|
|
||||||
*Works for https://auth.example.com/, https://example.com/, etc*.
|
|
||||||
|
|
||||||
__Example:__
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
server:
|
server:
|
||||||
path: authelia
|
address: tcp://127.0.0.1:9091/subpath
|
||||||
```
|
```
|
||||||
|
|
||||||
*Works for https://auth.example.com/authelia/, https://example.com/authelia/, etc*.
|
```yaml
|
||||||
|
server:
|
||||||
|
address: unix:///var/run/authelia.sock
|
||||||
|
```
|
||||||
|
|
||||||
### asset_path
|
### asset_path
|
||||||
|
|
||||||
|
@ -171,13 +152,19 @@ research about how browsers utilize and understand this header before attempting
|
||||||
|
|
||||||
### buffers
|
### buffers
|
||||||
|
|
||||||
Configures the server buffers. See the [Server Buffers](../prologue/common.md#server-buffers) documentation for more
|
*__Reference Note:__ This configuration option uses the
|
||||||
information.
|
[Server buffers common structure](../prologue/common.md#server-buffers). Please see the
|
||||||
|
[documentation](../prologue/common.md#server-buffers) on this structure for more information.*
|
||||||
|
|
||||||
|
Configures the server buffers.
|
||||||
|
|
||||||
### timeouts
|
### timeouts
|
||||||
|
|
||||||
Configures the server timeouts. See the [Server Timeouts](../prologue/common.md#server-timeouts) documentation for more
|
*__Reference Note:__ This configuration option uses the
|
||||||
information.
|
[Server timeouts common structure](../prologue/common.md#server-timeouts). Please see the
|
||||||
|
[documentation](../prologue/common.md#server-timeouts) on this structure for more information.*
|
||||||
|
|
||||||
|
Configures the server timeouts.
|
||||||
|
|
||||||
### endpoints
|
### endpoints
|
||||||
|
|
||||||
|
@ -192,11 +179,11 @@ Enables the go [pprof](https://pkg.go.dev/net/http/pprof) endpoints.
|
||||||
|
|
||||||
#### enable_expvars
|
#### enable_expvars
|
||||||
|
|
||||||
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
|
||||||
*__Security Note:__ This is a developer endpoint. __DO NOT__ enable it unless you know why you're enabling it.
|
*__Security Note:__ This is a developer endpoint. __DO NOT__ enable it unless you know why you're enabling it.
|
||||||
__DO NOT__ enable this in production.*
|
__DO NOT__ enable this in production.*
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
|
||||||
|
|
||||||
Enables the go [expvar](https://pkg.go.dev/expvar) endpoints.
|
Enables the go [expvar](https://pkg.go.dev/expvar) endpoints.
|
||||||
|
|
||||||
#### authz
|
#### authz
|
||||||
|
|
|
@ -21,15 +21,19 @@ This method will use the plain text email template for readability purposes.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
notifier:
|
notifier:
|
||||||
disable_startup_check: false
|
disable_startup_check: false
|
||||||
filesystem:
|
filesystem:
|
||||||
filename: /config/notification.txt
|
filename: '/config/notification.txt'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### filename
|
### filename
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
|
@ -16,6 +16,8 @@ Authelia sends messages to users in order to verify their identity.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
notifier:
|
notifier:
|
||||||
disable_startup_check: false
|
disable_startup_check: false
|
||||||
|
@ -26,6 +28,8 @@ notifier:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### disable_startup_check
|
### disable_startup_check
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
|
|
@ -17,27 +17,28 @@ aliases:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
notifier:
|
notifier:
|
||||||
disable_startup_check: false
|
disable_startup_check: false
|
||||||
smtp:
|
smtp:
|
||||||
host: 127.0.0.1
|
address: 'smtp://127.0.0.1:25'
|
||||||
port: 1025
|
timeout: '5s'
|
||||||
timeout: 5s
|
username: 'test'
|
||||||
username: test
|
password: 'password'
|
||||||
password: password
|
|
||||||
sender: "Authelia <admin@example.com>"
|
sender: "Authelia <admin@example.com>"
|
||||||
identifier: localhost
|
identifier: 'localhost'
|
||||||
subject: "[Authelia] {title}"
|
subject: "[Authelia] {title}"
|
||||||
startup_check_address: test@authelia.com
|
startup_check_address: 'test@authelia.com'
|
||||||
disable_require_tls: false
|
disable_require_tls: false
|
||||||
disable_starttls: false
|
disable_starttls: false
|
||||||
disable_html_emails: false
|
disable_html_emails: false
|
||||||
tls:
|
tls:
|
||||||
server_name: smtp.example.com
|
server_name: 'smtp.example.com'
|
||||||
skip_verify: false
|
skip_verify: false
|
||||||
minimum_version: TLS1.2
|
minimum_version: 'TLS1.2'
|
||||||
maximum_version: TLS1.3
|
maximum_version: 'TLS1.3'
|
||||||
certificate_chain: |
|
certificate_chain: |
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
||||||
|
@ -109,35 +110,43 @@ notifier:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
### host
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
{{< confkey type="integer" required="yes" >}}
|
### address
|
||||||
|
|
||||||
The hostname of the SMTP server.
|
{{< confkey type="address" required="yes" >}}
|
||||||
|
|
||||||
If utilising an IPv6 literal address it must be enclosed by square brackets and quoted:
|
*__Reference Note:__ This configuration option uses the [address common syntax](../prologue/common.md#address). Please
|
||||||
|
see the [documentation](../prologue/common.md#address) on this format for more information.*
|
||||||
|
|
||||||
```yaml
|
Configures the address for the SMTP Server. The address itself is a connector and the scheme must be `smtp`,
|
||||||
host: "[fd00:1111:2222:3333::1]"
|
`submission`, or `submissions`. The only difference between these schemes are the default ports and `submissions`
|
||||||
```
|
requires a TLS transport per [SMTP Ports Security Measures][docs-security-smtp-port], whereas `submission` and `smtp`
|
||||||
|
use a standard TCP transport and typically enforce StartTLS.
|
||||||
### port
|
|
||||||
|
|
||||||
{{< confkey type="integer" required="yes" >}}
|
|
||||||
|
|
||||||
The port the SMTP service is listening on.
|
|
||||||
|
|
||||||
A connection is securely established with TLS after a succesful STARTTLS negotiation.
|
|
||||||
|
|
||||||
[Port 465 is an exception][docs-security-smtp-port] when supported by the mail server as a `submissions` service port.
|
|
||||||
STARTTLS negotiation is not required for this port, the connection is implicitly established with TLS.
|
|
||||||
|
|
||||||
[docs-security-smtp-port]: ../../overview/security/measures.md#smtp-ports
|
[docs-security-smtp-port]: ../../overview/security/measures.md#smtp-ports
|
||||||
|
|
||||||
|
__Examples:__
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
notifier:
|
||||||
|
smtp:
|
||||||
|
address: 'smtp://127.0.0.1:25'
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
notifier:
|
||||||
|
smtp:
|
||||||
|
address: 'submissions://[fd00:1111:2222:3333::1]:465'
|
||||||
|
```
|
||||||
|
|
||||||
### timeout
|
### timeout
|
||||||
|
|
||||||
{{< confkey type="duration" default="5s" required="no" >}}
|
{{< confkey type="duration" default="5s" required="no" >}}
|
||||||
|
|
||||||
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The SMTP connection timeout.
|
The SMTP connection timeout.
|
||||||
|
|
||||||
### username
|
### username
|
||||||
|
@ -223,8 +232,11 @@ mixed emails which contain both HTML and text so this option is rarely necessary
|
||||||
|
|
||||||
### tls
|
### tls
|
||||||
|
|
||||||
Controls the TLS connection validation process. You can see how to configure the tls section
|
*__Reference Note:__ This configuration option uses the
|
||||||
[here](../prologue/common.md#tls-configuration).
|
[TLS configuration common structure](../prologue/common.md#tls-configuration). Please see the
|
||||||
|
[documentation](../prologue/common.md#tls-configuration) on this structure for more information.*
|
||||||
|
|
||||||
|
Controls the TLS connection validation parameters for either StartTLS or the TLS socket.
|
||||||
|
|
||||||
## Using Gmail
|
## Using Gmail
|
||||||
|
|
||||||
|
@ -234,10 +246,10 @@ You need to generate an app password in order to use Gmail SMTP servers. The pro
|
||||||
```yaml
|
```yaml
|
||||||
notifier:
|
notifier:
|
||||||
smtp:
|
smtp:
|
||||||
username: myaccount@gmail.com
|
username: 'myaccount@gmail.com'
|
||||||
# Password can also be set using a secret: https://www.authelia.com/configuration/methods/secrets/
|
# Password can also be set using a secret: https://www.authelia.com/configuration/methods/secrets/
|
||||||
password: yourapppassword
|
password: 'yourapppassword'
|
||||||
sender: admin@example.com
|
sender: 'admin@example.com'
|
||||||
host: smtp.gmail.com
|
host: 'smtp.gmail.com'
|
||||||
port: 587
|
port: 587
|
||||||
```
|
```
|
||||||
|
|
|
@ -14,103 +14,184 @@ aliases:
|
||||||
- /c/common
|
- /c/common
|
||||||
---
|
---
|
||||||
|
|
||||||
## Duration Notation Format
|
## Syntax
|
||||||
|
|
||||||
We have implemented a string/integer based notation for configuration options that take a duration of time. This section
|
The following represent common syntax used within the configuration which have specific format requirements that are
|
||||||
describes the implementation of this. You can use this implementation in various areas of configuration such as:
|
used in multiple areas. This is intended on assisting in understanding these specific values, and not as a specific
|
||||||
|
guide on configuring any particular instance.
|
||||||
|
|
||||||
* session:
|
### Duration
|
||||||
* expiration
|
|
||||||
* inactivity
|
|
||||||
* remember_me
|
|
||||||
* regulation:
|
|
||||||
* ban_time
|
|
||||||
* find_time
|
|
||||||
* ntp:
|
|
||||||
* max_desync
|
|
||||||
* webauthn:
|
|
||||||
* timeout
|
|
||||||
|
|
||||||
The way this format works is you can either configure an integer or a string in the specific configuration areas. If you
|
The base type for this syntax is a string, and it also handles integers however this is discouraged.
|
||||||
supply an integer, it is considered a representation of seconds. If you supply a string, it parses the string in blocks
|
|
||||||
of quantities and units (number followed by a unit letter). For example `5h` indicates a quantity of 5 units of `h`.
|
|
||||||
|
|
||||||
The following is ignored:
|
If you supply an integer, it is considered a representation of seconds. If you supply a string, it parses the string in
|
||||||
|
blocks of quantities and units (number followed by a unit letter). For example `5h` indicates a quantity of 5 units
|
||||||
|
of `h`.
|
||||||
|
|
||||||
|
The following is ignored or stripped from the input:
|
||||||
- all spaces
|
- all spaces
|
||||||
- leading zeros
|
- leading zeros
|
||||||
|
- the word `and`
|
||||||
|
|
||||||
While you can use multiple of these blocks in combination, we suggest keeping it simple and use a single value.
|
While you can use multiple of these blocks in combination, we suggest keeping it simple and use a single value. In
|
||||||
|
addition it's important to note that the format while somewhat human readable still requires you closely follow the
|
||||||
|
expected formats.
|
||||||
|
|
||||||
### Unit Legend
|
#### Unit Legend
|
||||||
|
|
||||||
#### Short Units
|
The following is a legend for the unit formats available in this syntax. The long form units are only available from
|
||||||
|
v4.38.0 or newer.
|
||||||
|
|
||||||
These values have been available for a long time.
|
| Unit | Short Unit | Human Readable Long Unit |
|
||||||
|
|:------------:|:----------:|:-----------------------------:|
|
||||||
|
| Years | `y` | `year`, `years` |
|
||||||
|
| Months | `M` | `month`, `months` |
|
||||||
|
| Weeks | `w` | `week`, `weeks` |
|
||||||
|
| Days | `d` | `day`, `days` |
|
||||||
|
| Hours | `h` | `hour`, `hours` |
|
||||||
|
| Minutes | `m` | `minute`, `minutes` |
|
||||||
|
| Seconds | `s` | `second`, `seconds` |
|
||||||
|
| Milliseconds | `ms` | `millisecond`, `milliseconds` |
|
||||||
|
|
||||||
| Unit | Associated Letter |
|
#### Examples
|
||||||
|:-------:|:-----------------:|
|
|
||||||
| Years | y |
|
|
||||||
| Months | M |
|
|
||||||
| Weeks | w |
|
|
||||||
| Days | d |
|
|
||||||
| Hours | h |
|
|
||||||
| Minutes | m |
|
|
||||||
| Seconds | s |
|
|
||||||
|
|
||||||
#### Long Units
|
| Desired Value | Configuration Examples (Short) | Configuration Examples (Long) |
|
||||||
|
|:---------------------:|:-------------------------------------:|:--------------------------------------:|
|
||||||
|
| 1 hour and 30 minutes | `90m` or `1h30m` or `5400` or `5400s` | `1 hour and 30 minutes` |
|
||||||
|
| 1 day | `1d` or `24h` or `86400` or `86400s` | `1 day` |
|
||||||
|
| 10 hours | `10h` or `600m` or `9h60m` or `36000` | `10 hours` |
|
||||||
|
|
||||||
These values are more human readable but have only been available since v4.38.0.
|
### Address
|
||||||
|
|
||||||
| Unit | Human Readable Long Unit |
|
The base type for this syntax is a string.
|
||||||
|:------------:|:-----------------------------:|
|
|
||||||
| Years | `year`, `years` |
|
|
||||||
| Months | `month`, `months` |
|
|
||||||
| Weeks | `week`, `weeks` |
|
|
||||||
| Days | `day`, `days` |
|
|
||||||
| Hours | `hour`, `hours` |
|
|
||||||
| Minutes | `minute`, `minutes` |
|
|
||||||
| Seconds | `second`, `seconds` |
|
|
||||||
| Milliseconds | `millisecond`, `milliseconds` |
|
|
||||||
|
|
||||||
### Examples
|
The address type is a string that indicates how to configure a listener (i.e. listening for connections) or connector
|
||||||
|
(i.e. opening remote connections), which are the two primary categories of addresses.
|
||||||
|
|
||||||
| Desired Value | Configuration Examples |
|
|
||||||
|:---------------------:|:-------------------------------------:|
|
|
||||||
| 1 hour and 30 minutes | `90m` or `1h30m` or `5400` or `5400s` |
|
|
||||||
| 1 day | `1d` or `24h` or `86400` or `86400s` |
|
|
||||||
| 10 hours | `10h` or `600m` or `9h60m` or `36000` |
|
|
||||||
|
|
||||||
## Address
|
#### Format
|
||||||
|
|
||||||
The address type is a string that takes the following format:
|
This section outlines the format for these strings. The formats use a conventional POSIX format to indicate optional and
|
||||||
|
required elements. The square brackets `[]` surround optional portions, and the angled brackets `<>` surround required
|
||||||
```text
|
portions. Required portions may exist within optional portions, in which case they are often accompanied with other
|
||||||
[<scheme>://]<ip>[:<port>]
|
format specific text which indicates if the accompanying text exists then it is actually required, otherwise it's
|
||||||
```
|
entirely optional.
|
||||||
|
|
||||||
The square brackets indicate optional sections, and the angled brackets indicate required sections. The following
|
The square brackets indicate optional sections, and the angled brackets indicate required sections. The following
|
||||||
sections elaborate on this. Sections may only be optional for the purposes of parsing, there may be a configuration
|
sections elaborate on this. Sections may only be optional for the purposes of parsing, there may be a configuration
|
||||||
requirement that one of these is provided.
|
requirement that one of these is provided.
|
||||||
|
|
||||||
### scheme
|
##### Hostname
|
||||||
|
|
||||||
|
The following format represents the hostname format. It's valid for both a listener and connector in most instances.
|
||||||
|
Refer to the individual documentation for an option for clarity. In this format as per the notation the scheme and port
|
||||||
|
are optional. The default for these when not provided varies.
|
||||||
|
|
||||||
|
```text
|
||||||
|
[<scheme>://]<hostname>[:<port>][/<path>]
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Port
|
||||||
|
|
||||||
|
The following format represents the port format. It's valid only for a listener in most instances.
|
||||||
|
Refer to the individual documentation for an option for clarity. In this format as per the notation the scheme and
|
||||||
|
hostname are optional. The default for the scheme when not provided varies, and the default for the hostname is all
|
||||||
|
available addresses when not provided.
|
||||||
|
|
||||||
|
```text
|
||||||
|
[<scheme>://][hostname]:<port>[/<path>]
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Unix Domain Socket
|
||||||
|
|
||||||
|
The following format represents the unix domain socket format. It's valid for both a listener and connector in most
|
||||||
|
instances. Refer to the individual documentation for an option for clarity. In this format as per the notation there
|
||||||
|
are no optional portions.
|
||||||
|
|
||||||
|
The Unix Domain Socket format also accepts a query string. The following query parameters control certain behaviour of
|
||||||
|
this address type.
|
||||||
|
|
||||||
|
| Parameter | Listeners | Connectors | Purpose |
|
||||||
|
|:---------:|:---------:|:----------:|:------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
|
| `umask` | Yes | No | Sets the umask prior to creating the socket and restores it after creating it. The value must be an octal number with 3 or 4 digits. |
|
||||||
|
|
||||||
|
|
||||||
|
```text
|
||||||
|
unix://<path>
|
||||||
|
```
|
||||||
|
|
||||||
|
```text
|
||||||
|
unix://<path>?umask=0022
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Examples
|
||||||
|
|
||||||
|
Various examples for these formats.
|
||||||
|
|
||||||
|
```text
|
||||||
|
0.0.0.0
|
||||||
|
tcp://0.0.0.0
|
||||||
|
tcp://0.0.0.0/subpath
|
||||||
|
tcp://0.0.0.0:9091
|
||||||
|
tcp://0.0.0.0:9091/subpath
|
||||||
|
tcp://:9091
|
||||||
|
tcp://:9091/subpath
|
||||||
|
0.0.0.0:9091
|
||||||
|
|
||||||
|
udp://0.0.0.0:123
|
||||||
|
udp://:123
|
||||||
|
|
||||||
|
unix:///var/lib/authelia.sock
|
||||||
|
```
|
||||||
|
|
||||||
|
#### scheme
|
||||||
|
|
||||||
The entire scheme is optional, but if the scheme host delimiter `://` is in the string, the scheme must be present. The
|
The entire scheme is optional, but if the scheme host delimiter `://` is in the string, the scheme must be present. The
|
||||||
scheme must be one of `tcp://`, or `udp://`. The default scheme is `tcp://`.
|
scheme must be one of the following (the listeners and connectors columns indicate support for the scheme on the
|
||||||
|
respective address type):
|
||||||
|
|
||||||
### ip
|
| Scheme | Listeners | Connectors | Default Port | Notes |
|
||||||
|
|:-------------:|:---------:|:----------:|:------------:|:-------------------------------------------------------------------------:|
|
||||||
|
| `tcp` | Yes | Yes | N/A | Standard TCP Socket which allows IPv4 and/or IPv6 addresses |
|
||||||
|
| `tcp4` | Yes | Yes | N/A | Standard TCP Socket which allows only IPv4 addresses |
|
||||||
|
| `tcp6` | Yes | Yes | N/A | Standard TCP Socket which allows only IPv6 addresses |
|
||||||
|
| `udp` | Yes | Yes | N/A | Standard UDP Socket which allows IPv4 and/or IPv6 addresses |
|
||||||
|
| `udp4` | Yes | Yes | N/A | Standard UDP Socket which allows only IPv4 addresses |
|
||||||
|
| `udp6` | Yes | Yes | N/A | Standard UDP Socket which allows only IPv6 addresses |
|
||||||
|
| `unix` | Yes | Yes | N/A | Standard Unix Domain Socket which allows only absolute paths |
|
||||||
|
| `ldap` | No | Yes | 389 | Remote LDAP connection via TCP with implicit TLS via StartTLS |
|
||||||
|
| `ldaps` | No | Yes | 636 | Remote LDAP connection via TCP with explicit TLS |
|
||||||
|
| `ldapi` | No | Yes | N/A | LDAP connection via Unix Domain Socket |
|
||||||
|
| `smtp` | No | Yes | 25 | Remote SMTP connection via TCP using implicit TLS via StartTLS |
|
||||||
|
| `submission` | No | Yes | 587 | Remote SMTP Submission connection via TCP using implicit TLS via StartTLS |
|
||||||
|
| `submissions` | No | Yes | 465 | Remote SMTP Submission connection via TCP using explicit TLS |
|
||||||
|
|
||||||
The IP is required. If specifying an IPv6 it should be wrapped in square brackets. For example for the IPv6 address
|
If the scheme is absent, the default scheme is assumed. If the address has a `/` prefix it's assumed to be `unix`,
|
||||||
`::1` with the `tcp://` scheme and port `80`: `tcp://[::1]:80`.
|
otherwise it's assumed to be`tcp`. If the scheme is `unix` it must be suffixed with an absolute path i.e.
|
||||||
|
`/var/local/authelia.sock` would be represented as `unix:///var/run/authelia.sock`.
|
||||||
|
|
||||||
### port
|
#### hostname
|
||||||
|
|
||||||
The entire port is optional, but if the host port delimiter `:` exists it must also include a numeric port.
|
The hostname is required if the scheme is one of the `tcp` or `udp` schemes and there is no [port](#port) specified. It
|
||||||
|
can be any IP that is locally addressable or a hostname which resolves to a locally addressable IP.
|
||||||
|
|
||||||
## Regular Expressions
|
If specifying an IPv6 it should be wrapped in square brackets. For example for the IPv6 address `::1` with the `tcp`
|
||||||
|
scheme and port `80` the correct address would be `tcp://[::1]:80`.
|
||||||
|
|
||||||
We have several sections of configuration that utilize regular expressions. It's recommended to validate your regex
|
#### port
|
||||||
manually either via tools like [Regex 101](https://regex101.com/) (ensure you pick the `Golang` option) or some other
|
|
||||||
means.
|
The hostname is required if the scheme is one of the `tcp` or `udp` schemes and there is no [hostname](#hostname)
|
||||||
|
specified.
|
||||||
|
|
||||||
|
### Regular Expressions
|
||||||
|
|
||||||
|
We have several sections of configuration that utilize regular expressions. We use the Google RE2 regular expression
|
||||||
|
engine which is the full Go regular expression syntax engine, the syntax of which is described
|
||||||
|
[here](https://github.com/google/re2/wiki/Syntax) by the authors. It's very similar to regular expression engines like
|
||||||
|
PCRE, Perl, and Python; with the major exceptions being that it doesn't have backtracking.
|
||||||
|
|
||||||
|
It's recommended to validate your regular expressions manually either via tools like [Regex 101](https://regex101.com/)
|
||||||
|
(ensure you pick the `Golang` option) or some other means.
|
||||||
|
|
||||||
It's important when attempting to utilize a backslash that it's utilized correctly. The YAML parser is likely to parse
|
It's important when attempting to utilize a backslash that it's utilized correctly. The YAML parser is likely to parse
|
||||||
this as you trying to use YAML escape syntax instead of regex escape syntax. To avoid this use single quotes instead of
|
this as you trying to use YAML escape syntax instead of regex escape syntax. To avoid this use single quotes instead of
|
||||||
|
@ -128,19 +209,30 @@ Bad Example:
|
||||||
domain_regex: "^(admin|secure)\.example\.com$"
|
domain_regex: "^(admin|secure)\.example\.com$"
|
||||||
```
|
```
|
||||||
|
|
||||||
## TLS Configuration
|
## Structures
|
||||||
|
|
||||||
|
The following represent common data structures used within the configuration which have specific requirements that are
|
||||||
|
used in multiple areas. This is intended on assisting in understanding these specific structures, and not as a specific
|
||||||
|
guide on configuring any particular instance.
|
||||||
|
|
||||||
|
### TLS Configuration
|
||||||
|
|
||||||
Various sections of the configuration use a uniform configuration section called TLS. Notably LDAP and SMTP.
|
Various sections of the configuration use a uniform configuration section called TLS. Notably LDAP and SMTP.
|
||||||
This section documents the usage.
|
This section documents the usage.
|
||||||
|
|
||||||
### server_name
|
Various sections of the configuration use a uniform configuration section called `tls` which configure TLS socket and
|
||||||
|
TLS verification parameters. Notably the [LDAP](../first-factor/ldap.md#tls), [SMTP](../notifications/smtp.md#tls),
|
||||||
|
[PostgreSQL](../storage/postgres.md#tls), [MySQL](../storage/mysql.md#tls), and [Redis](../session/redis.md#tls)
|
||||||
|
sections. This section documents the common parts of this structure.
|
||||||
|
|
||||||
|
#### server_name
|
||||||
|
|
||||||
{{< confkey type="string" required="no" >}}
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
The key `server_name` overrides the name checked against the certificate in the verification process. Useful if you
|
The key `server_name` overrides the name checked against the certificate in the verification process. Useful if you
|
||||||
require an IP address for the host of the backend service but want to verify a specific certificate server name.
|
require an IP address for the host of the backend service but want to verify a specific certificate server name.
|
||||||
|
|
||||||
### skip_verify
|
#### skip_verify
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
|
||||||
|
@ -148,7 +240,7 @@ The key `skip_verify` completely negates validating the certificate of the backe
|
||||||
instead you should tweak the `server_name` option, and the global option
|
instead you should tweak the `server_name` option, and the global option
|
||||||
[certificates directory](../miscellaneous/introduction.md#certificatesdirectory).
|
[certificates directory](../miscellaneous/introduction.md#certificatesdirectory).
|
||||||
|
|
||||||
### minimum_version
|
#### minimum_version
|
||||||
|
|
||||||
{{< confkey type="string" default="TLS1.2" required="no" >}}
|
{{< confkey type="string" default="TLS1.2" required="no" >}}
|
||||||
|
|
||||||
|
@ -157,7 +249,7 @@ The possible values are `TLS1.3`, `TLS1.2`, `TLS1.1`, `TLS1.0`, `SSL3.0`. Anythi
|
||||||
are very old and deprecated. You should avoid using these and upgrade your backend service instead of decreasing
|
are very old and deprecated. You should avoid using these and upgrade your backend service instead of decreasing
|
||||||
this value. At the time of this writing `SSL3.0` will always produce errors.
|
this value. At the time of this writing `SSL3.0` will always produce errors.
|
||||||
|
|
||||||
### maximum_version
|
#### maximum_version
|
||||||
|
|
||||||
{{< confkey type="string" default="TLS1.3" required="no" >}}
|
{{< confkey type="string" default="TLS1.3" required="no" >}}
|
||||||
|
|
||||||
|
@ -166,7 +258,7 @@ The possible values are `TLS1.3`, `TLS1.2`, `TLS1.1`, `TLS1.0`, `SSL3.0`. Anythi
|
||||||
are very old and deprecated. You should avoid using these and upgrade your backend service instead of decreasing
|
are very old and deprecated. You should avoid using these and upgrade your backend service instead of decreasing
|
||||||
this value. At the time of this writing `SSL3.0` will always produce errors.
|
this value. At the time of this writing `SSL3.0` will always produce errors.
|
||||||
|
|
||||||
### certificate_chain
|
#### certificate_chain
|
||||||
|
|
||||||
{{< confkey type="string" required="no" >}}
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
|
@ -175,7 +267,7 @@ the server.
|
||||||
|
|
||||||
The value must be one or more certificates encoded in the DER base64 ([RFC4648]) encoded PEM format.
|
The value must be one or more certificates encoded in the DER base64 ([RFC4648]) encoded PEM format.
|
||||||
|
|
||||||
### private_key
|
#### private_key
|
||||||
|
|
||||||
{{< confkey type="string" required="no" >}}
|
{{< confkey type="string" required="no" >}}
|
||||||
|
|
||||||
|
@ -184,49 +276,69 @@ especially for containerized deployments.*
|
||||||
|
|
||||||
The private key to be used with the [certificate_chain](#certificatechain) for mutual TLS authentication.
|
The private key to be used with the [certificate_chain](#certificatechain) for mutual TLS authentication.
|
||||||
|
|
||||||
The value must be one private key encoded in the DER base64 ([RFC4648]) encoded PEM format.
|
The value must be one private key encoded in the DER base64 ([RFC4648]) encoded PEM format. If more than one certificate
|
||||||
|
is provided, in top down order, each certificate must be signed by the next certificate if provided.
|
||||||
|
|
||||||
[RFC4648]: https://datatracker.ietf.org/doc/html/rfc4648
|
[RFC4648]: https://datatracker.ietf.org/doc/html/rfc4648
|
||||||
|
|
||||||
## Server Buffers
|
### Server Buffers
|
||||||
|
|
||||||
### read
|
Various sections of the configuration use a uniform configuration section called `buffers` which configure HTTP server
|
||||||
|
buffers. Notably the [server](../miscellaneous/server.md#buffers) and
|
||||||
|
[metrics telemetry](../telemetry/metrics.md#buffers) sections. This section documents the common parts of this
|
||||||
|
structure.
|
||||||
|
|
||||||
|
#### read
|
||||||
|
|
||||||
{{< confkey type="integer" default="4096" required="no" >}}
|
{{< confkey type="integer" default="4096" required="no" >}}
|
||||||
|
|
||||||
Configures the maximum request size. The default of 4096 is generally sufficient for most use cases.
|
Configures the maximum request size. The default of 4096 is generally sufficient for most use cases.
|
||||||
|
|
||||||
### write
|
#### write
|
||||||
|
|
||||||
{{< confkey type="integer" default="4096" required="no" >}}
|
{{< confkey type="integer" default="4096" required="no" >}}
|
||||||
|
|
||||||
Configures the maximum response size. The default of 4096 is generally sufficient for most use cases.
|
Configures the maximum response size. The default of 4096 is generally sufficient for most use cases.
|
||||||
|
|
||||||
## Server Timeouts
|
### Server Timeouts
|
||||||
|
|
||||||
### read
|
Various sections of the configuration use a uniform configuration section called `timeouts` which configure HTTP server
|
||||||
|
timeouts. Notably the [server](../miscellaneous/server.md#timeouts) and
|
||||||
|
[metrics telemetry](../telemetry/metrics.md#timeouts) sections. This section documents the common parts of this
|
||||||
|
structure.
|
||||||
|
|
||||||
|
#### read
|
||||||
|
|
||||||
{{< confkey type="duration" default="6s" required="no" >}}
|
{{< confkey type="duration" default="6s" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](#duration-notation-format). Please see the
|
*__Reference Note:__ This configuration option uses the [duration common syntax](#duration).
|
||||||
[common options](#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
Configures the server read timeout.
|
Configures the server read timeout.
|
||||||
|
|
||||||
### write
|
#### write
|
||||||
|
|
||||||
{{< confkey type="duration" default="6s" required="no" >}}
|
{{< confkey type="duration" default="6s" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](#duration-notation-format). Please see the
|
*__Reference Note:__ This configuration option uses the [duration common syntax](#duration).
|
||||||
[common options](#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](#duration) on this format for more information.*
|
||||||
|
|
||||||
Configures the server write timeout.
|
Configures the server write timeout.
|
||||||
|
|
||||||
### idle
|
#### idle
|
||||||
|
|
||||||
{{< confkey type="duration" default="30s" required="no" >}}
|
{{< confkey type="duration" default="30s" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](#duration-notation-format). Please see the
|
*__Reference Note:__ This configuration option uses the [duration common syntax](#duration).
|
||||||
[common options](#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](#duration) on this format for more information.*
|
||||||
|
|
||||||
Configures the server idle timeout.
|
Configures the server idle timeout.
|
||||||
|
|
||||||
|
## Historical References
|
||||||
|
|
||||||
|
This contains links to historical anchors.
|
||||||
|
|
||||||
|
##### Duration Notation Format
|
||||||
|
|
||||||
|
See [duration common syntax](#duration).
|
||||||
|
|
||||||
|
|
|
@ -25,17 +25,21 @@ section of the configuration.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
duo_api:
|
duo_api:
|
||||||
disable: false
|
disable: false
|
||||||
hostname: api-123456789.example.com
|
hostname: 'api-123456789.example.com'
|
||||||
integration_key: ABCDEF
|
integration_key: 'ABCDEF'
|
||||||
secret_key: 1234567890abcdefghifjkl
|
secret_key: '1234567890abcdefghifjkl'
|
||||||
enable_self_enrollment: false
|
enable_self_enrollment: false
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### Disable
|
### Disable
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
|
|
@ -26,11 +26,13 @@ and many only support SHA1.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
totp:
|
totp:
|
||||||
disable: false
|
disable: false
|
||||||
issuer: authelia.com
|
issuer: 'authelia.com'
|
||||||
algorithm: sha1
|
algorithm: 'sha1'
|
||||||
digits: 6
|
digits: 6
|
||||||
period: 30
|
period: 30
|
||||||
skew: 1
|
skew: 1
|
||||||
|
@ -39,6 +41,8 @@ totp:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### disable
|
### disable
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
@ -61,9 +65,8 @@ by Authelia from others.
|
||||||
|
|
||||||
*__Important Note:__ Many TOTP applications do not support this option. It is strongly advised you find out which
|
*__Important Note:__ Many TOTP applications do not support this option. It is strongly advised you find out which
|
||||||
applications your users use and test them before changing this option. It is insufficient to test that the application
|
applications your users use and test them before changing this option. It is insufficient to test that the application
|
||||||
can add the key, it must also authenticate with Authelia as some applications silently ignore these options. [Bitwarden]
|
can add the key, it must also authenticate with Authelia as some applications silently ignore these options. See the
|
||||||
is the only one that has been tested at this time. If you'd like to contribute to documenting support for this option
|
[Reference Guide](../../reference/integrations/time-based-one-time-password-apps.md) for tested applications.*
|
||||||
please see [Issue 2650](https://github.com/authelia/authelia/issues/2650).*
|
|
||||||
|
|
||||||
[Bitwarden]: https://bitwarden.com/
|
[Bitwarden]: https://bitwarden.com/
|
||||||
|
|
||||||
|
@ -84,9 +87,8 @@ information.
|
||||||
|
|
||||||
*__Important Note:__ Some TOTP applications do not support this option. It is strongly advised you find out which
|
*__Important Note:__ Some TOTP applications do not support this option. It is strongly advised you find out which
|
||||||
applications your users use and test them before changing this option. It is insufficient to test that the application
|
applications your users use and test them before changing this option. It is insufficient to test that the application
|
||||||
can add the key, it must also authenticate with Authelia as some applications silently ignore these options. [Bitwarden]
|
can add the key, it must also authenticate with Authelia as some applications silently ignore these options. See the
|
||||||
is the only one that has been tested at this time. If you'd like to contribute to documenting support for this option
|
[Reference Guide](../../reference/integrations/time-based-one-time-password-apps.md) for tested applications.*
|
||||||
please see [Issue 2650](https://github.com/authelia/authelia/issues/2650).*
|
|
||||||
|
|
||||||
The number of digits a user needs to input to perform authentication. It's generally not recommended for this to be
|
The number of digits a user needs to input to perform authentication. It's generally not recommended for this to be
|
||||||
altered as many TOTP applications do not support anything other than 6. What's worse is some TOTP applications allow
|
altered as many TOTP applications do not support anything other than 6. What's worse is some TOTP applications allow
|
||||||
|
|
|
@ -16,17 +16,21 @@ aliases:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
webauthn:
|
webauthn:
|
||||||
disable: false
|
disable: false
|
||||||
display_name: Authelia
|
display_name: 'Authelia'
|
||||||
attestation_conveyance_preference: indirect
|
attestation_conveyance_preference: 'indirect'
|
||||||
user_verification: preferred
|
user_verification: 'preferred'
|
||||||
timeout: 60s
|
timeout: '60s'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### disable
|
### disable
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
@ -80,11 +84,11 @@ Available Options:
|
||||||
|
|
||||||
{{< confkey type="duration" default="60s" required="no" >}}
|
{{< confkey type="duration" default="60s" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
This adjusts the requested timeout for a WebAuthn interaction.
|
This adjusts the requested timeout for a WebAuthn interaction.
|
||||||
|
|
||||||
## FAQ
|
## Frequently Asked Questions
|
||||||
|
|
||||||
See the [Security Key FAQ](../../overview/authentication/security-key/index.md#faq) for the FAQ.
|
See the [Security Key FAQ](../../overview/authentication/security-key/index.md#frequently-asked-questions) for the FAQ.
|
||||||
|
|
|
@ -15,13 +15,20 @@ aliases:
|
||||||
- /docs/configuration/access-control.html
|
- /docs/configuration/access-control.html
|
||||||
---
|
---
|
||||||
|
|
||||||
|
*__Important Note:__ This section does not apply to OpenID Connect 1.0. See the [Frequently Asked Questions] for more
|
||||||
|
information.*
|
||||||
|
|
||||||
|
[Frequently Asked Questions]: ../../integration/openid-connect/frequently-asked-questions.md#why-doesnt-the-access-control-configuration-work-with-openid-connect-10
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
access_control:
|
access_control:
|
||||||
default_policy: deny
|
default_policy: 'deny'
|
||||||
networks:
|
networks:
|
||||||
- name: internal
|
- name: 'internal'
|
||||||
networks:
|
networks:
|
||||||
- '10.0.0.0/8'
|
- '10.0.0.0/8'
|
||||||
- '172.16.0.0/12'
|
- '172.16.0.0/12'
|
||||||
|
@ -29,7 +36,7 @@ access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: 'private.example.com'
|
- domain: 'private.example.com'
|
||||||
domain_regex: '^(\d+\-)?priv-img.example.com$'
|
domain_regex: '^(\d+\-)?priv-img.example.com$'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
networks:
|
networks:
|
||||||
- 'internal'
|
- 'internal'
|
||||||
- '1.1.1.1'
|
- '1.1.1.1'
|
||||||
|
@ -38,8 +45,8 @@ access_control:
|
||||||
- ['user:fred']
|
- ['user:fred']
|
||||||
- ['group:admins']
|
- ['group:admins']
|
||||||
methods:
|
methods:
|
||||||
- GET
|
- 'GET'
|
||||||
- HEAD
|
- 'HEAD'
|
||||||
resources:
|
resources:
|
||||||
- '^/api.*'
|
- '^/api.*'
|
||||||
query:
|
query:
|
||||||
|
@ -57,6 +64,8 @@ access_control:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### default_policy
|
### default_policy
|
||||||
|
|
||||||
{{< confkey type="string" default="deny" required="no" >}}
|
{{< confkey type="string" default="deny" required="no" >}}
|
||||||
|
@ -150,10 +159,10 @@ different ways.*
|
||||||
access_control:
|
access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: '*.example.com'
|
- domain: '*.example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
- domain:
|
- domain:
|
||||||
- '*.example.com'
|
- '*.example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
```
|
```
|
||||||
|
|
||||||
*Multiple domains matched. These rules will match either `apple.example.com` or `orange.example.com`. All rules in this
|
*Multiple domains matched. These rules will match either `apple.example.com` or `orange.example.com`. All rules in this
|
||||||
|
@ -163,11 +172,11 @@ list are effectively the same rule just expressed in different ways.*
|
||||||
access_control:
|
access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: ['apple.example.com', 'banana.example.com']
|
- domain: ['apple.example.com', 'banana.example.com']
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
- domain:
|
- domain:
|
||||||
- apple.example.com
|
- 'apple.example.com'
|
||||||
- banana.example.com
|
- 'banana.example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
```
|
```
|
||||||
|
|
||||||
*Multiple domains matched either via a static domain or via a [domain_regex]. This rule will match
|
*Multiple domains matched either via a static domain or via a [domain_regex]. This rule will match
|
||||||
|
@ -213,7 +222,7 @@ access_control:
|
||||||
- domain_regex:
|
- domain_regex:
|
||||||
- '^user-(?P<User>\w+)\.example\.com$'
|
- '^user-(?P<User>\w+)\.example\.com$'
|
||||||
- '^group-(?P<Group>\w+)\.example\.com$'
|
- '^group-(?P<Group>\w+)\.example\.com$'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
```
|
```
|
||||||
|
|
||||||
*Multiple domains example, one with a static domain and one with a regex domain. This will match requests to
|
*Multiple domains example, one with a static domain and one with a regex domain. This will match requests to
|
||||||
|
@ -224,7 +233,7 @@ access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: 'protected.example.com'
|
- domain: 'protected.example.com'
|
||||||
- domain_regex: '^(img|data)-private\.example\.com'
|
- domain_regex: '^(img|data)-private\.example\.com'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
```
|
```
|
||||||
|
|
||||||
#### policy
|
#### policy
|
||||||
|
@ -263,14 +272,14 @@ ways.*
|
||||||
```yaml
|
```yaml
|
||||||
access_control:
|
access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: example.com
|
- domain: 'example.com'
|
||||||
policy: two_factor
|
policy: 'two_factor'
|
||||||
subject:
|
subject:
|
||||||
- 'user:john'
|
- 'user:john'
|
||||||
- ['group:admin', 'group:app-name']
|
- ['group:admin', 'group:app-name']
|
||||||
- 'group:super-admin'
|
- 'group:super-admin'
|
||||||
- domain: example.com
|
- domain: 'example.com'
|
||||||
policy: two_factor
|
policy: 'two_factor'
|
||||||
subject:
|
subject:
|
||||||
- ['user:john']
|
- ['user:john']
|
||||||
- ['group:admin', 'group:app-name']
|
- ['group:admin', 'group:app-name']
|
||||||
|
@ -283,15 +292,15 @@ expressed in different ways.*
|
||||||
```yaml
|
```yaml
|
||||||
access_control:
|
access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: example.com
|
- domain: 'example.com'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
subject: 'group:super-admin'
|
subject: 'group:super-admin'
|
||||||
- domain: example.com
|
- domain: 'example.com'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
subject:
|
subject:
|
||||||
- 'group:super-admin'
|
- 'group:super-admin'
|
||||||
- domain: example.com
|
- domain: 'example.com'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
subject:
|
subject:
|
||||||
- ['group:super-admin']
|
- ['group:super-admin']
|
||||||
```
|
```
|
||||||
|
@ -328,10 +337,10 @@ relevant methods are listed in this table:
|
||||||
```yaml
|
```yaml
|
||||||
access_control:
|
access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: example.com
|
- domain: 'example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
methods:
|
methods:
|
||||||
- OPTIONS
|
- 'OPTIONS'
|
||||||
```
|
```
|
||||||
|
|
||||||
#### networks
|
#### networks
|
||||||
|
@ -365,28 +374,28 @@ rules in this list are effectively the same rule just expressed in different way
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
access_control:
|
access_control:
|
||||||
default_policy: two_factor
|
default_policy: 'two_factor'
|
||||||
networks:
|
networks:
|
||||||
- name: internal
|
- name: 'internal'
|
||||||
networks:
|
networks:
|
||||||
- '10.0.0.0/8'
|
- '10.0.0.0/8'
|
||||||
- '172.16.0.0/12'
|
- '172.16.0.0/12'
|
||||||
- '192.168.0.0/18'
|
- '192.168.0.0/18'
|
||||||
rules:
|
rules:
|
||||||
- domain: secure.example.com
|
- domain: 'secure.example.com'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
networks:
|
networks:
|
||||||
- '10.0.0.0/8'
|
- '10.0.0.0/8'
|
||||||
- '172.16.0.0/12'
|
- '172.16.0.0/12'
|
||||||
- '192.168.0.0/18'
|
- '192.168.0.0/18'
|
||||||
- '112.134.145.167/32'
|
- '112.134.145.167/32'
|
||||||
- domain: secure.example.com
|
- domain: 'secure.example.com'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
networks:
|
networks:
|
||||||
- 'internal'
|
- 'internal'
|
||||||
- '112.134.145.167/32'
|
- '112.134.145.167/32'
|
||||||
- domain: secure.example.com
|
- domain: 'secure.example.com'
|
||||||
policy: two_factor
|
policy: 'two_factor'
|
||||||
```
|
```
|
||||||
|
|
||||||
#### resources
|
#### resources
|
||||||
|
@ -421,8 +430,8 @@ likely save you a lot of time if you do it for all resource rules.
|
||||||
```yaml
|
```yaml
|
||||||
access_control:
|
access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: app.example.com
|
- domain: 'app.example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
resources:
|
resources:
|
||||||
- '^/api([/?].*)?$'
|
- '^/api([/?].*)?$'
|
||||||
```
|
```
|
||||||
|
@ -467,8 +476,8 @@ defaults to `present`.
|
||||||
```yaml
|
```yaml
|
||||||
access_control:
|
access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: app.example.com
|
- domain: 'app.example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
query:
|
query:
|
||||||
- - operator: 'present'
|
- - operator: 'present'
|
||||||
key: 'secure'
|
key: 'secure'
|
||||||
|
@ -545,13 +554,13 @@ a match for that request.
|
||||||
- domain:
|
- domain:
|
||||||
- 'example.com'
|
- 'example.com'
|
||||||
- '*.example.com'
|
- '*.example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
resources:
|
resources:
|
||||||
- '^/api$'
|
- '^/api$'
|
||||||
- '^/api/'
|
- '^/api/'
|
||||||
- domain:
|
- domain:
|
||||||
- 'app.example.com'
|
- 'app.example.com'
|
||||||
policy: two_factor
|
policy: 'two_factor'
|
||||||
```
|
```
|
||||||
|
|
||||||
[Rule Matching Concept 1]: #rule-matching-concept-1-sequential-order
|
[Rule Matching Concept 1]: #rule-matching-concept-1-sequential-order
|
||||||
|
@ -603,25 +612,25 @@ Here is a detailed example of an example access control section:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
access_control:
|
access_control:
|
||||||
default_policy: deny
|
default_policy: 'deny'
|
||||||
networks:
|
networks:
|
||||||
- name: internal
|
- name: 'internal'
|
||||||
networks:
|
networks:
|
||||||
- '10.10.0.0/16'
|
- '10.10.0.0/16'
|
||||||
- '192.168.2.0/24'
|
- '192.168.2.0/24'
|
||||||
- name: VPN
|
- name: 'VPN'
|
||||||
networks: 10.9.0.0/16
|
networks: '10.9.0.0/16'
|
||||||
rules:
|
rules:
|
||||||
- domain: 'public.example.com'
|
- domain: 'public.example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
|
|
||||||
- domain: '*.example.com'
|
- domain: '*.example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
methods:
|
methods:
|
||||||
- OPTIONS
|
- 'OPTIONS'
|
||||||
|
|
||||||
- domain: 'secure.example.com'
|
- domain: 'secure.example.com'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
networks:
|
networks:
|
||||||
- 'internal'
|
- 'internal'
|
||||||
- 'VPN'
|
- 'VPN'
|
||||||
|
@ -631,37 +640,37 @@ access_control:
|
||||||
- domain:
|
- domain:
|
||||||
- 'secure.example.com'
|
- 'secure.example.com'
|
||||||
- 'private.example.com'
|
- 'private.example.com'
|
||||||
policy: two_factor
|
policy: 'two_factor'
|
||||||
|
|
||||||
- domain: 'singlefactor.example.com'
|
- domain: 'singlefactor.example.com'
|
||||||
policy: one_factor
|
policy: 'one_factor'
|
||||||
|
|
||||||
- domain: 'mx2.mail.example.com'
|
- domain: 'mx2.mail.example.com'
|
||||||
subject: 'group:admins'
|
subject: 'group:admins'
|
||||||
policy: deny
|
policy: 'deny'
|
||||||
|
|
||||||
- domain: '*.example.com'
|
- domain: '*.example.com'
|
||||||
subject:
|
subject:
|
||||||
- 'group:admins'
|
- 'group:admins'
|
||||||
- 'group:moderators'
|
- 'group:moderators'
|
||||||
policy: two_factor
|
policy: 'two_factor'
|
||||||
|
|
||||||
- domain: dev.example.com
|
- domain: 'dev.example.com'
|
||||||
resources:
|
resources:
|
||||||
- '^/groups/dev/.*$'
|
- '^/groups/dev/.*$'
|
||||||
subject: 'group:dev'
|
subject: 'group:dev'
|
||||||
policy: two_factor
|
policy: 'two_factor'
|
||||||
|
|
||||||
- domain: dev.example.com
|
- domain: 'dev.example.com'
|
||||||
resources:
|
resources:
|
||||||
- '^/users/john/.*$'
|
- '^/users/john/.*$'
|
||||||
subject:
|
subject:
|
||||||
- ['group:dev', 'user:john']
|
- ['group:dev', 'user:john']
|
||||||
- 'group:admins'
|
- 'group:admins'
|
||||||
policy: two_factor
|
policy: 'two_factor'
|
||||||
|
|
||||||
- domain: '{user}.example.com'
|
- domain: '{user}.example.com'
|
||||||
policy: bypass
|
policy: 'bypass'
|
||||||
```
|
```
|
||||||
|
|
||||||
[RFC7231]: https://datatracker.ietf.org/doc/html/rfc7231
|
[RFC7231]: https://datatracker.ietf.org/doc/html/rfc7231
|
||||||
|
|
|
@ -18,6 +18,8 @@ aliases:
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
password_policy:
|
password_policy:
|
||||||
standard:
|
standard:
|
||||||
|
@ -35,6 +37,8 @@ password_policy:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### standard
|
### standard
|
||||||
|
|
||||||
This section allows you to enable standard security policies.
|
This section allows you to enable standard security policies.
|
||||||
|
|
|
@ -20,15 +20,19 @@ authentication attempts. This helps prevent brute-force attacks.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
regulation:
|
regulation:
|
||||||
max_retries: 3
|
max_retries: 3
|
||||||
find_time: 2m
|
find_time: '2m'
|
||||||
ban_time: 5m
|
ban_time: '5m'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### max_retries
|
### max_retries
|
||||||
|
|
||||||
{{< confkey type="integer" default="3" required="no" >}}
|
{{< confkey type="integer" default="3" required="no" >}}
|
||||||
|
@ -39,8 +43,8 @@ The number of failed login attempts before a user may be banned. Setting this op
|
||||||
|
|
||||||
{{< confkey type="duration" default="2m" required="no" >}}
|
{{< confkey type="duration" default="2m" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The period of time analyzed for failed attempts. For
|
The period of time analyzed for failed attempts. For
|
||||||
example if you set `max_retries` to 3 and `find_time` to `2m` this means the user must have 3 failed logins in
|
example if you set `max_retries` to 3 and `find_time` to `2m` this means the user must have 3 failed logins in
|
||||||
|
@ -50,8 +54,8 @@ example if you set `max_retries` to 3 and `find_time` to `2m` this means the use
|
||||||
|
|
||||||
{{< confkey type="duration" default="5m" required="no" >}}
|
{{< confkey type="duration" default="5m" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The period of time the user is banned for after meeting the `max_retries` and `find_time` configuration. After this
|
The period of time the user is banned for after meeting the `max_retries` and `find_time` configuration. After this
|
||||||
duration the account will be able to login again.
|
duration the account will be able to login again.
|
||||||
|
|
|
@ -20,24 +20,24 @@ the session cookie behaviour and the domains which Authelia can service authoriz
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
session:
|
session:
|
||||||
secret: insecure_session_secret
|
secret: 'insecure_session_secret'
|
||||||
|
name: 'authelia_session'
|
||||||
name: authelia_session
|
same_site: 'lax'
|
||||||
same_site: lax
|
inactivity: '5m'
|
||||||
inactivity: 5m
|
expiration: '1h'
|
||||||
expiration: 1h
|
remember_me: '1M'
|
||||||
remember_me: 1M
|
|
||||||
|
|
||||||
cookies:
|
cookies:
|
||||||
- domain: example.com
|
- domain: 'example.com'
|
||||||
authelia_url: https://auth.example.com
|
authelia_url: 'https://auth.example.com'
|
||||||
name: authelia_session
|
name: 'authelia_session'
|
||||||
same_site: lax
|
same_site: 'lax'
|
||||||
inactivity: 5m
|
inactivity: '5m'
|
||||||
expiration: 1h
|
expiration: '1h'
|
||||||
remember_me: 1d
|
remember_me: '1d'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Providers
|
## Providers
|
||||||
|
@ -56,6 +56,8 @@ providers are recommended.
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### secret
|
### secret
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
@ -95,8 +97,8 @@ The default `same_site` value for all `cookies` configurations.
|
||||||
|
|
||||||
{{< confkey type="duration" default="5m" required="no" >}}
|
{{< confkey type="duration" default="5m" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The default `inactivity` value for all [cookies](#cookies) configurations.
|
The default `inactivity` value for all [cookies](#cookies) configurations.
|
||||||
|
|
||||||
|
@ -104,8 +106,8 @@ The default `inactivity` value for all [cookies](#cookies) configurations.
|
||||||
|
|
||||||
{{< confkey type="duration" default="1h" required="no" >}}
|
{{< confkey type="duration" default="1h" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The default `expiration` value for all [cookies](#cookies) configurations.
|
The default `expiration` value for all [cookies](#cookies) configurations.
|
||||||
|
|
||||||
|
@ -113,8 +115,8 @@ The default `expiration` value for all [cookies](#cookies) configurations.
|
||||||
|
|
||||||
{{< confkey type="duration" default="1M" required="no" >}}
|
{{< confkey type="duration" default="1M" required="no" >}}
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The default `remember_me` value for all [cookies](#cookies) configurations.
|
The default `remember_me` value for all [cookies](#cookies) configurations.
|
||||||
|
|
||||||
|
@ -193,8 +195,8 @@ state but it's available as an option anyway.
|
||||||
|
|
||||||
*__Default Value:__ This option takes its default value from the [inactivity](#inactivity) setting above.*
|
*__Default Value:__ This option takes its default value from the [inactivity](#inactivity) setting above.*
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The period of time the user can be inactive for until the session is destroyed. Useful if you want long session timers
|
The period of time the user can be inactive for until the session is destroyed. Useful if you want long session timers
|
||||||
but don't want unused devices to be vulnerable.
|
but don't want unused devices to be vulnerable.
|
||||||
|
@ -205,8 +207,8 @@ but don't want unused devices to be vulnerable.
|
||||||
|
|
||||||
*__Default Value:__ This option takes its default value from the [expiration](#expiration) setting above.*
|
*__Default Value:__ This option takes its default value from the [expiration](#expiration) setting above.*
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The period of time before the cookie expires and the session is destroyed. This is overriden by
|
The period of time before the cookie expires and the session is destroyed. This is overriden by
|
||||||
[remember_me](#rememberme) when the remember me box is checked.
|
[remember_me](#rememberme) when the remember me box is checked.
|
||||||
|
@ -217,8 +219,8 @@ The period of time before the cookie expires and the session is destroyed. This
|
||||||
|
|
||||||
*__Default Value:__ This option takes its default value from the [remember_me](#rememberme) setting above.*
|
*__Default Value:__ This option takes its default value from the [remember_me](#rememberme) setting above.*
|
||||||
|
|
||||||
*__Note:__ This setting uses the [duration notation format](../prologue/common.md#duration-notation-format). Please see
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
the [common options](../prologue/common.md#duration-notation-format) documentation for information on this format.*
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The period of time before the cookie expires and the session is destroyed when the remember me box is checked. Setting
|
The period of time before the cookie expires and the session is destroyed when the remember me box is checked. Setting
|
||||||
this to `-1` disables this feature entirely for this session cookie domain.
|
this to `-1` disables this feature entirely for this session cookie domain.
|
||||||
|
|
|
@ -20,21 +20,23 @@ this option and we highly recommend it in production environments. It requires y
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
session:
|
session:
|
||||||
redis:
|
redis:
|
||||||
host: 127.0.0.1
|
host: '127.0.0.1'
|
||||||
port: 6379
|
port: 6379
|
||||||
username: authelia
|
username: 'authelia'
|
||||||
password: authelia
|
password: 'authelia'
|
||||||
database_index: 0
|
database_index: 0
|
||||||
maximum_active_connections: 8
|
maximum_active_connections: 8
|
||||||
minimum_idle_connections: 0
|
minimum_idle_connections: 0
|
||||||
tls:
|
tls:
|
||||||
server_name: myredis.example.com
|
server_name: 'myredis.example.com'
|
||||||
skip_verify: false
|
skip_verify: false
|
||||||
minimum_version: TLS1.2
|
minimum_version: 'TLS1.2'
|
||||||
maximum_version: TLS1.3
|
maximum_version: 'TLS1.3'
|
||||||
certificate_chain: |
|
certificate_chain: |
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
||||||
|
@ -103,15 +105,15 @@ session:
|
||||||
DO NOT USE==
|
DO NOT USE==
|
||||||
-----END RSA PRIVATE KEY-----
|
-----END RSA PRIVATE KEY-----
|
||||||
high_availability:
|
high_availability:
|
||||||
sentinel_name: mysentinel
|
sentinel_name: 'mysentinel'
|
||||||
# If `sentinel_username` is supplied, Authelia will connect using ACL-based
|
# If `sentinel_username` is supplied, Authelia will connect using ACL-based
|
||||||
# authentication. Otherwise, it will use traditional `requirepass` auth.
|
# authentication. Otherwise, it will use traditional `requirepass` auth.
|
||||||
sentinel_username: sentinel_user
|
sentinel_username: 'sentinel_user'
|
||||||
sentinel_password: sentinel_specific_pass
|
sentinel_password: 'sentinel_specific_pass'
|
||||||
nodes:
|
nodes:
|
||||||
- host: sentinel-node1
|
- host: 'sentinel-node1'
|
||||||
port: 26379
|
port: 26379
|
||||||
- host: sentinel-node2
|
- host: 'sentinel-node2'
|
||||||
port: 26379
|
port: 26379
|
||||||
route_by_latency: false
|
route_by_latency: false
|
||||||
route_randomly: false
|
route_randomly: false
|
||||||
|
@ -119,6 +121,8 @@ session:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### host
|
### host
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
@ -178,8 +182,12 @@ is useful if there are long delays in establishing connections.
|
||||||
|
|
||||||
### tls
|
### tls
|
||||||
|
|
||||||
If defined enables [redis] over TLS, and additionally controls the TLS connection validation process. You can see how to
|
*__Reference Note:__ This configuration option uses the
|
||||||
configure the tls section [here](../prologue/common.md#tls-configuration).
|
[TLS configuration common structure](../prologue/common.md#tls-configuration). Please see the
|
||||||
|
[documentation](../prologue/common.md#tls-configuration) on this structure for more information.*
|
||||||
|
|
||||||
|
If defined enables connecting to [redis] over a TLS socket, and additionally controls the TLS connection
|
||||||
|
validation parameters.
|
||||||
|
|
||||||
### high_availability
|
### high_availability
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,11 @@ The available storage backends are listed in the table of contents below.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
storage:
|
storage:
|
||||||
encryption_key: a_very_important_secret
|
encryption_key: 'a_very_important_secret'
|
||||||
local: {}
|
local: {}
|
||||||
mysql: {}
|
mysql: {}
|
||||||
postgres: {}
|
postgres: {}
|
||||||
|
@ -31,6 +33,8 @@ storage:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### encryption_key
|
### encryption_key
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
{{< confkey type="string" required="yes" >}}
|
||||||
|
|
|
@ -32,9 +32,9 @@ this instance if you wanted to downgrade to pre1 you would need to use an Authel
|
||||||
| 1 | 4.33.0 | Initial migration managed version |
|
| 1 | 4.33.0 | Initial migration managed version |
|
||||||
| 2 | 4.34.0 | WebAuthn - added webauthn_devices table, altered totp_config to include device created/used dates |
|
| 2 | 4.34.0 | WebAuthn - added webauthn_devices table, altered totp_config to include device created/used dates |
|
||||||
| 3 | 4.34.2 | WebAuthn - fix V2 migration kid column length and provide migration path for anyone on V2 |
|
| 3 | 4.34.2 | WebAuthn - fix V2 migration kid column length and provide migration path for anyone on V2 |
|
||||||
| 4 | 4.35.0 | Added OpenID Connect storage tables and opaque user identifier tables |
|
| 4 | 4.35.0 | Added OpenID Connect 1.0 storage tables and opaque user identifier tables |
|
||||||
| 5 | 4.35.1 | Fixed the oauth2_consent_session table to accept NULL subjects for users who are not yet signed in |
|
| 5 | 4.35.1 | Fixed the oauth2_consent_session table to accept NULL subjects for users who are not yet signed in |
|
||||||
| 6 | 4.37.0 | Adjusted the OpenID Connect tables to allow pre-configured consent improvements |
|
| 6 | 4.37.0 | Adjusted the OpenID Connect 1.0 tables to allow pre-configured consent improvements |
|
||||||
| 7 | 4.37.3 | Fixed some schema inconsistencies most notably the MySQL/MariaDB Engine and Collation |
|
| 7 | 4.37.3 | Fixed some schema inconsistencies most notably the MySQL/MariaDB Engine and Collation |
|
||||||
| 8 | 4.38.0 | OpenID Connect 1.0 Pushed Authorization Requests |
|
| 8 | 4.38.0 | OpenID Connect 1.0 Pushed Authorization Requests |
|
||||||
| 9 | 4.38.0 | Fix a PostgreSQL NOT NULL constraint issue on the `aaguid` column of the `webauthn_devices` table |
|
| 9 | 4.38.0 | Fix a PostgreSQL NOT NULL constraint issue on the `aaguid` column of the `webauthn_devices` table |
|
||||||
|
|
|
@ -22,21 +22,22 @@ guide for supported version information.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
storage:
|
storage:
|
||||||
encryption_key: a_very_important_secret
|
encryption_key: 'a_very_important_secret'
|
||||||
mysql:
|
mysql:
|
||||||
host: 127.0.0.1
|
address: 'tcp://127.0.0.1:3306'
|
||||||
port: 3306
|
database: 'authelia'
|
||||||
database: authelia
|
username: 'authelia'
|
||||||
username: authelia
|
password: 'mypassword'
|
||||||
password: mypassword
|
timeout: '5s'
|
||||||
timeout: 5s
|
|
||||||
tls:
|
tls:
|
||||||
server_name: mysql.example.com
|
server_name: 'mysql.example.com'
|
||||||
skip_verify: false
|
skip_verify: false
|
||||||
minimum_version: TLS1.2
|
minimum_version: 'TLS1.2'
|
||||||
maximum_version: TLS1.3
|
maximum_version: 'TLS1.3'
|
||||||
certificate_chain: |
|
certificate_chain: |
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
||||||
|
@ -108,37 +109,41 @@ storage:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### encryption_key
|
### encryption_key
|
||||||
|
|
||||||
See the [encryption_key docs](introduction.md#encryption_key).
|
See the [encryption_key docs](introduction.md#encryption_key).
|
||||||
|
|
||||||
### host
|
### address
|
||||||
|
|
||||||
{{< confkey type="string" default="localhost" required="no" >}}
|
{{< confkey type="address" required="yes" >}}
|
||||||
|
|
||||||
The database server host. This can also be a unix socket.
|
*__Reference Note:__ This configuration option uses the [address common syntax](../prologue/common.md#address). Please
|
||||||
|
see the [documentation](../prologue/common.md#address) on this format for more information.*
|
||||||
|
|
||||||
If utilising an IPv6 literal address it must be enclosed by square brackets and quoted:
|
Configures the address for the MySQL/MariaDB Server. The address itself is a connector and the scheme must either be
|
||||||
|
the `unix` scheme or one of the `tcp` schemes.
|
||||||
|
|
||||||
|
__Examples:__
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
storage:
|
storage:
|
||||||
mysql:
|
mysql:
|
||||||
host: "[fd00:1111:2222:3333::1]"
|
address: 'tcp://127.0.0.1:3306'
|
||||||
```
|
```
|
||||||
|
|
||||||
If utilizing a unix socket it must have the `/` prefix:
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
storage:
|
storage:
|
||||||
mysql:
|
mysql:
|
||||||
host: /var/run/mysqld.sock
|
address: 'tcp://[fd00:1111:2222:3333::1]:3306'
|
||||||
```
|
```
|
||||||
|
|
||||||
### port
|
```yaml
|
||||||
|
storage:
|
||||||
{{< confkey type="integer" default="3306" required="no" >}}
|
mysql:
|
||||||
|
address: 'unix:///var/run/mysqld.sock'
|
||||||
The port the database server is listening on.
|
```
|
||||||
|
|
||||||
### database
|
### database
|
||||||
|
|
||||||
|
@ -170,12 +175,19 @@ characters and the user password is changed to this value.
|
||||||
|
|
||||||
{{< confkey type="duration" default="5s" required="no" >}}
|
{{< confkey type="duration" default="5s" required="no" >}}
|
||||||
|
|
||||||
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The SQL connection timeout.
|
The SQL connection timeout.
|
||||||
|
|
||||||
### tls
|
### tls
|
||||||
|
|
||||||
|
*__Reference Note:__ This configuration option uses the
|
||||||
|
[TLS configuration common structure](../prologue/common.md#tls-configuration). Please see the
|
||||||
|
[documentation](../prologue/common.md#tls-configuration) on this structure for more information.*
|
||||||
|
|
||||||
If defined enables connecting to [MySQL] or [MariaDB] over a TLS socket, and additionally controls the TLS connection
|
If defined enables connecting to [MySQL] or [MariaDB] over a TLS socket, and additionally controls the TLS connection
|
||||||
validation process. You can see how to configure the tls section [here](../prologue/common.md#tls-configuration).
|
validation parameters.
|
||||||
|
|
||||||
[MySQL]: https://www.mysql.com/
|
[MySQL]: https://www.mysql.com/
|
||||||
[MariaDB]: https://mariadb.org/
|
[MariaDB]: https://mariadb.org/
|
||||||
|
|
|
@ -21,21 +21,23 @@ guide for supported version information.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
storage:
|
storage:
|
||||||
encryption_key: a_very_important_secret
|
encryption_key: 'a_very_important_secret'
|
||||||
postgres:
|
postgres:
|
||||||
host: 127.0.0.1
|
address: 'tcp://127.0.0.1:5432'
|
||||||
port: 5432
|
database: 'authelia'
|
||||||
database: authelia
|
schema: 'public'
|
||||||
schema: public
|
username: 'authelia'
|
||||||
username: authelia
|
password: 'mypassword'
|
||||||
password: mypassword
|
timeout: '5s'
|
||||||
tls:
|
tls:
|
||||||
server_name: postgres.example.com
|
server_name: 'postgres.example.com'
|
||||||
skip_verify: false
|
skip_verify: false
|
||||||
minimum_version: TLS1.2
|
minimum_version: 'TLS1.2'
|
||||||
maximum_version: TLS1.3
|
maximum_version: 'TLS1.3'
|
||||||
certificate_chain: |
|
certificate_chain: |
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
MIIC5jCCAc6gAwIBAgIRAK4Sj7FiN6PXo/urPfO4E7owDQYJKoZIhvcNAQELBQAw
|
||||||
|
@ -107,37 +109,41 @@ storage:
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### encryption_key
|
### encryption_key
|
||||||
|
|
||||||
See the [encryption_key docs](introduction.md#encryption_key).
|
See the [encryption_key docs](introduction.md#encryptionkey).
|
||||||
|
|
||||||
### host
|
### address
|
||||||
|
|
||||||
{{< confkey type="string" required="yes" >}}
|
{{< confkey type="address" required="yes" >}}
|
||||||
|
|
||||||
The database server host. This can also be a unix socket.
|
*__Reference Note:__ This configuration option uses the [address common syntax](../prologue/common.md#address). Please
|
||||||
|
see the [documentation](../prologue/common.md#address) on this format for more information.*
|
||||||
|
|
||||||
If utilising an IPv6 literal address it must be enclosed by square brackets and quoted:
|
Configures the address for the PostgreSQL Server. The address itself is a connector and the scheme must either be
|
||||||
|
the `unix` scheme or one of the `tcp` schemes.
|
||||||
|
|
||||||
|
__Examples:__
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
storage:
|
storage:
|
||||||
postgres:
|
postgres:
|
||||||
host: "[fd00:1111:2222:3333::1]"
|
address: 'tcp://127.0.0.1:5432'
|
||||||
```
|
```
|
||||||
|
|
||||||
If utilizing a unix socket it must have the `/` prefix:
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
storage:
|
storage:
|
||||||
postgres:
|
postgres:
|
||||||
host: /var/run/postgres.sock
|
address: 'tcp://[fd00:1111:2222:3333::1]:5432'
|
||||||
```
|
```
|
||||||
|
|
||||||
### port
|
```yaml
|
||||||
|
storage:
|
||||||
{{< confkey type="integer" default="5432" required="no" >}}
|
postgres:
|
||||||
|
address: 'unix:///var/run/postgres.sock'
|
||||||
The port the database server is listening on.
|
```
|
||||||
|
|
||||||
### database
|
### database
|
||||||
|
|
||||||
|
@ -176,11 +182,18 @@ characters and the user password is changed to this value.
|
||||||
|
|
||||||
{{< confkey type="duration" default="5s" required="no" >}}
|
{{< confkey type="duration" default="5s" required="no" >}}
|
||||||
|
|
||||||
|
*__Reference Note:__ This configuration option uses the [duration common syntax](../prologue/common.md#duration).
|
||||||
|
Please see the [documentation](../prologue/common.md#duration) on this format for more information.*
|
||||||
|
|
||||||
The SQL connection timeout.
|
The SQL connection timeout.
|
||||||
|
|
||||||
### tls
|
### tls
|
||||||
|
|
||||||
|
*__Reference Note:__ This configuration option uses the
|
||||||
|
[TLS configuration common structure](../prologue/common.md#tls-configuration). Please see the
|
||||||
|
[documentation](../prologue/common.md#tls-configuration) on this structure for more information.*
|
||||||
|
|
||||||
If defined enables connecting to [PostgreSQL] over a TLS socket, and additionally controls the TLS connection
|
If defined enables connecting to [PostgreSQL] over a TLS socket, and additionally controls the TLS connection
|
||||||
validation process. You can see how to configure the tls section [here](../prologue/common.md#tls-configuration).
|
validation parameters.
|
||||||
|
|
||||||
[PostgreSQL]: https://www.postgresql.org/
|
[PostgreSQL]: https://www.postgresql.org/
|
||||||
|
|
|
@ -24,15 +24,19 @@ but this requires you setup an external database such as [PostgreSQL](postgres.m
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
storage:
|
storage:
|
||||||
encryption_key: a_very_important_secret
|
encryption_key: 'a_very_important_secret'
|
||||||
local:
|
local:
|
||||||
path: /config/db.sqlite3
|
path: '/config/db.sqlite3'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### encryption_key
|
### encryption_key
|
||||||
|
|
||||||
See the [encryption_key docs](introduction.md#encryptionkey).
|
See the [encryption_key docs](introduction.md#encryptionkey).
|
||||||
|
|
|
@ -16,22 +16,26 @@ toc: true
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
{{< config-alert-example >}}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
telemetry:
|
telemetry:
|
||||||
metrics:
|
metrics:
|
||||||
enabled: false
|
enabled: false
|
||||||
address: "tcp://0.0.0.0:9959"
|
address: 'tcp://:9959/'
|
||||||
buffers:
|
buffers:
|
||||||
read: 4096
|
read: 4096
|
||||||
write: 4096
|
write: 4096
|
||||||
timeouts:
|
timeouts:
|
||||||
read: 6s
|
read: '6s'
|
||||||
write: 6s
|
write: '6s'
|
||||||
idle: 30s
|
idle: '30s'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
This section describes the individual configuration options.
|
||||||
|
|
||||||
### enabled
|
### enabled
|
||||||
|
|
||||||
{{< confkey type="boolean" default="false" required="no" >}}
|
{{< confkey type="boolean" default="false" required="no" >}}
|
||||||
|
@ -40,20 +44,29 @@ Determines if the [Prometheus] HTTP Metrics Exporter is enabled.
|
||||||
|
|
||||||
### address
|
### address
|
||||||
|
|
||||||
{{< confkey type="address" default="tcp://0.0.0.0:9959" required="no" >}}
|
{{< confkey type="address" default="tcp://:9959/" required="no" >}}
|
||||||
|
|
||||||
Configures the listener address for the [Prometheus] HTTP Metrics Exporter. This configuration key uses the
|
*__Reference Note:__ This configuration option uses the [address common syntax](../prologue/common.md#address). Please
|
||||||
[Address](../prologue/common.md#address) format. The scheme must be `tcp://` or empty.
|
see the [documentation](../prologue/common.md#address) on this format for more information.*
|
||||||
|
|
||||||
|
Configures the listener address for the [Prometheus] Metrics Exporter HTTP Server. The address itself is a listener and
|
||||||
|
the scheme must either be the `unix` scheme or one of the `tcp` schemes.
|
||||||
|
|
||||||
### buffers
|
### buffers
|
||||||
|
|
||||||
Configures the server buffers. See the [Server Buffers](../prologue/common.md#server-buffers) documentation for more
|
*__Reference Note:__ This configuration option uses the
|
||||||
information.
|
[Server buffers common structure](../prologue/common.md#server-buffers). Please see the
|
||||||
|
[documentation](../prologue/common.md#server-buffers) on this structure for more information.*
|
||||||
|
|
||||||
|
Configures the server buffers.
|
||||||
|
|
||||||
### timeouts
|
### timeouts
|
||||||
|
|
||||||
Configures the server timeouts. See the [Server Timeouts](../prologue/common.md#server-timeouts) documentation for more
|
*__Reference Note:__ This configuration option uses the
|
||||||
information.
|
[Server timeouts common structure](../prologue/common.md#server-timeouts). Please see the
|
||||||
|
[documentation](../prologue/common.md#server-timeouts) on this structure for more information.*
|
||||||
|
|
||||||
|
Configures the server timeouts.
|
||||||
|
|
||||||
## See More
|
## See More
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ In order to build and contribute to __Authelia__, you need to make sure the foll
|
||||||
* Backend Development:
|
* Backend Development:
|
||||||
* [go] *(v1.20 or greater)*
|
* [go] *(v1.20 or greater)*
|
||||||
* [gcc]
|
* [gcc]
|
||||||
|
* [gomock]
|
||||||
* Frontend Development
|
* Frontend Development
|
||||||
* [Node.js] *(v18 or greater)*
|
* [Node.js] *(v18 or greater)*
|
||||||
* [pnpm]
|
* [pnpm]
|
||||||
|
@ -61,7 +62,7 @@ There is a scripting context provided with __Authelia__ which can easily be conf
|
||||||
[suites] and various other tasks. Read more about it in the [authelia-scripts](reference-authelia-scripts.md) reference
|
[suites] and various other tasks. Read more about it in the [authelia-scripts](reference-authelia-scripts.md) reference
|
||||||
guide.
|
guide.
|
||||||
|
|
||||||
## FAQ
|
## Frequently Asked Questions
|
||||||
|
|
||||||
### Do you support development under Windows or OSX?
|
### Do you support development under Windows or OSX?
|
||||||
|
|
||||||
|
@ -95,6 +96,7 @@ listed subdomains from your browser, and they will be served by the reverse prox
|
||||||
[Buildkite]: https://buildkite.com/
|
[Buildkite]: https://buildkite.com/
|
||||||
[React]: https://reactjs.org/
|
[React]: https://reactjs.org/
|
||||||
[go]: https://go.dev/dl/
|
[go]: https://go.dev/dl/
|
||||||
|
[gomock]: https://github.com/golang/mock
|
||||||
[Node.js]: https://nodejs.org/en/download/
|
[Node.js]: https://nodejs.org/en/download/
|
||||||
[pnpm]: https://pnpm.io/installation
|
[pnpm]: https://pnpm.io/installation
|
||||||
[Docker]: https://docs.docker.com/get-docker/
|
[Docker]: https://docs.docker.com/get-docker/
|
||||||
|
|
|
@ -140,11 +140,56 @@ BREAKING CHANGE: <breaking change summary>
|
||||||
<BLANK LINE>
|
<BLANK LINE>
|
||||||
<BLANK LINE>
|
<BLANK LINE>
|
||||||
Fixes #<issue number>
|
Fixes #<issue number>
|
||||||
|
|
||||||
|
Signed-off-by: <AUTHOR>
|
||||||
```
|
```
|
||||||
|
|
||||||
Breaking Change section should start with the phrase "BREAKING CHANGE: " followed by a summary of the breaking change, a
|
Breaking Change section should start with the phrase "BREAKING CHANGE: " followed by a summary of the breaking change, a
|
||||||
blank line, and a detailed description of the breaking change that also includes migration instructions.
|
blank line, and a detailed description of the breaking change that also includes migration instructions.
|
||||||
|
|
||||||
|
#### Developer Certificate of Origin
|
||||||
|
|
||||||
|
The footer *__MUST__* include the formal and conventional notation indicating the users acceptance of the
|
||||||
|
[Developer Certificate of Origin](https://developercertificate.org/) as described by the following agreement:
|
||||||
|
|
||||||
|
```text
|
||||||
|
Developer's Certificate of Origin 1.1
|
||||||
|
|
||||||
|
By making a contribution to this project, I certify that:
|
||||||
|
|
||||||
|
(a) The contribution was created in whole or in part by me and I
|
||||||
|
have the right to submit it under the open source license
|
||||||
|
indicated in the file; or
|
||||||
|
|
||||||
|
(b) The contribution is based upon previous work that, to the best
|
||||||
|
of my knowledge, is covered under an appropriate open source
|
||||||
|
license and I have the right under that license to submit that
|
||||||
|
work with modifications, whether created in whole or in part
|
||||||
|
by me, under the same open source license (unless I am
|
||||||
|
permitted to submit under a different license), as indicated
|
||||||
|
in the file; or
|
||||||
|
|
||||||
|
(c) The contribution was provided directly to me by some other
|
||||||
|
person who certified (a), (b) or (c) and I have not modified
|
||||||
|
it.
|
||||||
|
|
||||||
|
(d) I understand and agree that this project and the contribution
|
||||||
|
are public and that a record of the contribution (including all
|
||||||
|
personal information I submit with it, including my sign-off) is
|
||||||
|
maintained indefinitely and may be redistributed consistent with
|
||||||
|
this project or the open source license(s) involved.
|
||||||
|
```
|
||||||
|
|
||||||
|
This can be achieved in the following ways:
|
||||||
|
|
||||||
|
- While making the commit use `git commit --signoff` or `git commit -s`
|
||||||
|
- To correct a single commit missing the sign off `git commit –-amend --no-edit --signoff` or `git commit --amend --no-edit -s`
|
||||||
|
- To correct multiple commits missing the sign off `git rebase --signoff HEAD~2` (i.e. with 2 commits that are missing the sign off)
|
||||||
|
|
||||||
|
This can be achieved by using `git commit --signoff`. A single previous commit can be signed using
|
||||||
|
`git commit –-amend --signoff --no-edit`. Multiple previous commits can be signed using `git rebase --signoff HEAD~2`
|
||||||
|
i.e. when 2 previous commits require the sign off.
|
||||||
|
|
||||||
### Revert Commits
|
### Revert Commits
|
||||||
|
|
||||||
If the commit reverts a previous commit, it should begin with `revert:`, followed by the header of the reverted commit.
|
If the commit reverts a previous commit, it should begin with `revert:`, followed by the header of the reverted commit.
|
||||||
|
@ -165,6 +210,8 @@ This in turn will cause issues when attempting to utilise the log with the provi
|
||||||
We now override any TTY detection/logging treatments and disable coloring/removal of the timestamp when a user is utilising the text based logger to a file.
|
We now override any TTY detection/logging treatments and disable coloring/removal of the timestamp when a user is utilising the text based logger to a file.
|
||||||
|
|
||||||
Fixes #1480.
|
Fixes #1480.
|
||||||
|
|
||||||
|
Signed-off-by: John Smith <jsmith@org.com>
|
||||||
```
|
```
|
||||||
|
|
||||||
This document is based on [AngularJS Git Commit Message Format].
|
This document is based on [AngularJS Git Commit Message Format].
|
||||||
|
|
|
@ -20,13 +20,30 @@ processing merges into the [master] branch.
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
* Ensure the `Allow edits by maintainers` checkbox is checked due to our [Squash Merge](#squash-merge) policy
|
* Ensure the `Allow edits by maintainers` checkbox is checked due to our [Squash Merge](#squash-merge) policy
|
||||||
* Ensure you avoid a force push due to our [Squash Merge](#squash-merge) policy and [Review](#review) complications
|
* Ensure you avoid a [force push](#force-push) excluding the specific exceptions listed in the
|
||||||
|
[force push section](#force-push)
|
||||||
|
|
||||||
|
[Developer Certificate of Origin]: commit-message.md#developer-certificate-of-origin
|
||||||
|
|
||||||
## Squash Merge
|
## Squash Merge
|
||||||
|
|
||||||
Every [Pull Request] will be squash merged into [master]. This requires the [Pull Request] branch to be up-to-date with
|
Every [Pull Request] will be squash merged into [master]. This requires the [Pull Request] branch to be up-to-date with
|
||||||
the [master] branch.
|
the [master] branch.
|
||||||
|
|
||||||
|
## Force Push
|
||||||
|
|
||||||
|
Please do not force push to your PR's branch after you have created your PR especially when a maintainer has either
|
||||||
|
performed a review or has indicated they are performing a review, as doing so makes it harder to review your commits
|
||||||
|
accurately. PRs will always be squashed by us when we merge your work. Commit as many times as you need in your
|
||||||
|
pull request branch.
|
||||||
|
|
||||||
|
A few exceptions exist to this rule and are as follows:
|
||||||
|
|
||||||
|
- Making adjustments to the commit message i.e. for the following reasons:
|
||||||
|
- To comply with the [Developer Certificate of Origin] sign off requirement
|
||||||
|
- To comply with the other [Commit Message] guidelines
|
||||||
|
- To rebase your changes off of master or another branch
|
||||||
|
|
||||||
## Review
|
## Review
|
||||||
|
|
||||||
Every [Pull Request] will undergo a formal review process. This process is heavily complicated if you rewrite history
|
Every [Pull Request] will undergo a formal review process. This process is heavily complicated if you rewrite history
|
||||||
|
@ -42,7 +59,7 @@ maintainers in their review process.
|
||||||
- The changes must be [documented](../prologue/documentation-contributions.md) if they add or change behaviour
|
- The changes must be [documented](../prologue/documentation-contributions.md) if they add or change behaviour
|
||||||
- The changes must meet the following guidelines:
|
- The changes must meet the following guidelines:
|
||||||
- [General](introduction.md#general-guidelines)
|
- [General](introduction.md#general-guidelines)
|
||||||
- [Commit Message](commit-message.md)
|
- [Commit Message]
|
||||||
- [Database Schema](database-schema.md)
|
- [Database Schema](database-schema.md)
|
||||||
- [Documentation](documentation.md)
|
- [Documentation](documentation.md)
|
||||||
- [Testing](testing.md)
|
- [Testing](testing.md)
|
||||||
|
@ -58,5 +75,6 @@ maintainers in their review process.
|
||||||
- Contribution includes DCO
|
- Contribution includes DCO
|
||||||
- Contribution includes REUSE-compliance requirements
|
- Contribution includes REUSE-compliance requirements
|
||||||
|
|
||||||
|
[Commit Message]: commit-message.md
|
||||||
[Pull Request]: https://github.com/authelia/authelia/pulls
|
[Pull Request]: https://github.com/authelia/authelia/pulls
|
||||||
[master]: https://github.com/authelia/authelia/tree/master/
|
[master]: https://github.com/authelia/authelia/tree/master/
|
||||||
|
|
|
@ -42,6 +42,16 @@ on most Debian based operating systems.
|
||||||
|
|
||||||
In addition to the `.deb` packages we also have an [APT Repository](https://apt.authelia.com).
|
In addition to the `.deb` packages we also have an [APT Repository](https://apt.authelia.com).
|
||||||
|
|
||||||
|
## Nix
|
||||||
|
|
||||||
|
Using the Nix package manager Authelia is available via the `https://nixos.org/channels/nixpkgs-unstable` channel.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable
|
||||||
|
$ nix-channel --update
|
||||||
|
$ nix-env -iA nixpkgs.authelia
|
||||||
|
```
|
||||||
|
|
||||||
## FreeBSD
|
## FreeBSD
|
||||||
|
|
||||||
In addition to the [binaries](#binaries) we publish, [FreshPorts](https://www.freshports.org/www/authelia/) offer a
|
In addition to the [binaries](#binaries) we publish, [FreshPorts](https://www.freshports.org/www/authelia/) offer a
|
||||||
|
|
|
@ -18,6 +18,44 @@ The [Docker] container is deployed with the following image names:
|
||||||
* [docker.io/authelia/authelia](https://hub.docker.com/r/authelia/authelia)
|
* [docker.io/authelia/authelia](https://hub.docker.com/r/authelia/authelia)
|
||||||
* [ghcr.io/authelia/authelia](https://github.com/authelia/authelia/pkgs/container/authelia)
|
* [ghcr.io/authelia/authelia](https://github.com/authelia/authelia/pkgs/container/authelia)
|
||||||
|
|
||||||
|
## Get Started
|
||||||
|
|
||||||
|
It's __*strongly recommended*__ that users setting up *Authelia* for the first time take a look at our
|
||||||
|
[Get Started](../prologue/get-started.md) guide. This takes you through various steps which are essential to
|
||||||
|
bootstrapping *Authelia*.
|
||||||
|
|
||||||
|
## Container
|
||||||
|
|
||||||
|
### Environment Variables
|
||||||
|
|
||||||
|
Several environment variables apply specifically to the official container. This table documents them. It is important
|
||||||
|
to note these environment variables are specific to the container and have no effect on the *Authelia* daemon itself and
|
||||||
|
this section is not meant to document the daemon environment variables.
|
||||||
|
|
||||||
|
| Name | Default | Usage |
|
||||||
|
|:-----:|:-------:|:---------------------------------------------------------------------------------------------:|
|
||||||
|
| PUID | 0 | If the container is running as UID 0, it will drop privileges to this UID via the entrypoint |
|
||||||
|
| PGID | 0 | If the container is running as UID 0, it will drop privileges to this GID via the entrypoint |
|
||||||
|
| UMASK | N/A | If set the container will run with the provided UMASK by running the `umask ${UMASK}` command |
|
||||||
|
|
||||||
|
### Permission Context
|
||||||
|
|
||||||
|
By default the container runs as the configured [Docker] daemon user. Users can control this behaviour in several ways.
|
||||||
|
|
||||||
|
The first and recommended way is instructing the [Docker] daemon to run the *Authelia* container as another user. See
|
||||||
|
the [docker run] or [Docker Compose file reference documentation](https://docs.docker.com/compose/compose-file/05-services/#user)
|
||||||
|
for more information. The best part of this method is the process will never have privileged access, and the only
|
||||||
|
negative is the user must manually configure the filesystem permissions correctly.
|
||||||
|
|
||||||
|
The second method is by using the environment variables listed above. The downside to this method is that the entrypoint
|
||||||
|
itself will run as UID 0 (root). The advantage is the container will automatically set owner and permissions on the
|
||||||
|
filesystem correctly.
|
||||||
|
|
||||||
|
The last method which is beyond our documentation or support is using the
|
||||||
|
[user namespace](https://docs.docker.com/engine/security/userns-remap/) facility [Docker] provides.
|
||||||
|
|
||||||
|
[docker run]: https://docs.docker.com/engine/reference/commandline/run/
|
||||||
|
|
||||||
## Docker Compose
|
## Docker Compose
|
||||||
|
|
||||||
We provide two main [Docker Compose] examples which can be utilized to help test *Authelia* or can be adapted into your
|
We provide two main [Docker Compose] examples which can be utilized to help test *Authelia* or can be adapted into your
|
||||||
|
@ -27,12 +65,6 @@ existing [Docker Compose].
|
||||||
* [Bundle: lite](#lite)
|
* [Bundle: lite](#lite)
|
||||||
* [Bundle: local](#local)
|
* [Bundle: local](#local)
|
||||||
|
|
||||||
### Get Started
|
|
||||||
|
|
||||||
It's __*strongly recommended*__ that users setting up *Authelia* for the first time take a look at our
|
|
||||||
[Get Started](../prologue/get-started.md) guide. This takes you through various steps which are essential to
|
|
||||||
bootstrapping *Authelia*.
|
|
||||||
|
|
||||||
### Standalone Example
|
### Standalone Example
|
||||||
|
|
||||||
The following examples are [Docker Compose] deployments with just *Authelia* and no bundled applications or
|
The following examples are [Docker Compose] deployments with just *Authelia* and no bundled applications or
|
||||||
|
@ -60,35 +92,35 @@ Use this [Standalone Example](#standalone-example) if you want to use
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
secrets:
|
secrets:
|
||||||
JWT_SECRET:
|
JWT_SECRET:
|
||||||
file: ${PWD}/data/authelia/secrets/JWT_SECRET
|
file: '${PWD}/data/authelia/secrets/JWT_SECRET'
|
||||||
SESSION_SECRET:
|
SESSION_SECRET:
|
||||||
file: ${PWD}/data/authelia/secrets/SESSION_SECRET
|
file: '${PWD}/data/authelia/secrets/SESSION_SECRET'
|
||||||
STORAGE_PASSWORD:
|
STORAGE_PASSWORD:
|
||||||
file: ${PWD}/data/authelia/secrets/STORAGE_PASSWORD
|
file: '${PWD}/data/authelia/secrets/STORAGE_PASSWORD'
|
||||||
STORAGE_ENCRYPTION_KEY:
|
STORAGE_ENCRYPTION_KEY:
|
||||||
file: ${PWD}/data/authelia/secrets/STORAGE_ENCRYPTION_KEY
|
file: '${PWD}/data/authelia/secrets/STORAGE_ENCRYPTION_KEY'
|
||||||
services:
|
services:
|
||||||
authelia:
|
authelia:
|
||||||
container_name: authelia
|
container_name: 'authelia'
|
||||||
image: docker.io/authelia/authelia:latest
|
image: 'docker.io/authelia/authelia:latest'
|
||||||
restart: unless-stopped
|
restart: 'unless-stopped'
|
||||||
networks:
|
networks:
|
||||||
net:
|
net:
|
||||||
aliases: []
|
aliases: []
|
||||||
expose:
|
expose:
|
||||||
- 9091
|
- 9091
|
||||||
secrets: [JWT_SECRET, SESSION_SECRET, STORAGE_PASSWORD, STORAGE_ENCRYPTION_KEY]
|
secrets: ['JWT_SECRET', 'SESSION_SECRET', 'STORAGE_PASSWORD', 'STORAGE_ENCRYPTION_KEY']
|
||||||
environment:
|
environment:
|
||||||
AUTHELIA_JWT_SECRET_FILE: /run/secrets/JWT_SECRET
|
AUTHELIA_JWT_SECRET_FILE: '/run/secrets/JWT_SECRET'
|
||||||
AUTHELIA_SESSION_SECRET_FILE: /run/secrets/SESSION_SECRET
|
AUTHELIA_SESSION_SECRET_FILE: '/run/secrets/SESSION_SECRET'
|
||||||
AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE: /run/secrets/STORAGE_PASSWORD
|
AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE: '/run/secrets/STORAGE_PASSWORD'
|
||||||
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE: /run/secrets/STORAGE_ENCRYPTION_KEY
|
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE: '/run/secrets/STORAGE_ENCRYPTION_KEY'
|
||||||
volumes:
|
volumes:
|
||||||
- ${PWD}/data/authelia/config:/config
|
- '${PWD}/data/authelia/config:/config'
|
||||||
networks:
|
networks:
|
||||||
net:
|
net:
|
||||||
external: true
|
external: true
|
||||||
name: net
|
name: 'net'
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
{{< /details >}}
|
{{< /details >}}
|
||||||
|
@ -104,26 +136,26 @@ Use this [Standalone Example](#standalone-example) if you want to use a standard
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
authelia:
|
authelia:
|
||||||
container_name: authelia
|
container_name: 'authelia'
|
||||||
image: docker.io/authelia/authelia:latest
|
image: 'docker.io/authelia/authelia:latest'
|
||||||
restart: unless-stopped
|
restart: 'unless-stopped'
|
||||||
networks:
|
networks:
|
||||||
net:
|
net:
|
||||||
aliases: []
|
aliases: []
|
||||||
expose:
|
expose:
|
||||||
- 9091
|
- 9091
|
||||||
environment:
|
environment:
|
||||||
AUTHELIA_JWT_SECRET_FILE: /secrets/JWT_SECRET
|
AUTHELIA_JWT_SECRET_FILE: '/secrets/JWT_SECRET'
|
||||||
AUTHELIA_SESSION_SECRET_FILE: /secrets/SESSION_SECRET
|
AUTHELIA_SESSION_SECRET_FILE: '/secrets/SESSION_SECRET'
|
||||||
AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE: /secrets/STORAGE_PASSWORD
|
AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE: '/secrets/STORAGE_PASSWORD'
|
||||||
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE: /secrets/STORAGE_ENCRYPTION_KEY
|
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE: '/secrets/STORAGE_ENCRYPTION_KEY'
|
||||||
volumes:
|
volumes:
|
||||||
- ${PWD}/data/authelia/config:/config
|
- '${PWD}/data/authelia/config:/config'
|
||||||
- ${PWD}/data/authelia/secrets:/secrets
|
- '${PWD}/data/authelia/secrets:/secrets'
|
||||||
networks:
|
networks:
|
||||||
net:
|
net:
|
||||||
external: true
|
external: true
|
||||||
name: net
|
name: 'net'
|
||||||
```
|
```
|
||||||
...
|
...
|
||||||
{{< /details >}}
|
{{< /details >}}
|
||||||
|
@ -178,7 +210,7 @@ running the following command:
|
||||||
grep -Eo '"https://.*" ' ./authelia/notification.txt.
|
grep -Eo '"https://.*" ' ./authelia/notification.txt.
|
||||||
```
|
```
|
||||||
|
|
||||||
## FAQ
|
## Frequently Asked Questions
|
||||||
|
|
||||||
#### Running the Proxy on the Host Instead of in a Container
|
#### Running the Proxy on the Host Instead of in a Container
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ spec:
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
## FAQ
|
## Frequently Asked Questions
|
||||||
|
|
||||||
### RAM usage
|
### RAM usage
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
Istio uses [Envoy](../proxies/envoy.md) as an Ingress. This means it has a relatively comprehensive integration option.
|
Istio uses [Envoy](../proxies/envoy.md) as an Ingress. This means it has a relatively comprehensive integration option.
|
||||||
Istio is supported with Authelia v4.37.0 and higher via [Envoy]'s [external authorization] filter.
|
Istio is supported with Authelia v4.37.0 and higher via the [Envoy] proxy [external authorization] filter.
|
||||||
|
|
||||||
[external authorization]: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/ext_authz/v3/ext_authz.proto.html#extensions-filters-http-ext-authz-v3-extauthz
|
[external authorization]: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/ext_authz/v3/ext_authz.proto.html#extensions-filters-http-ext-authz-v3-extauthz
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ This is an example IstioOperator manifest adjusted to authenticate with Authelia
|
||||||
portions of the resource that you add as well as context. You will need to adapt it to your needs.
|
portions of the resource that you add as well as context. You will need to adapt it to your needs.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: install.istio.io/v1alpha1
|
apiVersion: 'install.istio.io/v1alpha1'
|
||||||
kind: IstioOperator
|
kind: 'IstioOperator'
|
||||||
spec:
|
spec:
|
||||||
meshConfig:
|
meshConfig:
|
||||||
extensionProviders:
|
extensionProviders:
|
||||||
|
@ -63,13 +63,13 @@ spec:
|
||||||
The following [Authorization Policy] applies the above filter extension provider to the `nextcloud.example.com` domain:
|
The following [Authorization Policy] applies the above filter extension provider to the `nextcloud.example.com` domain:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: security.istio.io/v1beta1
|
apiVersion: 'security.istio.io/v1beta1'
|
||||||
kind: AuthorizationPolicy
|
kind: 'AuthorizationPolicy'
|
||||||
metadata:
|
metadata:
|
||||||
name: nextcloud
|
name: 'nextcloud'
|
||||||
namespace: apps
|
namespace: 'apps'
|
||||||
spec:
|
spec:
|
||||||
action: CUSTOM
|
action: 'CUSTOM'
|
||||||
provider:
|
provider:
|
||||||
name: 'authelia'
|
name: 'authelia'
|
||||||
rules:
|
rules:
|
||||||
|
|
|
@ -51,14 +51,14 @@ __SHOULD NOT__ be applied to the Authelia [Ingress] / [IngressRoute] itself.*
|
||||||
{{< details "middleware.yml" >}}
|
{{< details "middleware.yml" >}}
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: 'traefik.containo.us/v1alpha1'
|
||||||
kind: Middleware
|
kind: 'Middleware'
|
||||||
metadata:
|
metadata:
|
||||||
name: forwardauth-authelia
|
name: 'forwardauth-authelia'
|
||||||
namespace: default
|
namespace: 'default'
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: authelia
|
app.kubernetes.io/instance: 'authelia'
|
||||||
app.kubernetes.io/name: authelia
|
app.kubernetes.io/name: 'authelia'
|
||||||
spec:
|
spec:
|
||||||
forwardAuth:
|
forwardAuth:
|
||||||
address: 'http://authelia.default.svc.cluster.local/api/authz/forward-auth'
|
address: 'http://authelia.default.svc.cluster.local/api/authz/forward-auth'
|
||||||
|
@ -85,25 +85,25 @@ the `default` [Namespace] with TCP port `80` configured to route to the applicat
|
||||||
{{< details "ingress.yml" >}}
|
{{< details "ingress.yml" >}}
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: 'networking.k8s.io/v1'
|
||||||
kind: Ingress
|
kind: 'Ingress'
|
||||||
metadata:
|
metadata:
|
||||||
name: app
|
name: 'app'
|
||||||
namespace: default
|
namespace: 'default'
|
||||||
annotations:
|
annotations:
|
||||||
traefik.ingress.kubernetes.io/router.entryPoints: websecure
|
traefik.ingress.kubernetes.io/router.entryPoints: 'websecure'
|
||||||
traefik.ingress.kubernetes.io/router.middlewares: default-forwardauth-authelia@kubernetescrd
|
traefik.ingress.kubernetes.io/router.middlewares: 'default-forwardauth-authelia@kubernetescrd'
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
traefik.ingress.kubernetes.io/router.tls: 'true'
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: app.example.com
|
- host: 'app.example.com'
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /bar
|
- path: '/bar'
|
||||||
pathType: Prefix
|
pathType: 'Prefix'
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: app
|
name: 'app'
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
...
|
...
|
||||||
|
@ -119,27 +119,27 @@ the `default` [Namespace] with TCP port `80` configured to route to the applicat
|
||||||
{{< details "ingressRoute.yml" >}}
|
{{< details "ingressRoute.yml" >}}
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: 'traefik.containo.us/v1alpha1'
|
||||||
kind: IngressRoute
|
kind: 'IngressRoute'
|
||||||
metadata:
|
metadata:
|
||||||
name: app
|
name: 'app'
|
||||||
namespace: default
|
namespace: 'default'
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- 'websecure'
|
||||||
routes:
|
routes:
|
||||||
- kind: Rule
|
- kind: 'Rule'
|
||||||
match: Host(`app.example.com`)
|
match: 'Host(`app.example.com`)'
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: forwardauth-authelia
|
- name: 'forwardauth-authelia'
|
||||||
namespace: default
|
namespace: 'default'
|
||||||
services:
|
services:
|
||||||
- kind: Service
|
- kind: 'Service'
|
||||||
name: app
|
name: 'app'
|
||||||
namespace: default
|
namespace: 'default'
|
||||||
port: 80
|
port: 80
|
||||||
scheme: http
|
scheme: 'http'
|
||||||
strategy: RoundRobin
|
strategy: 'RoundRobin'
|
||||||
weight: 10
|
weight: 10
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
|
@ -44,8 +44,8 @@ In your Authelia configuration you will need to enter and update the following v
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ldap:
|
ldap:
|
||||||
|
address: 'ldap://OpenLDAP:1389'
|
||||||
implementation: custom
|
implementation: custom
|
||||||
url: ldap://OpenLDAP:1389
|
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_tls: false
|
start_tls: false
|
||||||
tls:
|
tls:
|
||||||
|
@ -55,14 +55,16 @@ In your Authelia configuration you will need to enter and update the following v
|
||||||
base_dn: DC=example,DC=com
|
base_dn: DC=example,DC=com
|
||||||
additional_users_dn: OU=users
|
additional_users_dn: OU=users
|
||||||
users_filter: (&(|({username_attribute}={input})({mail_attribute}={input}))(objectClass=person))
|
users_filter: (&(|({username_attribute}={input})({mail_attribute}={input}))(objectClass=person))
|
||||||
username_attribute: uid
|
|
||||||
mail_attribute: mail
|
|
||||||
display_name_attribute: displayName
|
|
||||||
additional_groups_dn: OU=groups
|
additional_groups_dn: OU=groups
|
||||||
groups_filter: (&(member=UID={input},OU=users,DC=example,DC=com)(objectClass=groupOfNames))
|
groups_filter: (&(member=UID={input},OU=users,DC=example,DC=com)(objectClass=groupOfNames))
|
||||||
group_name_attribute: cn
|
|
||||||
user: UID=authelia,OU=service accounts,DC=example,DC=com
|
user: UID=authelia,OU=service accounts,DC=example,DC=com
|
||||||
password: "SUPER_COMPLEX_PASSWORD"
|
password: "SUPER_COMPLEX_PASSWORD"
|
||||||
|
attributes:
|
||||||
|
distinguished_name: 'distinguishedName'
|
||||||
|
username: 'uid'
|
||||||
|
mail: 'mail'
|
||||||
|
member_of: 'memberOf'
|
||||||
|
group_name: 'cn'
|
||||||
```
|
```
|
||||||
Following this, restart Authelia, and you should be able to begin using LDAP integration for your user logins, with
|
Following this, restart Authelia, and you should be able to begin using LDAP integration for your user logins, with
|
||||||
Authelia taking the email attribute for users straight from the 'mail' attribute within the LDAP object.
|
Authelia taking the email attribute for users straight from the 'mail' attribute within the LDAP object.
|
||||||
|
@ -91,8 +93,8 @@ In your Authelia configuration you will need to enter and update the following v
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ldap:
|
ldap:
|
||||||
|
address: 'ldaps://ldap.example.com'
|
||||||
implementation: custom
|
implementation: custom
|
||||||
url: ldaps://ldap.example.com
|
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_tls: false
|
start_tls: false
|
||||||
tls:
|
tls:
|
||||||
|
@ -100,16 +102,18 @@ In your Authelia configuration you will need to enter and update the following v
|
||||||
skip_verify: true
|
skip_verify: true
|
||||||
minimum_version: TLS1.2
|
minimum_version: TLS1.2
|
||||||
base_dn: dc=example,DC=com
|
base_dn: dc=example,DC=com
|
||||||
username_attribute: uid
|
|
||||||
additional_users_dn: CN=users,CN=accounts
|
additional_users_dn: CN=users,CN=accounts
|
||||||
users_filter: (&(|({username_attribute}={input})({mail_attribute}={input}))(objectClass=person))
|
users_filter: (&(|({username_attribute}={input})({mail_attribute}={input}))(objectClass=person))
|
||||||
additional_groups_dn: OU=groups
|
additional_groups_dn: OU=groups
|
||||||
groups_filter: (&(member=UID={input},CN=users,CN=accounts,DC=example,DC=com)(objectClass=groupOfNames))
|
groups_filter: (&(member=UID={input},CN=users,CN=accounts,DC=example,DC=com)(objectClass=groupOfNames))
|
||||||
group_name_attribute: cn
|
|
||||||
mail_attribute: mail
|
|
||||||
display_name_attribute: displayName
|
|
||||||
user: UID=authelia,CN=users,CN=accounts,DC=example,DC=com
|
user: UID=authelia,CN=users,CN=accounts,DC=example,DC=com
|
||||||
password: "SUPER_COMPLEX_PASSWORD"
|
password: "SUPER_COMPLEX_PASSWORD"
|
||||||
|
attributes:
|
||||||
|
distinguished_name: 'distinguishedName'
|
||||||
|
username: 'uid'
|
||||||
|
mail: 'mail'
|
||||||
|
member_of: 'memberOf'
|
||||||
|
group_name: 'cn'
|
||||||
```
|
```
|
||||||
Following this, restart Authelia, and you should be able to begin using LDAP integration for your user logins, with
|
Following this, restart Authelia, and you should be able to begin using LDAP integration for your user logins, with
|
||||||
Authelia taking the email attribute for users straight from the 'mail' attribute within the LDAP object.
|
Authelia taking the email attribute for users straight from the 'mail' attribute within the LDAP object.
|
||||||
|
@ -134,24 +138,26 @@ In your Authelia configuration you will need to enter and update the following v
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ldap:
|
ldap:
|
||||||
|
address: 'ldap://lldap:3890'
|
||||||
implementation: custom
|
implementation: custom
|
||||||
url: ldap://lldap:3890
|
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_tls: false
|
start_tls: false
|
||||||
base_dn: dc=example,DC=com
|
base_dn: dc=example,DC=com
|
||||||
username_attribute: uid
|
|
||||||
additional_users_dn: OU=people
|
additional_users_dn: OU=people
|
||||||
# To allow sign in both with username and email, one can use a filter like
|
# To allow sign in both with username and email, one can use a filter like
|
||||||
# (&(|({username_attribute}={input})({mail_attribute}={input}))(objectClass=person))
|
# (&(|({username_attribute}={input})({mail_attribute}={input}))(objectClass=person))
|
||||||
users_filter: (&({username_attribute}={input})(objectClass=person))
|
users_filter: (&({username_attribute}={input})(objectClass=person))
|
||||||
additional_groups_dn: OU=groups
|
additional_groups_dn: OU=groups
|
||||||
groups_filter: (member={dn})
|
groups_filter: (member={dn})
|
||||||
group_name_attribute: cn
|
|
||||||
mail_attribute: mail
|
|
||||||
display_name_attribute: displayName
|
|
||||||
# The username and password of the admin or service user.
|
# The username and password of the admin or service user.
|
||||||
user: UID=authelia,OU=people,DC=example,DC=com
|
user: UID=authelia,OU=people,DC=example,DC=com
|
||||||
password: "SUPER_COMPLEX_PASSWORD"
|
password: "SUPER_COMPLEX_PASSWORD"
|
||||||
|
attributes:
|
||||||
|
distinguished_name: 'distinguishedName'
|
||||||
|
username: 'uid'
|
||||||
|
mail: 'mail'
|
||||||
|
member_of: 'memberOf'
|
||||||
|
group_name: 'cn'
|
||||||
```
|
```
|
||||||
Following this, restart Authelia, and you should be able to begin using lldap integration for your user logins, with
|
Following this, restart Authelia, and you should be able to begin using lldap integration for your user logins, with
|
||||||
Authelia taking the email attribute for users straight from the 'mail' attribute within the LDAP object.
|
Authelia taking the email attribute for users straight from the 'mail' attribute within the LDAP object.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "OpenID Connect"
|
title: "OpenID Connect 1.0"
|
||||||
description: "OpenID Connect Integration"
|
description: "OpenID Connect 1.0 Integration"
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-06-15T17:51:47+10:00
|
date: 2022-06-15T17:51:47+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Apache Guacamole"
|
title: "Apache Guacamole"
|
||||||
description: "Integrating Apache Guacamole with the Authelia OpenID Connect Provider."
|
description: "Integrating Apache Guacamole with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-07-31T13:09:05+10:00
|
date: 2022-07-31T13:09:05+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -53,7 +53,7 @@ openid-groups-claim-type: groups
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with
|
||||||
[Apache Guacamole] which will operate with the above example:
|
[Apache Guacamole] which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -62,23 +62,23 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: guacamole
|
- id: 'guacamole'
|
||||||
description: Apache Guacamole
|
description: 'Apache Guacamole'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://guacamole.example.com
|
- 'https://guacamole.example.com'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- groups
|
- 'groups'
|
||||||
- email
|
- 'email'
|
||||||
response_types:
|
response_types:
|
||||||
- id_token
|
- 'id_token'
|
||||||
grant_types:
|
grant_types:
|
||||||
- implicit
|
- 'implicit'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Argo CD"
|
title: "Argo CD"
|
||||||
description: "Integrating Argo CD with the Authelia OpenID Connect Provider."
|
description: "Integrating Argo CD with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-07-13T04:27:30+10:00
|
date: 2022-07-13T04:27:30+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -56,7 +56,7 @@ requestedScopes:
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [Argo CD]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [Argo CD]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -65,32 +65,32 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: argocd
|
- id: 'argocd'
|
||||||
description: Argo CD
|
description: 'Argo CD'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://argocd.example.com/auth/callback
|
- 'https://argocd.example.com/auth/callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- groups
|
- 'groups'
|
||||||
- email
|
- 'email'
|
||||||
- profile
|
- 'profile'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
- id: argocd-cli
|
- id: 'argocd-cli'
|
||||||
description: Argo CD (CLI)
|
description: 'Argo CD (CLI)'
|
||||||
public: true
|
public: true
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- http://localhost:8085/auth/callback
|
- 'http://localhost:8085/auth/callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- groups
|
- 'groups'
|
||||||
- email
|
- 'email'
|
||||||
- profile
|
- 'profile'
|
||||||
- offline_access
|
- 'offline_access'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "BookStack"
|
title: "BookStack"
|
||||||
description: "Integrating BookStack with the Authelia OpenID Connect Provider."
|
description: "Integrating BookStack with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-06-15T17:51:47+10:00
|
date: 2022-06-15T17:51:47+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -58,7 +58,7 @@ To configure [BookStack] to utilize Authelia as an [OpenID Connect 1.0] Provider
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [BookStack]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [BookStack]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -67,18 +67,18 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: bookstack
|
- id: 'bookstack'
|
||||||
description: BookStack
|
description: 'BookStack'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://bookstack.example.com/oidc/callback
|
- 'https://bookstack.example.com/oidc/callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- email
|
- 'email'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Cloudflare Zero Trust"
|
title: "Cloudflare Zero Trust"
|
||||||
description: "Integrating Cloudflare Zero Trust with the Authelia OpenID Connect Provider."
|
description: "Integrating Cloudflare Zero Trust with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-06-15T17:51:47+10:00
|
date: 2022-06-15T17:51:47+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -66,7 +66,7 @@ To configure [Cloudflare Zero Trust] to utilize Authelia as an [OpenID Connect 1
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [Cloudflare]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [Cloudflare]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -75,18 +75,18 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: cloudflare
|
- id: 'cloudflare'
|
||||||
description: Cloudflare ZeroTrust
|
description: 'Cloudflare ZeroTrust'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://example-team.cloudflareaccess.com/cdn-cgi/access/callback
|
- 'https://example-team.cloudflareaccess.com/cdn-cgi/access/callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- email
|
- 'email'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Firezone"
|
title: "Firezone"
|
||||||
description: "Integrating Firezone with the Authelia OpenID Connect Provider."
|
description: "Integrating Firezone with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2023-03-28T20:29:13+11:00
|
date: 2023-03-28T20:29:13+11:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -67,7 +67,7 @@ descriptions.
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [Firezone] which
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [Firezone] which
|
||||||
will operate with the above example:
|
will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -76,20 +76,20 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: firezone
|
- id: 'firezone'
|
||||||
description: Firezone
|
description: 'Firezone'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
enforce_pkce: true
|
enforce_pkce: true
|
||||||
pkce_challenge_method: S256
|
pkce_challenge_method: 'S256'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://firezone.example.com/auth/oidc/authelia/callback
|
- 'https://firezone.example.com/auth/oidc/authelia/callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- email
|
- 'email'
|
||||||
- profile
|
- 'profile'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -0,0 +1,171 @@
|
||||||
|
---
|
||||||
|
title: "Frequently Asked Questions"
|
||||||
|
description: "Frequently Asked Questions regarding integrating the Authelia OpenID Connect 1.0 Provider with an OpenID Connect 1.0 Relying Party"
|
||||||
|
lead: "Frequently Asked Questions regarding integrating the Authelia OpenID Connect 1.0 Provider with an OpenID Connect 1.0 Relying Party."
|
||||||
|
date: 2022-10-20T15:27:09+11:00
|
||||||
|
draft: false
|
||||||
|
images: []
|
||||||
|
menu:
|
||||||
|
integration:
|
||||||
|
parent: "openid-connect"
|
||||||
|
weight: 615
|
||||||
|
toc: true
|
||||||
|
---
|
||||||
|
|
||||||
|
### Questions
|
||||||
|
|
||||||
|
The following section lists individual questions.
|
||||||
|
|
||||||
|
### How do I generate client secrets?
|
||||||
|
|
||||||
|
We strongly recommend the following guidelines for generating client secrets:
|
||||||
|
|
||||||
|
1. Each client should have a unique secret.
|
||||||
|
2. Each secret should be randomly generated.
|
||||||
|
3. Each secret should have a length above 40 characters.
|
||||||
|
4. The secrets should be stored in the configuration in a supported hash format. *__Note:__ This does not mean you
|
||||||
|
configure the relying party / client application with the hashed version, just the secret value in the Authelia
|
||||||
|
configuration.*
|
||||||
|
5. Secrets should only have alphanumeric characters as some implementations do not appropriately encode the secret
|
||||||
|
when using it to access the token endpoint.
|
||||||
|
|
||||||
|
Authelia provides an easy way to perform such actions via the [Generating a Random Password Hash] guide. Users can
|
||||||
|
perform a command such as
|
||||||
|
`authelia crypto hash generate pbkdf2 --variant sha512 --random --random.length 72 --random.charset rfc3986` command to
|
||||||
|
both generate a client secret with 72 characters which is printed and is to be used with the relying party and hash it
|
||||||
|
using PBKDF2 which can be stored in the Authelia configuration. This random command also avoids issues with a relying
|
||||||
|
party / client application encoding the characters correctly as it uses the
|
||||||
|
[RFC3986 Unreserved Characters](https://datatracker.ietf.org/doc/html/rfc3986#section-2.3).
|
||||||
|
|
||||||
|
[Generating a Random Password Hash]: ../../reference/guides/generating-secure-values.md#generating-a-random-password-hash
|
||||||
|
|
||||||
|
#### Plaintext
|
||||||
|
|
||||||
|
Authelia *technically* supports storing the plaintext secret in the configuration. This will likely be completely
|
||||||
|
unavailable in the future as it was a mistake to implement it like this in the first place. While some other OpenID
|
||||||
|
Connect 1.0 providers operate in this way, it's more often than not that they operating in this way in error. The
|
||||||
|
current *technical support* for this is only to prevent massive upheaval to users and give them time to migrate.
|
||||||
|
|
||||||
|
As per [RFC6819 Section 5.1.4.1.3](https://datatracker.ietf.org/doc/html/rfc6819#section-5.1.4.1.3) the secret should
|
||||||
|
only be stored by the authorization server as hashes / digests unless there is a very specific specification or protocol
|
||||||
|
that is implemented by the authorization server which requires access to the secret in the clear to operate properly in
|
||||||
|
which case the secret should be encrypted and not be stored in plaintext. The most likely long term outcome is that the
|
||||||
|
client configurations will be stored in the database with the secret both salted and peppered.
|
||||||
|
|
||||||
|
Authelia currently does not implement any of the specifications or protocols which require secrets being accessible in
|
||||||
|
the clear such as most notably the `client_secret_jwt` grant, we will however likely soon implement `client_secret_jwt`.
|
||||||
|
We are however *__strongly discouraging__* and formally deprecating the use of plaintext client secrets for purposes
|
||||||
|
outside those required by specifications. We instead recommended that users remove this from their configuration
|
||||||
|
entirely and use the [How Do I Generate Client Secrets](#how-do-i-generate-client-secrets) FAQ.
|
||||||
|
|
||||||
|
Plaintext is either denoted by the `$plaintext$` prefix where everything after the prefix is the secret. In addition if
|
||||||
|
the secret does not start with the `$` character it's considered as a plaintext secret for the time being but is
|
||||||
|
deprecated as is the `$plaintext$` prefix.
|
||||||
|
|
||||||
|
### Why isn't my application able to retrieve the token even though I've consented?
|
||||||
|
|
||||||
|
The most common cause for this issue is when the affected application can not make requests to the Token [Endpoint].
|
||||||
|
This becomes obvious when the log level is set to `debug` or `trace` and a presence of requests to the Authorization
|
||||||
|
[Endpoint] without errors but an absence of requests made to the Token [Endpoint].
|
||||||
|
|
||||||
|
These requests can be identified by looking at the `path` field in the logs, or by messages prefixed with
|
||||||
|
`Authorization Request` indicating a request to the Authorization [Endpoint] and `Access Request` indicating a request
|
||||||
|
to the Token [Endpoint].
|
||||||
|
|
||||||
|
All causes should be clearly logged by the client application, and all errors that do not match this scenario are
|
||||||
|
clearly logged by Authelia. It's not possible for us to log requests that never occur however.
|
||||||
|
|
||||||
|
One potential solution to this is detailed in the [Solution: Configure DNS Appropriately](#configure-dns-appropriately)
|
||||||
|
section. This section also details how to identity if you're affected.
|
||||||
|
|
||||||
|
### Why doesn't the discovery endpoint return the correct issuer and endpoint URL's?
|
||||||
|
|
||||||
|
The most common cause for this is if the `X-Forwarded-Proto` and `X-Forwarded-Host` / `Host` headers do not match the
|
||||||
|
fully qualified URL of the provider. This can be because of requesting from the Authelia port directly i.e. without going
|
||||||
|
through your proxy or due to a poorly configured proxy.
|
||||||
|
|
||||||
|
If you've configured Authelia alongside a proxy and are making a request directly to Authelia you need to perform the
|
||||||
|
request via the proxy. If you're avoiding the proxy due to a DNS limitation see
|
||||||
|
[Solution: Configure DNS Appropriately](#configure-dns-appropriately) section.
|
||||||
|
|
||||||
|
### Why doesn't the access control configuration work with OpenID Connect 1.0?
|
||||||
|
|
||||||
|
The [access control](../../configuration/security/access-control.md) configuration contains several elements which are
|
||||||
|
not very compatible with OpenID Connect 1.0. They were designed with per-request authorizations in mind. In particular
|
||||||
|
the [resources](../../configuration/security/access-control.md#resources),
|
||||||
|
[query](../../configuration/security/access-control.md#query),
|
||||||
|
[methods](../../configuration/security/access-control.md#methods), and
|
||||||
|
[networks](../../configuration/security/access-control.md#networks) criteria are very specific to each request and to
|
||||||
|
some degree so are the [domain](../../configuration/security/access-control.md#domain) and
|
||||||
|
[domain regex](../../configuration/security/access-control.md#domainregex) criteria as the token is issued to the client
|
||||||
|
not a specific domain.
|
||||||
|
|
||||||
|
For these reasons we implemented the
|
||||||
|
[authorization policy](../../configuration/identity-providers/openid-connect/clients.md#authorizationpolicy) as a direct
|
||||||
|
option in the client. It's likely in the future that we'll expand this option to encompass the features that work well
|
||||||
|
with OpenID Connect 1.0 such as the [subject](../../configuration/security/access-control.md#subject) criteria which
|
||||||
|
reasonably be matched to an individual authorization policy. Because the other criteria are mostly geared towards
|
||||||
|
per-request authorization these criteria types are fairly unlikely to become part of OpenID Connect 1.0 as there are no
|
||||||
|
ways to apply these criteria except during the initial authorization request.
|
||||||
|
|
||||||
|
## Solutions
|
||||||
|
|
||||||
|
The following section details solutions for multiple of the questions above.
|
||||||
|
|
||||||
|
### Configure DNS Appropriately
|
||||||
|
|
||||||
|
In order to make requests to Authelia an application must be able to resolve it. It's important in all instances to
|
||||||
|
check if the application with the issue can resolve the correct IP address for Authelia between each step of the
|
||||||
|
process, and this check also can be used to clearly identity if this is the most likely underlying cause for an issue
|
||||||
|
you're facing.
|
||||||
|
|
||||||
|
##### Bare-Metal
|
||||||
|
|
||||||
|
1. If you're running an internal DNS server ensure an A record exists for the FQDN of Authelia with the value being the
|
||||||
|
IP of the server responsible for handling requests for Authelia.
|
||||||
|
2. If you're not running an internal DNS server then do check the following:
|
||||||
|
1. Ensure the external DNS server(s) have the same A record as described above.
|
||||||
|
2. Ensure that that your NAT-hairpin is configured correctly.
|
||||||
|
3. If all else fails add a hosts file entry to work around this issue.
|
||||||
|
|
||||||
|
##### Docker
|
||||||
|
|
||||||
|
1. Ensure both the application with the issue shares a network in common with the proxy container.
|
||||||
|
2. Ensure an alias for the FQDN of Authelia is present for the proxy container:
|
||||||
|
- If using `docker compose` see the
|
||||||
|
[network aliases](https://docs.docker.com/compose/compose-file/compose-file-v3/#aliases) documentation
|
||||||
|
reference for more information.
|
||||||
|
- If using `docker run` see the `--network-alias` option of the [docker run](https://docs.docker.com/engine/reference/commandline/run/)
|
||||||
|
reference for more information.
|
||||||
|
|
||||||
|
Examples (assuming your Authelia Root URL is `https://auth.example.com`):
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
application:
|
||||||
|
## Mandatory that the application is on the same network as the proxy.
|
||||||
|
networks:
|
||||||
|
proxy: {}
|
||||||
|
proxy:
|
||||||
|
networks:
|
||||||
|
## Mandatory that the proxy is on the same network as the application, and that it has this alias.
|
||||||
|
proxy:
|
||||||
|
aliases:
|
||||||
|
- 'auth.example.com'
|
||||||
|
authelia:
|
||||||
|
networks:
|
||||||
|
proxy: {}
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
## An external network can be created manually and shared between multiple compose files. This is NOT mandatory.
|
||||||
|
external: true
|
||||||
|
name: 'proxy-net'
|
||||||
|
```
|
||||||
|
|
||||||
|
```console
|
||||||
|
docker run -d --name proxy --network proxy --network-alias auth.example.com <other proxy arguments>
|
||||||
|
docker run -d --name application --network proxy <other application arguments>
|
||||||
|
```
|
||||||
|
|
||||||
|
[Endpoint]: ./introduction.md#discoverable-endpoints
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Gitea"
|
title: "Gitea"
|
||||||
description: "Integrating Gitea with the Authelia OpenID Connect Provider."
|
description: "Integrating Gitea with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-07-01T13:07:02+10:00
|
date: 2022-07-01T13:07:02+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -77,7 +77,7 @@ descriptions.
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [Gitea] which
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [Gitea] which
|
||||||
will operate with the above example:
|
will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -86,18 +86,18 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: gitea
|
- id: 'gitea'
|
||||||
description: Gitea
|
description: 'Gitea'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://gitea.example.com/user/oauth2/authelia/callback
|
- 'https://gitea.example.com/user/oauth2/authelia/callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- email
|
- 'email'
|
||||||
- profile
|
- 'profile'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "GitLab"
|
title: "GitLab"
|
||||||
description: "Integrating GitLab with the Authelia OpenID Connect Provider."
|
description: "Integrating GitLab with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-06-15T17:51:47+10:00
|
date: 2022-06-15T17:51:47+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -69,7 +69,7 @@ gitlab_rails['omniauth_providers'] = [
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [GitLab]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [GitLab]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -78,19 +78,19 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: gitlab
|
- id: 'gitlab'
|
||||||
description: GitLab
|
description: 'GitLab'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://gitlab.example.com/users/auth/openid_connect/callback
|
- 'https://gitlab.example.com/users/auth/openid_connect/callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- groups
|
- 'groups'
|
||||||
- email
|
- 'email'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Grafana"
|
title: "Grafana"
|
||||||
description: "Integrating Grafana with the Authelia OpenID Connect Provider."
|
description: "Integrating Grafana with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-06-15T17:51:47+10:00
|
date: 2022-06-15T17:51:47+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -87,7 +87,7 @@ Configure the following environment variables:
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [Grafana]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [Grafana]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -96,19 +96,19 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: grafana
|
- id: 'grafana'
|
||||||
description: Grafana
|
description: 'Grafana'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://grafana.example.com/login/generic_oauth
|
- 'https://grafana.example.com/login/generic_oauth'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- groups
|
- 'groups'
|
||||||
- email
|
- 'email'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Harbor"
|
title: "Harbor"
|
||||||
description: "Integrating Harbor with the Authelia OpenID Connect Provider."
|
description: "Integrating Harbor with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-06-15T17:51:47+10:00
|
date: 2022-06-15T17:51:47+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -60,7 +60,7 @@ To configure [Harbor] to utilize Authelia as an [OpenID Connect 1.0] Provider:
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [Harbor]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [Harbor]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -69,19 +69,19 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: harbor
|
- id: 'harbor'
|
||||||
description: Harbor
|
description: 'Harbor'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://harbor.example.com/c/oidc/callback
|
- 'https://harbor.example.com/c/oidc/callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- groups
|
- 'groups'
|
||||||
- email
|
- 'email'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "HashiCorp Vault"
|
title: "HashiCorp Vault"
|
||||||
description: "Integrating HashiCorp Vault with the Authelia OpenID Connect Provider."
|
description: "Integrating HashiCorp Vault with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-06-15T17:51:47+10:00
|
date: 2022-06-15T17:51:47+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -43,7 +43,7 @@ To configure [HashiCorp Vault] to utilize Authelia as an [OpenID Connect 1.0] Pr
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [HashiCorp Vault]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [HashiCorp Vault]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -52,20 +52,20 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: vault
|
- id: 'vault'
|
||||||
description: HashiCorp Vault
|
description: 'HashiCorp Vault'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://vault.example.com/oidc/callback
|
- 'https://vault.example.com/oidc/callback'
|
||||||
- https://vault.example.com/ui/vault/auth/oidc/oidc/callback
|
- 'https://vault.example.com/ui/vault/auth/oidc/oidc/callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- groups
|
- 'groups'
|
||||||
- email
|
- 'email'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "OpenID Connect"
|
title: "OpenID Connect"
|
||||||
description: "An introduction into integrating the Authelia OpenID Connect Provider with an OpenID Connect relying party"
|
description: "An introduction into integrating the Authelia OpenID Connect 1.0 Provider with an OpenID Connect 1.0 Relying Party"
|
||||||
lead: "An introduction into integrating the Authelia OpenID Connect Provider with an OpenID Connect relying party."
|
lead: "An introduction into integrating the Authelia OpenID Connect 1.0 Provider with an OpenID Connect 1.0 Relying Party."
|
||||||
date: 2022-06-15T17:51:47+10:00
|
date: 2022-06-15T17:51:47+10:00
|
||||||
draft: false
|
draft: false
|
||||||
images: []
|
images: []
|
||||||
|
@ -18,11 +18,20 @@ Authelia can act as an [OpenID Connect 1.0] Provider as part of an open beta. Th
|
||||||
specifics that can be used for integrating Authelia with an [OpenID Connect 1.0] Relying Party, as well as specific
|
specifics that can be used for integrating Authelia with an [OpenID Connect 1.0] Relying Party, as well as specific
|
||||||
documentation for some [OpenID Connect 1.0] Relying Party implementations.
|
documentation for some [OpenID Connect 1.0] Relying Party implementations.
|
||||||
|
|
||||||
See the [configuration documentation](../../configuration/identity-providers/open-id-connect.md) for information on how
|
See the [OpenID Connect 1.0 Provider](../../configuration/identity-providers/openid-connect/provider.md) and
|
||||||
to configure the Authelia [OpenID Connect 1.0] Provider.
|
[OpenID Connect 1.0 Clients](../../configuration/identity-providers/openid-connect/clients.md) configuration guides for
|
||||||
|
information on how to configure the Authelia [OpenID Connect 1.0] Provider (note the clients guide is for configuring
|
||||||
|
the registered clients in the provider).
|
||||||
|
|
||||||
|
This page is intended as an integration reference point for any implementers who wish to integrate an
|
||||||
|
[OpenID Connect 1.0] Relying Party (client application) either as a developer or user of the third party Reyling Party.
|
||||||
|
|
||||||
## Scope Definitions
|
## Scope Definitions
|
||||||
|
|
||||||
|
The following scope definitions describe each scope supported and the associated effects including the individual claims
|
||||||
|
returned by granting this scope. By default we do not issue any claims which reveal the users identity which allows
|
||||||
|
administrators semi-granular control over which claims the client is entitled to.
|
||||||
|
|
||||||
### openid
|
### openid
|
||||||
|
|
||||||
This is the default scope for [OpenID Connect 1.0]. This field is forced on every client by the configuration validation
|
This is the default scope for [OpenID Connect 1.0]. This field is forced on every client by the configuration validation
|
||||||
|
@ -54,9 +63,16 @@ This scope is a special scope designed to allow applications to obtain a [Refres
|
||||||
an application on behalf of a user. A [Refresh Token] is a special [Access Token] that allows refreshing previously
|
an application on behalf of a user. A [Refresh Token] is a special [Access Token] that allows refreshing previously
|
||||||
issued token credentials, effectively it allows the relying party to obtain new tokens periodically.
|
issued token credentials, effectively it allows the relying party to obtain new tokens periodically.
|
||||||
|
|
||||||
|
As per [OpenID Connect 1.0] Section 11 [Offline Access] can only be granted during the [Authorization Code Flow] or a
|
||||||
|
[Hybrid Flow]. The [Refresh Token] will only ever be returned at the [Token Endpoint] when the client is exchanging
|
||||||
|
their [OAuth 2.0 Authorization Code].
|
||||||
|
|
||||||
Generally unless an application supports this and actively requests this scope they should not be granted this scope via
|
Generally unless an application supports this and actively requests this scope they should not be granted this scope via
|
||||||
the client configuration.
|
the client configuration.
|
||||||
|
|
||||||
|
It is also important to note that we treat a [Refresh Token] as single use and reissue a new [Refresh Token] during the
|
||||||
|
refresh flow.
|
||||||
|
|
||||||
### groups
|
### groups
|
||||||
|
|
||||||
This scope includes the groups the authentication backend reports the user is a member of in the [Claims] of the
|
This scope includes the groups the authentication backend reports the user is a member of in the [Claims] of the
|
||||||
|
@ -87,48 +103,69 @@ This scope includes the profile information the authentication backend reports a
|
||||||
| preferred_username | string | username | The username the user used to login with |
|
| preferred_username | string | username | The username the user used to login with |
|
||||||
| name | string | display_name | The users display name |
|
| name | string | display_name | The users display name |
|
||||||
|
|
||||||
|
## Signing and Encryption Algorithms
|
||||||
|
|
||||||
|
[OpenID Connect 1.0] and OAuth 2.0 support a wide variety of signature and encryption algorithms. Authelia supports
|
||||||
|
a subset of these.
|
||||||
|
|
||||||
|
### Response Object
|
||||||
|
|
||||||
|
Authelia's response objects can have the following signature algorithms:
|
||||||
|
|
||||||
|
| Algorithm | Key Type | Hashing Algorithm | Use | JWK Default Conditions | Notes |
|
||||||
|
|:---------:|:-----------:|:-----------------:|:---------:|:--------------------------------------------:|:----------------------------------------------------:|
|
||||||
|
| RS256 | RSA | SHA-256 | Signature | RSA Private Key without a specific algorithm | Requires an RSA Private Key with 2048 bits or more |
|
||||||
|
| RS384 | RSA | SHA-384 | Signature | N/A | Requires an RSA Private Key with 2048 bits or more |
|
||||||
|
| RS512 | RSA | SHA-512 | Signature | N/A | Requires an RSA Private Key with 2048 bits or more |
|
||||||
|
| ES256 | ECDSA P-256 | SHA-256 | Signature | ECDSA Private Key with the P-256 curve | |
|
||||||
|
| ES384 | ECDSA P-384 | SHA-384 | Signature | ECDSA Private Key with the P-384 curve | |
|
||||||
|
| ES512 | ECDSA P-521 | SHA-512 | Signature | ECDSA Private Key with the P-521 curve | Requires an ECDSA Private Key with 2048 bits or more |
|
||||||
|
| PS256 | RSA (MGF1) | SHA-256 | Signature | N/A | Requires an RSA Private Key with 2048 bits or more |
|
||||||
|
| PS384 | RSA (MGF1) | SHA-384 | Signature | N/A | Requires an RSA Private Key with 2048 bits or more |
|
||||||
|
| PS512 | RSA (MGF1) | SHA-512 | Signature | N/A | Requires an RSA Private Key with 2048 bits or more |
|
||||||
|
|
||||||
|
### Request Object
|
||||||
|
|
||||||
|
Authelia accepts a wide variety of request object types.
|
||||||
|
|
||||||
|
| Algorithm | Key Type | Hashing Algorithm | Use | Notes |
|
||||||
|
|:---------:|:------------------:|:-----------------:|:---------:|:--------------------------------------------------:|
|
||||||
|
| none | None | None | N/A | N/A |
|
||||||
|
| HS256 | HMAC Shared Secret | SHA-256 | Signature | [Client Authentication Method] `client_secret_jwt` |
|
||||||
|
| HS384 | HMAC Shared Secret | SHA-384 | Signature | [Client Authentication Method] `client_secret_jwt` |
|
||||||
|
| HS512 | HMAC Shared Secret | SHA-512 | Signature | [Client Authentication Method] `client_secret_jwt` |
|
||||||
|
| RS256 | RSA | SHA-256 | Signature | [Client Authentication Method] `private_key_jwt` |
|
||||||
|
| RS384 | RSA | SHA-384 | Signature | [Client Authentication Method] `private_key_jwt` |
|
||||||
|
| RS512 | RSA | SHA-512 | Signature | [Client Authentication Method] `private_key_jwt` |
|
||||||
|
| ES256 | ECDSA P-256 | SHA-256 | Signature | [Client Authentication Method] `private_key_jwt` |
|
||||||
|
| ES384 | ECDSA P-384 | SHA-384 | Signature | [Client Authentication Method] `private_key_jwt` |
|
||||||
|
| ES512 | ECDSA P-521 | SHA-512 | Signature | [Client Authentication Method] `private_key_jwt` |
|
||||||
|
| PS256 | RSA (MFG1) | SHA-256 | Signature | [Client Authentication Method] `private_key_jwt` |
|
||||||
|
| PS384 | RSA (MFG1) | SHA-384 | Signature | [Client Authentication Method] `private_key_jwt` |
|
||||||
|
| PS512 | RSA (MFG1) | SHA-512 | Signature | [Client Authentication Method] `private_key_jwt` |
|
||||||
|
|
||||||
|
[Client Authentication Method]: #client-authentication-method
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
The following section describes advanced parameters which can be used in various endpoints as well as their related
|
The following section describes advanced parameters which can be used in various endpoints as well as their related
|
||||||
configuration options.
|
configuration options.
|
||||||
|
|
||||||
### Grant Types
|
|
||||||
|
|
||||||
The following describes the various [OAuth 2.0] and [OpenID Connect 1.0] grant types and their support level. The value
|
|
||||||
field is both the required value for the `grant_type` parameter in the authorization request and the `grant_types`
|
|
||||||
configuration option.
|
|
||||||
|
|
||||||
| Grant Type | Supported | Value | Notes |
|
|
||||||
|:-----------------------------------------------:|:---------:|:----------------------------------------------:|:-------------------------------------------------------------------:|
|
|
||||||
| [OAuth 2.0 Authorization Code] | Yes | `authorization_code` | |
|
|
||||||
| [OAuth 2.0 Resource Owner Password Credentials] | No | `password` | This Grant Type has been deprecated and should not normally be used |
|
|
||||||
| [OAuth 2.0 Client Credentials] | Yes | `client_credentials` | |
|
|
||||||
| [OAuth 2.0 Implicit] | Yes | `implicit` | This Grant Type has been deprecated and should not normally be used |
|
|
||||||
| [OAuth 2.0 Refresh Token] | Yes | `refresh_token` | |
|
|
||||||
| [OAuth 2.0 Device Code] | No | `urn:ietf:params:oauth:grant-type:device_code` | |
|
|
||||||
|
|
|
||||||
|
|
||||||
[OAuth 2.0 Authorization Code]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.1
|
|
||||||
[OAuth 2.0 Implicit]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.2
|
|
||||||
[OAuth 2.0 Resource Owner Password Credentials]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.3
|
|
||||||
[OAuth 2.0 Client Credentials]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.4
|
|
||||||
[OAuth 2.0 Refresh Token]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.5
|
|
||||||
[OAuth 2.0 Device Code]: https://datatracker.ietf.org/doc/html/rfc8628#section-3.4
|
|
||||||
|
|
||||||
### Response Types
|
### Response Types
|
||||||
|
|
||||||
The following describes the supported response types. See the [OAuth 2.0 Multiple Response Type Encoding Practices] for
|
The following describes the supported response types. See the [OAuth 2.0 Multiple Response Type Encoding Practices] for
|
||||||
more technical information.
|
more technical information. The default response modes column indicates which response modes are allowed by default on
|
||||||
|
clients configured with this flow type value. If more than a single response type is configured
|
||||||
|
|
||||||
| Flow Type | Values |
|
| Flow Type | Value | Default [Response Modes](#response-modes) Values |
|
||||||
|:-------------------------:|:---------------------:|
|
|:-------------------------:|:---------------------:|:------------------------------------------------:|
|
||||||
| [Authorization Code Flow] | `code` |
|
| [Authorization Code Flow] | `code` | `form_post`, `query` |
|
||||||
| [Implicit Flow] | `token id_token` |
|
| [Implicit Flow] | `id_token token` | `form_post`, `fragment` |
|
||||||
| [Implicit Flow] | `id_token` |
|
| [Implicit Flow] | `id_token` | `form_post`, `fragment` |
|
||||||
| [Implicit Flow] | `token` |
|
| [Implicit Flow] | `token` | `form_post`, `fragment` |
|
||||||
| [Hybrid Flow] | `code token` |
|
| [Hybrid Flow] | `code token` | `form_post`, `fragment` |
|
||||||
| [Hybrid Flow] | `code id_token` |
|
| [Hybrid Flow] | `code id_token` | `form_post`, `fragment` |
|
||||||
| [Hybrid Flow] | `code token id_token` |
|
| [Hybrid Flow] | `code id_token token` | `form_post`, `fragment` |
|
||||||
|
|
||||||
[Authorization Code Flow]: https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth
|
[Authorization Code Flow]: https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth
|
||||||
[Implicit Flow]: https://openid.net/specs/openid-connect-core-1_0.html#ImplicitFlowAuth
|
[Implicit Flow]: https://openid.net/specs/openid-connect-core-1_0.html#ImplicitFlowAuth
|
||||||
|
@ -139,16 +176,60 @@ more technical information.
|
||||||
### Response Modes
|
### Response Modes
|
||||||
|
|
||||||
The following describes the supported response modes. See the [OAuth 2.0 Multiple Response Type Encoding Practices] for
|
The following describes the supported response modes. See the [OAuth 2.0 Multiple Response Type Encoding Practices] for
|
||||||
more technical information.
|
more technical information. The default response modes of a client is based on the [Response Types](#response-types)
|
||||||
|
configuration.
|
||||||
|
|
||||||
| Name | Value |
|
| Name | Value |
|
||||||
|:---------------------:|:-----------:|
|
|:---------------------:|:-----------:|
|
||||||
|
| [OAuth 2.0 Form Post] | `form_post` |
|
||||||
| Query String | `query` |
|
| Query String | `query` |
|
||||||
| Fragment | `fragment` |
|
| Fragment | `fragment` |
|
||||||
| [OAuth 2.0 Form Post] | `form_post` |
|
|
||||||
|
|
||||||
[OAuth 2.0 Form Post]: https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html
|
[OAuth 2.0 Form Post]: https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html
|
||||||
|
|
||||||
|
### Grant Types
|
||||||
|
|
||||||
|
The following describes the various [OAuth 2.0] and [OpenID Connect 1.0] grant types and their support level. The value
|
||||||
|
field is both the required value for the `grant_type` parameter in the authorization request and the `grant_types`
|
||||||
|
configuration option.
|
||||||
|
|
||||||
|
| Grant Type | Supported | Value | Notes |
|
||||||
|
|:-----------------------------------------------:|:---------:|:----------------------------------------------:|:-----------------------------------------------------------------------------------------------:|
|
||||||
|
| [OAuth 2.0 Authorization Code] | Yes | `authorization_code` | |
|
||||||
|
| [OAuth 2.0 Resource Owner Password Credentials] | No | `password` | This Grant Type has been deprecated and should not normally be used |
|
||||||
|
| [OAuth 2.0 Client Credentials] | No | `client_credentials` | |
|
||||||
|
| [OAuth 2.0 Implicit] | Yes | `implicit` | This Grant Type has been deprecated and should not normally be used |
|
||||||
|
| [OAuth 2.0 Refresh Token] | Yes | `refresh_token` | This Grant Type should genreally only be used for clients which have the `offline_access` scope |
|
||||||
|
| [OAuth 2.0 Device Code] | No | `urn:ietf:params:oauth:grant-type:device_code` | |
|
||||||
|
|
|
||||||
|
|
||||||
|
[OAuth 2.0 Authorization Code]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.1
|
||||||
|
[OAuth 2.0 Implicit]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.2
|
||||||
|
[OAuth 2.0 Resource Owner Password Credentials]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.3
|
||||||
|
[OAuth 2.0 Client Credentials]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.4
|
||||||
|
[OAuth 2.0 Refresh Token]: https://datatracker.ietf.org/doc/html/rfc6749#section-1.5
|
||||||
|
[OAuth 2.0 Device Code]: https://datatracker.ietf.org/doc/html/rfc8628#section-3.4
|
||||||
|
|
||||||
|
### Client Authentication Method
|
||||||
|
|
||||||
|
The following describes the supported client authentication methods. See the [OpenID Connect 1.0 Client Authentication]
|
||||||
|
specification and the [OAuth 2.0 - Client Types] specification for more information.
|
||||||
|
|
||||||
|
| Description | Value / Name | Supported Client Types | Default for Client Type | Assertion Type |
|
||||||
|
|:------------------------------------:|:-----------------------------:|:----------------------:|:-----------------------:|:--------------------------------------------------------:|
|
||||||
|
| Secret via HTTP Basic Auth Scheme | `client_secret_basic` | `confidential` | N/A | N/A |
|
||||||
|
| Secret via HTTP POST Body | `client_secret_post` | `confidential` | N/A | N/A |
|
||||||
|
| JWT (signed by secret) | `client_secret_jwt` | `confidential` | N/A | `urn:ietf:params:oauth:client-assertion-type:jwt-bearer` |
|
||||||
|
| JWT (signed by private key) | `private_key_jwt` | `confidential` | N/A | `urn:ietf:params:oauth:client-assertion-type:jwt-bearer` |
|
||||||
|
| [OAuth 2.0 Mutual-TLS] | `tls_client_auth` | Not Supported | N/A | N/A |
|
||||||
|
| [OAuth 2.0 Mutual-TLS] (Self Signed) | `self_signed_tls_client_auth` | Not Supported | N/A | N/A |
|
||||||
|
| No Authentication | `none` | `public` | `public` | N/A |
|
||||||
|
|
||||||
|
|
||||||
|
[OpenID Connect 1.0 Client Authentication]: https://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication
|
||||||
|
[OAuth 2.0 Mutual-TLS]: https://datatracker.ietf.org/doc/html/rfc8705
|
||||||
|
[OAuth 2.0 - Client Types]: https://datatracker.ietf.org/doc/html/rfc8705#section-2.1
|
||||||
|
|
||||||
## Authentication Method References
|
## Authentication Method References
|
||||||
|
|
||||||
Authelia currently supports adding the `amr` [Claim] to the [ID Token] utilizing the [RFC8176] Authentication Method
|
Authelia currently supports adding the `amr` [Claim] to the [ID Token] utilizing the [RFC8176] Authentication Method
|
||||||
|
@ -174,7 +255,7 @@ Below is a list of the potential values we place in the [Claim] and their meanin
|
||||||
## User Information Signing Algorithm
|
## User Information Signing Algorithm
|
||||||
|
|
||||||
The following table describes the response from the [UserInfo] endpoint depending on the
|
The following table describes the response from the [UserInfo] endpoint depending on the
|
||||||
[userinfo_signing_algorithm](../../configuration/identity-providers/open-id-connect.md#userinfosigningalgorithm).
|
[userinfo_signing_alg](../../configuration/identity-providers/openid-connect/clients.md#userinfosigningalg).
|
||||||
|
|
||||||
| Signing Algorithm | Encoding | Content Type |
|
| Signing Algorithm | Encoding | Content Type |
|
||||||
|:-----------------:|:------------:|:-----------------------------------:|
|
|:-----------------:|:------------:|:-----------------------------------:|
|
||||||
|
@ -184,7 +265,7 @@ The following table describes the response from the [UserInfo] endpoint dependin
|
||||||
## Endpoint Implementations
|
## Endpoint Implementations
|
||||||
|
|
||||||
The following section documents the endpoints we implement and their respective paths. This information can
|
The following section documents the endpoints we implement and their respective paths. This information can
|
||||||
traditionally be discovered by relying parties that utilize [OpenID Connect Discovery], however this information may be
|
traditionally be discovered by relying parties that utilize [OpenID Connect Discovery 1.0], however this information may be
|
||||||
useful for clients which do not implement this.
|
useful for clients which do not implement this.
|
||||||
|
|
||||||
The endpoints can be discovered easily by visiting the Discovery and Metadata endpoints. It is recommended regardless
|
The endpoints can be discovered easily by visiting the Discovery and Metadata endpoints. It is recommended regardless
|
||||||
|
@ -194,7 +275,7 @@ below.
|
||||||
|
|
||||||
These tables document the endpoints we currently support and their paths in the most recent version of Authelia. The
|
These tables document the endpoints we currently support and their paths in the most recent version of Authelia. The
|
||||||
paths are appended to the end of the primary URL used to access Authelia. The tables use the url
|
paths are appended to the end of the primary URL used to access Authelia. The tables use the url
|
||||||
https://auth.example.com as an example of the Authelia root URL which is also the OpenID Connect issuer.
|
https://auth.example.com as an example of the Authelia root URL which is also the OpenID Connect 1.0 Issuer.
|
||||||
|
|
||||||
### Well Known Discovery Endpoints
|
### Well Known Discovery Endpoints
|
||||||
|
|
||||||
|
@ -202,12 +283,12 @@ These endpoints can be utilized to discover other endpoints and metadata about t
|
||||||
|
|
||||||
| Endpoint | Path |
|
| Endpoint | Path |
|
||||||
|:-----------------------------------------:|:---------------------------------------------------------------:|
|
|:-----------------------------------------:|:---------------------------------------------------------------:|
|
||||||
| [OpenID Connect Discovery] | https://auth.example.com/.well-known/openid-configuration |
|
| [OpenID Connect Discovery 1.0] | https://auth.example.com/.well-known/openid-configuration |
|
||||||
| [OAuth 2.0 Authorization Server Metadata] | https://auth.example.com/.well-known/oauth-authorization-server |
|
| [OAuth 2.0 Authorization Server Metadata] | https://auth.example.com/.well-known/oauth-authorization-server |
|
||||||
|
|
||||||
### Discoverable Endpoints
|
### Discoverable Endpoints
|
||||||
|
|
||||||
These endpoints implement OpenID Connect elements.
|
These endpoints implement OpenID Connect 1.0 Provider specifications.
|
||||||
|
|
||||||
| Endpoint | Path | Discovery Attribute |
|
| Endpoint | Path | Discovery Attribute |
|
||||||
|:-------------------------------:|:--------------------------------------------------------------:|:-------------------------------------:|
|
|:-------------------------------:|:--------------------------------------------------------------:|:-------------------------------------:|
|
||||||
|
@ -284,15 +365,18 @@ The advantages of this approach are as follows:
|
||||||
|
|
||||||
[OpenID Connect 1.0]: https://openid.net/connect/
|
[OpenID Connect 1.0]: https://openid.net/connect/
|
||||||
|
|
||||||
[OpenID Connect Discovery]: https://openid.net/specs/openid-connect-discovery-1_0.html
|
[OpenID Connect Discovery 1.0]: https://openid.net/specs/openid-connect-discovery-1_0.html
|
||||||
[OAuth 2.0 Authorization Server Metadata]: https://datatracker.ietf.org/doc/html/rfc8414
|
[OAuth 2.0 Authorization Server Metadata]: https://datatracker.ietf.org/doc/html/rfc8414
|
||||||
|
|
||||||
[JSON Web Key Set]: https://datatracker.ietf.org/doc/html/rfc7517#section-5
|
[JSON Web Key Set]: https://datatracker.ietf.org/doc/html/rfc7517#section-5
|
||||||
|
|
||||||
|
[Offline Access]: https://openid.net/specs/openid-connect-core-1_0.html#OfflineAccess
|
||||||
|
|
||||||
[Authorization]: https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint
|
[Authorization]: https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint
|
||||||
[Pushed Authorization Requests]: https://datatracker.ietf.org/doc/html/rfc9126
|
|
||||||
[Token]: https://openid.net/specs/openid-connect-core-1_0.html#TokenEndpoint
|
[Token]: https://openid.net/specs/openid-connect-core-1_0.html#TokenEndpoint
|
||||||
[UserInfo]: https://openid.net/specs/openid-connect-core-1_0.html#UserInfo
|
[UserInfo]: https://openid.net/specs/openid-connect-core-1_0.html#UserInfo
|
||||||
|
|
||||||
|
[Pushed Authorization Requests]: https://datatracker.ietf.org/doc/html/rfc9126
|
||||||
[Introspection]: https://datatracker.ietf.org/doc/html/rfc7662
|
[Introspection]: https://datatracker.ietf.org/doc/html/rfc7662
|
||||||
[Revocation]: https://datatracker.ietf.org/doc/html/rfc7009
|
[Revocation]: https://datatracker.ietf.org/doc/html/rfc7009
|
||||||
[Proof Key Code Exchange]: https://www.rfc-editor.org/rfc/rfc7636.html
|
[Proof Key Code Exchange]: https://www.rfc-editor.org/rfc/rfc7636.html
|
||||||
|
|
|
@ -0,0 +1,92 @@
|
||||||
|
---
|
||||||
|
title: "Kasm Workspaces"
|
||||||
|
description: "Integrating Kasm Workspaces with the Authelia OpenID Connect 1.0 Provider."
|
||||||
|
lead: ""
|
||||||
|
date: 2023-04-27T18:40:06+10:00
|
||||||
|
draft: false
|
||||||
|
images: []
|
||||||
|
menu:
|
||||||
|
integration:
|
||||||
|
parent: "openid-connect"
|
||||||
|
weight: 620
|
||||||
|
toc: true
|
||||||
|
community: true
|
||||||
|
---
|
||||||
|
|
||||||
|
## Tested Versions
|
||||||
|
|
||||||
|
* [Authelia]
|
||||||
|
* [v4.37.5](https://github.com/authelia/authelia/releases/tag/v4.37.5)
|
||||||
|
* [Kasm Workspaces]
|
||||||
|
* [1.13.0](https://kasmweb.com/docs/latest/release_notes/1.13.0.html)
|
||||||
|
|
||||||
|
## Before You Begin
|
||||||
|
|
||||||
|
{{% oidc-common %}}
|
||||||
|
|
||||||
|
### Assumptions
|
||||||
|
|
||||||
|
This example makes the following assumptions:
|
||||||
|
|
||||||
|
* __Application Root URL:__ `https://kasm.example.com`
|
||||||
|
* __Authelia Root URL:__ `https://auth.example.com`
|
||||||
|
* __Client ID:__ `kasm`
|
||||||
|
* __Client Secret:__ `insecure_secret`
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
### Application
|
||||||
|
|
||||||
|
To configure [Kasm Workspaces] to utilize Authelia as an [OpenID Connect 1.0] Provider use the following configuration:
|
||||||
|
|
||||||
|
1. Visit Authentication
|
||||||
|
2. Visit OpenID
|
||||||
|
3. Set the following values:
|
||||||
|
1. Enable *Automatic User Provision* if you want users to automatically be created in [Kasm Workspaces].
|
||||||
|
2. Enable *Auto Login* if you want automatic user login.
|
||||||
|
3. Enable *Default* if you want Authelia to be the default sign-in method.
|
||||||
|
4. Client ID: `kasm`
|
||||||
|
5. Client Secret: `insecure_secret`
|
||||||
|
6. Authorization URL: `https://auth.example.com/api/oidc/authorization`
|
||||||
|
7. Token URL: `https://auth.example.com/api/oidc/token`
|
||||||
|
8. User Info URL: `https://auth.example.com/api/oidc/userinfo`
|
||||||
|
9. Scope (One Per Line): `openid profile groups email`
|
||||||
|
10. User Identifier: `preferred_username`
|
||||||
|
|
||||||
|
{{< figure src="kasm.png" alt="Kasam Workspaces" width="736" style="padding-right: 10px" >}}
|
||||||
|
|
||||||
|
### Authelia
|
||||||
|
|
||||||
|
The following YAML configuration is an example __Authelia__
|
||||||
|
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with
|
||||||
|
[Kasm Workspaces] which will operate with the above example:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
identity_providers:
|
||||||
|
oidc:
|
||||||
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
|
## See: https://www.authelia.com/c/oidc
|
||||||
|
clients:
|
||||||
|
- id: 'kasm'
|
||||||
|
description: 'Kasm Workspaces'
|
||||||
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
|
public: false
|
||||||
|
authorization_policy: 'two_factor'
|
||||||
|
redirect_uris:
|
||||||
|
- 'https://kasm.example.com/api/oidc_callback'
|
||||||
|
scopes:
|
||||||
|
- 'openid'
|
||||||
|
- 'profile'
|
||||||
|
- 'groups'
|
||||||
|
- 'email'
|
||||||
|
consent_mode: 'implicit'
|
||||||
|
userinfo_signing_alg: 'none'
|
||||||
|
```
|
||||||
|
|
||||||
|
## See Also
|
||||||
|
|
||||||
|
* [Kasm Workspaces OpenID Connect Authentication Documentation](https://kasmweb.com/docs/latest/guide/oidc.html)
|
||||||
|
|
||||||
|
[Authelia]: https://www.authelia.com
|
||||||
|
[Kasm Workspaces]: https://kasmweb.com/
|
||||||
|
[OpenID Connect 1.0]: ../../openid-connect/introduction.md
|
Binary file not shown.
After Width: | Height: | Size: 165 KiB |
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Komga"
|
title: "Komga"
|
||||||
description: "Integrating Komga with the Authelia OpenID Connect Provider."
|
description: "Integrating Komga with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-08-26T11:39:00+10:00
|
date: 2022-08-26T11:39:00+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -50,22 +50,22 @@ spring:
|
||||||
client:
|
client:
|
||||||
registration:
|
registration:
|
||||||
authelia:
|
authelia:
|
||||||
client-id: `komga`
|
client-id: 'komga'
|
||||||
client-secret: `insecure_secret`
|
client-secret: 'insecure_secret'
|
||||||
client-name: Authelia
|
client-name: 'Authelia'
|
||||||
scope: openid,profile,email
|
scope: 'openid,profile,email'
|
||||||
authorization-grant-type: authorization_code
|
authorization-grant-type: 'authorization_code'
|
||||||
redirect-uri: "{baseScheme}://{baseHost}{basePort}{basePath}/login/oauth2/code/authelia"
|
redirect-uri: "{baseScheme}://{baseHost}{basePort}{basePath}/login/oauth2/code/authelia"
|
||||||
provider:
|
provider:
|
||||||
authelia:
|
authelia:
|
||||||
issuer-uri: https://auth.example.com
|
issuer-uri: 'https://auth.example.com'
|
||||||
user-name-attribute: preferred_username
|
user-name-attribute: 'preferred_username'
|
||||||
````
|
````
|
||||||
|
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [Komga]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [Komga]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -74,20 +74,20 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: komga
|
- id: 'komga'
|
||||||
description: Komga
|
description: 'Komga'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://komga.example.com/login/oauth2/code/authelia
|
- 'https://komga.example.com/login/oauth2/code/authelia'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- email
|
- 'email'
|
||||||
grant_types:
|
grant_types:
|
||||||
- authorization_code
|
- 'authorization_code'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "MinIO"
|
title: "MinIO"
|
||||||
description: "Integrating MinIO with the Authelia OpenID Connect Provider."
|
description: "Integrating MinIO with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2023-03-21T11:21:23+11:00
|
date: 2023-03-21T11:21:23+11:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -63,7 +63,7 @@ To configure [MinIO] to utilize Authelia as an [OpenID Connect 1.0] Provider:
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [MinIO]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [MinIO]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -72,19 +72,19 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: minio
|
- id: 'minio'
|
||||||
description: MinIO
|
description: 'MinIO'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://minio.example.com/apps/oidc_login/oidc
|
- 'https://minio.example.com/apps/oidc_login/oidc'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- email
|
- 'email'
|
||||||
- groups
|
- 'groups'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Misago"
|
title: "Misago"
|
||||||
description: "Integrating Misago with the Authelia OpenID Connect Provider."
|
description: "Integrating Misago with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2023-03-14T08:51:13+11:00
|
date: 2023-03-14T08:51:13+11:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -15,10 +15,10 @@ community: true
|
||||||
|
|
||||||
## Tested Versions
|
## Tested Versions
|
||||||
|
|
||||||
* [Authelia](https://www.authelia.com)
|
- [Authelia](https://www.authelia.com)
|
||||||
* [v4.37.5](https://github.com/authelia/authelia/releases/tag/v4.37.5)
|
- [v4.37.5](https://github.com/authelia/authelia/releases/tag/v4.37.5)
|
||||||
* [Misago](https://github.com/rafalp/Misago)
|
- [Misago](https://github.com/rafalp/Misago)
|
||||||
* [misago-image v0.29.1](https://github.com/tetricky/misago-image/releases/tag/v0.29.1)
|
- [misago-image v0.29.1](https://github.com/tetricky/misago-image/releases/tag/v0.29.1)
|
||||||
|
|
||||||
## Before You Begin
|
## Before You Begin
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ To configure [Misago] to utilize Authelia as an [OpenID Connect 1.0](https://www
|
||||||
|
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example **Authelia** [client configuration](https://www.authelia.com/configuration/identity-providers/open-id-connect/#clients) for use with [Misago] which will operate with the above example:
|
The following YAML configuration is an example **Authelia** [client configuration](https://www.authelia.com/configuration/identity-providers/openid-connect/#clients) for use with [Misago] which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
identity_providers:
|
identity_providers:
|
||||||
|
@ -87,28 +87,29 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: misago
|
- id: 'misago'
|
||||||
|
description: 'Misago'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- email
|
- 'email'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://misago.example.com/oauth2/complete/
|
- 'https://misago.example.com/oauth2/complete/'
|
||||||
grant_types:
|
grant_types:
|
||||||
- authorization_code
|
- 'authorization_code'
|
||||||
response_types:
|
response_types:
|
||||||
- code
|
- 'code'
|
||||||
response_modes:
|
response_modes:
|
||||||
- query
|
- 'query'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
## See Also
|
## See Also
|
||||||
|
|
||||||
- [Misago] [OAuth 2 Client Configuration guide](https://misago-project.org/t/oauth-2-client-configuration-guide/1147/)
|
- [Misago] [OAuth 2 Client Configuration guide](https://misago-project.org/t/oauth-2-client-configuration-guide/1147/)
|
||||||
|
|
||||||
[Misago]: https://misago-project.org/
|
[Misago]: https://misago-project.org/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Nextcloud"
|
title: "Nextcloud"
|
||||||
description: "Integrating Nextcloud with the Authelia OpenID Connect Provider."
|
description: "Integrating Nextcloud with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-06-15T17:51:47+10:00
|
date: 2022-06-15T17:51:47+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -33,6 +33,11 @@ This example makes the following assumptions:
|
||||||
* __Client ID:__ `nextcloud`
|
* __Client ID:__ `nextcloud`
|
||||||
* __Client Secret:__ `insecure_secret`
|
* __Client Secret:__ `insecure_secret`
|
||||||
|
|
||||||
|
*__Important Note:__ it has been reported that some of the [Nextcloud] plugins do not properly encode the client secret.
|
||||||
|
as such it's important to only use alphanumeric characters as well as the other
|
||||||
|
[RFC3986 Unreserved Characters](https://datatracker.ietf.org/doc/html/rfc3986#section-2.3). We recommend using the
|
||||||
|
generating client secrets guidance above.*
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
### Application
|
### Application
|
||||||
|
@ -81,7 +86,7 @@ $CONFIG = array (
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [Nextcloud]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [Nextcloud]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -90,19 +95,19 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: nextcloud
|
- id: 'nextcloud'
|
||||||
description: NextCloud
|
description: 'NextCloud'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://nextcloud.example.com/apps/oidc_login/oidc
|
- 'https://nextcloud.example.com/apps/oidc_login/oidc'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- profile
|
- 'profile'
|
||||||
- email
|
- 'email'
|
||||||
- groups
|
- 'groups'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Outline"
|
title: "Outline"
|
||||||
description: "Integrating Outline with the Authelia OpenID Connect Provider."
|
description: "Integrating Outline with the Authelia OpenID Connect 1.0 Provider."
|
||||||
lead: ""
|
lead: ""
|
||||||
date: 2022-08-12T09:11:42+10:00
|
date: 2022-08-12T09:11:42+10:00
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -60,7 +60,7 @@ OIDC_SCOPES="openid offline_access profile email"
|
||||||
### Authelia
|
### Authelia
|
||||||
|
|
||||||
The following YAML configuration is an example __Authelia__
|
The following YAML configuration is an example __Authelia__
|
||||||
[client configuration](../../../configuration/identity-providers/open-id-connect.md#clients) for use with [Outline]
|
[client configuration](../../../configuration/identity-providers/openid-connect/clients.md) for use with [Outline]
|
||||||
which will operate with the above example:
|
which will operate with the above example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -69,19 +69,19 @@ identity_providers:
|
||||||
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
|
||||||
## See: https://www.authelia.com/c/oidc
|
## See: https://www.authelia.com/c/oidc
|
||||||
clients:
|
clients:
|
||||||
- id: outline
|
- id: 'outline'
|
||||||
description: Outline
|
description: 'Outline'
|
||||||
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
|
||||||
public: false
|
public: false
|
||||||
authorization_policy: two_factor
|
authorization_policy: 'two_factor'
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://outline.example.com/auth/oidc.callback
|
- 'https://outline.example.com/auth/oidc.callback'
|
||||||
scopes:
|
scopes:
|
||||||
- openid
|
- 'openid'
|
||||||
- offline_access
|
- 'offline_access'
|
||||||
- profile
|
- 'profile'
|
||||||
- email
|
- 'email'
|
||||||
userinfo_signing_algorithm: none
|
userinfo_signing_alg: 'none'
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue