Compare commits
31 commits
main
...
temp-20251
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8d4e4756e | ||
|
|
cdeedc7ac3 | ||
|
|
b356e6c1af | ||
|
|
cbfde41f55 | ||
|
|
7c6ad2cef6 | ||
|
|
ccfcc4ab79 | ||
|
|
3ebae9194a | ||
|
|
29d3d26dfc | ||
|
|
d5ae0ac074 | ||
|
|
01a3fa5fb7 | ||
|
|
beb8bb2c51 | ||
|
|
639917512a | ||
|
|
2d7a0abd5d | ||
|
|
d9c266aafb | ||
|
|
8eed714d88 | ||
|
|
8dac3eef4f | ||
|
|
a2f22c3b70 | ||
|
|
f3b8a3c4ec | ||
|
|
1c50d0223f | ||
|
|
2da64d257f | ||
|
|
0002ae76af | ||
|
|
326296d6ce | ||
|
|
52e14d8f8d | ||
|
|
71aea3040a | ||
|
|
da1e27459f | ||
|
|
c4db57b83a | ||
|
|
4a7a75651c | ||
|
|
4a439cf375 | ||
|
|
50aa1eabaa | ||
|
|
8953d1ee99 | ||
|
|
b31e9f1e57 |
|
|
@ -1,89 +1,93 @@
|
|||
[
|
||||
{
|
||||
"name": "configuration | client | web",
|
||||
"when": "cfg_authelia_for_owncloud.web != None",
|
||||
"block": [
|
||||
{
|
||||
"name": "compute client secret hash",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "authelia crypto hash generate bcrypt --password {{cfg_authelia_for_owncloud.web.client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||
},
|
||||
"register": "temp_authelia_for_owncloud_web_client_secret_hashed"
|
||||
},
|
||||
{
|
||||
"name": "emplace",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "authelia-client-conf-web.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/clients/owncloud-web.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
"name": "show vars",
|
||||
"when": "switch_show_vars",
|
||||
"ansible.builtin.debug": {
|
||||
"var": "vars.cfg_authelia_for_owncloud"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration | client | desktop",
|
||||
"when": "cfg_authelia_for_ownloud.desktop != None",
|
||||
"name": "configuration | client",
|
||||
"block": [
|
||||
{
|
||||
"name": "compute client secret hash",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "authelia crypto hash generate bcrypt --password {{cfg_authelia_for_owncloud.desktop.client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||
},
|
||||
"register": "temp_authelia_for_owncloud_desktop_client_secret_hashed"
|
||||
"name": "configuration | client | web",
|
||||
"when": "cfg_authelia_for_owncloud.web != None",
|
||||
"block": [
|
||||
{
|
||||
"name": "emplace",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "authelia-client-conf-web.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/clients/owncloud-web.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "emplace",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "authelia-client-conf-desktop.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/clients/owncloud-desktop.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "configuration | client | android",
|
||||
"when": "cfg_authelia_for_ownloud.android != None",
|
||||
"block": [
|
||||
{
|
||||
"name": "compute client secret hash",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "authelia crypto hash generate bcrypt --password {{cfg_authelia_for_owncloud.android.client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||
},
|
||||
"register": "temp_authelia_for_owncloud_android_client_secret_hashed"
|
||||
"name": "configuration | client | desktop",
|
||||
"when": "cfg_authelia_for_owncloud.desktop != None",
|
||||
"block": [
|
||||
{
|
||||
"name": "compute client secret hash",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "authelia crypto hash generate bcrypt --password {{cfg_authelia_for_owncloud.desktop.client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||
},
|
||||
"register": "temp_authelia_for_owncloud_desktop_client_secret_hashed"
|
||||
},
|
||||
{
|
||||
"name": "emplace",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "authelia-client-conf-desktop.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/clients/owncloud-desktop.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "emplace",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "authelia-client-conf-android.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/clients/owncloud-android.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "configuration | client | ios",
|
||||
"when": "cfg_authelia_for_ownloud.ios != None",
|
||||
"block": [
|
||||
{
|
||||
"name": "compute client secret hash",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "authelia crypto hash generate bcrypt --password {{cfg_authelia_for_owncloud.ios.client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||
},
|
||||
"register": "temp_authelia_for_owncloud_ios_client_secret_hashed"
|
||||
"name": "configuration | client | android",
|
||||
"when": "cfg_authelia_for_owncloud.android != None",
|
||||
"block": [
|
||||
{
|
||||
"name": "compute client secret hash",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "authelia crypto hash generate bcrypt --password {{cfg_authelia_for_owncloud.android.client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||
},
|
||||
"register": "temp_authelia_for_owncloud_android_client_secret_hashed"
|
||||
},
|
||||
{
|
||||
"name": "emplace",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "authelia-client-conf-android.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/clients/owncloud-android.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "emplace",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "authelia-client-conf-ios.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/clients/owncloud-ios.json"
|
||||
}
|
||||
"name": "configuration | client | ios",
|
||||
"when": "cfg_authelia_for_owncloud.ios != None",
|
||||
"block": [
|
||||
{
|
||||
"name": "compute client secret hash",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "authelia crypto hash generate bcrypt --password {{cfg_authelia_for_owncloud.ios.client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||
},
|
||||
"register": "temp_authelia_for_owncloud_ios_client_secret_hashed"
|
||||
},
|
||||
{
|
||||
"name": "emplace",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "authelia-client-conf-ios.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/clients/owncloud-ios.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
"grant_types": [
|
||||
"authorization_code",
|
||||
"refresh_token"
|
||||
]
|
||||
],
|
||||
"access_token_signed_response_alg": "none",
|
||||
"userinfo_signed_response_alg": "none",
|
||||
"token_endpoint_auth_method": "client_secret_basic"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
"grant_types": [
|
||||
"authorization_code",
|
||||
"refresh_token"
|
||||
]
|
||||
],
|
||||
"access_token_signed_response_alg": "none",
|
||||
"userinfo_signed_response_alg": "none",
|
||||
"token_endpoint_auth_method": "client_secret_basic"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
"grant_types": [
|
||||
"authorization_code",
|
||||
"refresh_token"
|
||||
]
|
||||
],
|
||||
"access_token_signed_response_alg": "none",
|
||||
"userinfo_signed_response_alg": "none",
|
||||
"token_endpoint_auth_method": "client_secret_basic"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"client_id": "{{cfg_authelia_for_owncloud.web.client_id}}",
|
||||
|
||||
"client_name": "ownCloud | Web Client",
|
||||
"lifespan": "ocis",
|
||||
"lifespan": "long",
|
||||
"public": true,
|
||||
"authorization_policy": "one_factor",
|
||||
"require_pkce": true,
|
||||
|
|
@ -15,10 +15,10 @@
|
|||
"email"
|
||||
],
|
||||
"redirect_uris": [
|
||||
"{{var_authelia_for_owncloud_owncloud_url_base}}",
|
||||
"{{var_authelia_for_owncloud_owncloud_url_base}}/oidc-callback.html",
|
||||
"{{var_authelia_for_owncloud_owncloud_url_base}}/oidc-silent-redirect.html",
|
||||
"{{var_authelia_for_owncloud_owncloud_url_base}}/apps/openidconnect/redirect"
|
||||
"https://{{cfg_authelia_for_owncloud.owncloud_url_base}}",
|
||||
"https://{{cfg_authelia_for_owncloud.owncloud_url_base}}/oidc-callback.html",
|
||||
"https://{{cfg_authelia_for_owncloud.owncloud_url_base}}/oidc-silent-redirect.html",
|
||||
"https://{{cfg_authelia_for_owncloud.owncloud_url_base}}/apps/openidconnect/redirect"
|
||||
],
|
||||
"response_types": [
|
||||
"code"
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
"grant_types": [
|
||||
"authorization_code",
|
||||
"refresh_token"
|
||||
]
|
||||
],
|
||||
"access_token_signed_response_alg": "none",
|
||||
"userinfo_signed_response_alg": "none",
|
||||
"token_endpoint_auth_method": "none"
|
||||
|
|
|
|||
398
roles/authelia/cfg.schema.json
Normal file
398
roles/authelia/cfg.schema.json
Normal file
|
|
@ -0,0 +1,398 @@
|
|||
{
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"listen_address": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "0.0.0.0"
|
||||
},
|
||||
"jwt_secret": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"users_file_path": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "/var/authelia/users.yml"
|
||||
},
|
||||
"log_file_path": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "/var/authelia/log.jsonl"
|
||||
},
|
||||
"domain": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "authelia.example.org"
|
||||
},
|
||||
"redirect_url": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "https://example.org"
|
||||
},
|
||||
"session_domain": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "example.org"
|
||||
},
|
||||
"session_secret": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"storage_encryption_key": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"storage": {
|
||||
"anyOf": [
|
||||
{
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"enum": ["sqlite"]
|
||||
},
|
||||
"data": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "/var/authelia/state.db"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
],
|
||||
"default": {
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"kind"
|
||||
]
|
||||
},
|
||||
{
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"enum": ["postgresql"]
|
||||
},
|
||||
"data": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"host": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"ddefault": "localhost"
|
||||
},
|
||||
"port": {
|
||||
"nullable": false,
|
||||
"type": "integer",
|
||||
"default": 5432
|
||||
},
|
||||
"username": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "authelia_user"
|
||||
},
|
||||
"password": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"schema": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "authelia"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"password"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"kind",
|
||||
"data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"enum": ["mariadb"]
|
||||
},
|
||||
"data": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"host": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"ddefault": "localhost"
|
||||
},
|
||||
"port": {
|
||||
"nullable": false,
|
||||
"type": "integer",
|
||||
"default": 3306
|
||||
},
|
||||
"username": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "authelia_user"
|
||||
},
|
||||
"password": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"schema": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "authelia"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"password"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"kind",
|
||||
"data"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"ntp_server": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"password_reset": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"nullable": false,
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"custom_url": {
|
||||
"nullable": true,
|
||||
"type": "string",
|
||||
"default": null
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
],
|
||||
"default": {
|
||||
}
|
||||
},
|
||||
"notification": {
|
||||
"anyOf": [
|
||||
{
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"enum": ["file"]
|
||||
},
|
||||
"data": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
],
|
||||
"default": {
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"kind"
|
||||
]
|
||||
},
|
||||
{
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"enum": ["smtp"]
|
||||
},
|
||||
"data": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"host": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "smtp.example.org"
|
||||
},
|
||||
"port": {
|
||||
"nullable": false,
|
||||
"type": "integer",
|
||||
"default": 465
|
||||
},
|
||||
"username": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "authelia"
|
||||
},
|
||||
"password": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"sender": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "authelia@example.org"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"password"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"kind",
|
||||
"data"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"oidc": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hmac_secret": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"lifespan": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"default": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"access_token": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "1h"
|
||||
},
|
||||
"refresh_token": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"default": "1m"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
],
|
||||
"default": {
|
||||
}
|
||||
},
|
||||
"custom": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
},
|
||||
"additionalProperties": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"access_token": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"refresh_token": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"acces_token",
|
||||
"refresh_token"
|
||||
]
|
||||
},
|
||||
"required": [
|
||||
],
|
||||
"default": {
|
||||
"long": {
|
||||
"access_token": "2d",
|
||||
"refresh_token": "3d"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
],
|
||||
"default": {
|
||||
}
|
||||
},
|
||||
"cors_endpoints": {
|
||||
"nullable": true,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"nullable": false,
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"authorization",
|
||||
"pushed-authorization-request",
|
||||
"token",
|
||||
"revocation",
|
||||
"introspection",
|
||||
"userinfo"
|
||||
]
|
||||
},
|
||||
"default": [
|
||||
"authorization",
|
||||
"token",
|
||||
"revocation",
|
||||
"introspection",
|
||||
"userinfo"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"hmac_secret"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"jwt_secret",
|
||||
"session_secret",
|
||||
"storage_encryption_key",
|
||||
"oidc"
|
||||
]
|
||||
}
|
||||
|
|
@ -1,39 +1,48 @@
|
|||
{
|
||||
"var_authelia_version": "4.37.5",
|
||||
"var_authelia_architecture": "amd64",
|
||||
"var_authelia_listen_address": "0.0.0.0",
|
||||
"var_authelia_jwt_secret": "REPLACE_ME",
|
||||
"var_authelia_users_file_path": "/var/authelia/users.yml",
|
||||
"var_authelia_log_file_path": "/var/authelia/log.jsonl",
|
||||
"var_authelia_domain": "authelia.example.org",
|
||||
"var_authelia_redirect_url": "https://example.org",
|
||||
"var_authelia_session_domain": "example.org",
|
||||
"var_authelia_session_secret": "REPLACE_ME",
|
||||
"var_authelia_storage_encryption_key": "REPLACE_ME",
|
||||
"var_authelia_storage_kind": "sqlite",
|
||||
"var_authelia_storage_data_sqlite_path": "/var/authelia/state.db",
|
||||
"var_authelia_storage_data_postgresql_host": "localhost",
|
||||
"var_authelia_storage_data_postgresql_port": 5432,
|
||||
"var_authelia_storage_data_postgresql_username": "authelia_user",
|
||||
"var_authelia_storage_data_postgresql_password": "REPLACE_ME",
|
||||
"var_authelia_storage_data_postgresql_schema": "authelia",
|
||||
"var_authelia_storage_data_mariadb_host": "localhost",
|
||||
"var_authelia_storage_data_mariadb_port": 3306,
|
||||
"var_authelia_storage_data_mariadb_username": "authelia_user",
|
||||
"var_authelia_storage_data_mariadb_password": "REPLACE_ME",
|
||||
"var_authelia_storage_data_mariadb_schema": "authelia",
|
||||
"var_authelia_ntp_server": "time.cloudflare.com:123",
|
||||
"var_authelia_password_reset_enabled": false,
|
||||
"var_authelia_password_reset_custom_url": null,
|
||||
"var_authelia_notification_mode": "smtp",
|
||||
"var_authelia_notification_file_path": "/var/authelia/notifications",
|
||||
"var_authelia_notification_smtp_host": "smtp.example.org",
|
||||
"var_authelia_notification_smtp_port": 465,
|
||||
"var_authelia_notification_smtp_username": "authelia",
|
||||
"var_authelia_notification_smtp_password": "REPLACE_ME",
|
||||
"var_authelia_notification_smtp_sender": "authelia@example.org",
|
||||
"var_authelia_oidc_hmac_secret": "REPLACE_ME",
|
||||
"var_authelia_oidc_lifespan_access_token": "1h",
|
||||
"var_authelia_oidc_lifespan_refresh_token": "1m",
|
||||
"var_authelia_oidc_cors_endpoints": null
|
||||
"cfg_authelia_defaults": {
|
||||
"listen_address": "0.0.0.0",
|
||||
"users_file_path": "/var/authelia/users.yml",
|
||||
"log_file_path": "/var/authelia/log.jsonl",
|
||||
"domain": "authelia.example.org",
|
||||
"redirect_url": "https://example.org",
|
||||
"session_domain": "example.org",
|
||||
"storage": {
|
||||
"kind": "sqlite",
|
||||
"data": {
|
||||
"path": "/var/authelia/state.db"
|
||||
}
|
||||
},
|
||||
"ntp_server": "time.cloudflare.com:123",
|
||||
"password_reset": {
|
||||
"enabled": false,
|
||||
"custom_url": null
|
||||
},
|
||||
"notification": {
|
||||
"kind": "file",
|
||||
"data": {
|
||||
"path": "/var/authelia/notifications"
|
||||
}
|
||||
},
|
||||
"oidc": {
|
||||
"lifespan": {
|
||||
"default": {
|
||||
"access_token": "1d",
|
||||
"refresh_token": "1h"
|
||||
},
|
||||
"custom": {
|
||||
"long": {
|
||||
"access_token": "2d",
|
||||
"refresh_token": "3d"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cors_endpoints": [
|
||||
"authorization",
|
||||
"token",
|
||||
"revocation",
|
||||
"introspection",
|
||||
"userinfo"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,45 +1,57 @@
|
|||
[
|
||||
{
|
||||
"name": "packages | prerequisites",
|
||||
"become": true,
|
||||
"ansible.builtin.apt": {
|
||||
"update_cache": true,
|
||||
"pkg": [
|
||||
"apt-transport-https",
|
||||
"ca-certificates",
|
||||
"gpg"
|
||||
]
|
||||
"name": "show vars",
|
||||
"when": "switch_show_vars",
|
||||
"ansible.builtin.debug": {
|
||||
"var": "vars.cfg_authelia"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "packages | keys",
|
||||
"become": true,
|
||||
"ansible.builtin.get_url": {
|
||||
"url": "https://www.authelia.com/keys/authelia-security.gpg",
|
||||
"dest": "/usr/share/keyrings/authelia-security.gpg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "packages | repository",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/authelia-security.gpg] https://apt.authelia.com stable main\" > /etc/apt/sources.list.d/authelia.list",
|
||||
"creates": "/etc/apt/sources.list.d/authelia.list"
|
||||
}
|
||||
"name": "packages",
|
||||
"block": [
|
||||
{
|
||||
"name": "prerequisites",
|
||||
"become": true,
|
||||
"ansible.builtin.apt": {
|
||||
"update_cache": true,
|
||||
"pkg": [
|
||||
"apt-transport-https",
|
||||
"ca-certificates",
|
||||
"gpg"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "keys",
|
||||
"become": true,
|
||||
"ansible.builtin.get_url": {
|
||||
"url": "https://www.authelia.com/keys/authelia-security.gpg",
|
||||
"dest": "/usr/share/keyrings/authelia-security.gpg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "repository",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/authelia-security.gpg] https://apt.authelia.com stable main\" > /etc/apt/sources.list.d/authelia.list",
|
||||
"creates": "/etc/apt/sources.list.d/authelia.list"
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"name": "packages | installation",
|
||||
"become": true,
|
||||
"ansible.builtin.apt": {
|
||||
"update_cache": true,
|
||||
"pkg": [
|
||||
"openssl",
|
||||
"python3-cryptography",
|
||||
"python3-yaml",
|
||||
"authelia"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "installation",
|
||||
"become": true,
|
||||
"ansible.builtin.apt": {
|
||||
"update_cache": true,
|
||||
"pkg": [
|
||||
"openssl",
|
||||
"python3-cryptography",
|
||||
"python3-yaml",
|
||||
"authelia"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "generate private key for signing OIDC JWTs",
|
||||
|
|
@ -53,74 +65,88 @@
|
|||
"register": "temp_tls_result"
|
||||
},
|
||||
{
|
||||
"name": "configuration | compose script",
|
||||
"become": true,
|
||||
"ansible.builtin.copy": {
|
||||
"src": "conf-compose.py",
|
||||
"dest": "/usr/bin/authelia-conf-compose",
|
||||
"mode": "0700"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration | directories",
|
||||
"become": true,
|
||||
"loop": [
|
||||
"/etc/authelia/conf.d",
|
||||
"/etc/authelia/conf.d/clients"
|
||||
],
|
||||
"ansible.builtin.file": {
|
||||
"state": "directory",
|
||||
"path": "{{item}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration | main",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "conf-main.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/main.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration | compose",
|
||||
"become": true,
|
||||
"ansible.builtin.command": {
|
||||
"cmd": "/usr/bin/authelia-conf-compose --main-file-path=/etc/authelia/conf.d/main.json --clients-directory-path=/etc/authelia/conf.d/clients --output-format=yaml --output-path=/etc/authelia/configuration.yml"
|
||||
}
|
||||
"name": "configuration",
|
||||
"block": [
|
||||
{
|
||||
"name": "configuration | compose script",
|
||||
"become": true,
|
||||
"ansible.builtin.copy": {
|
||||
"src": "conf-compose.py",
|
||||
"dest": "/usr/bin/authelia-conf-compose",
|
||||
"mode": "0700"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration | directories",
|
||||
"become": true,
|
||||
"loop": [
|
||||
"/etc/authelia/conf.d",
|
||||
"/etc/authelia/conf.d/clients"
|
||||
],
|
||||
"ansible.builtin.file": {
|
||||
"state": "directory",
|
||||
"path": "{{item}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration | main",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "conf-main.json.j2",
|
||||
"dest": "/etc/authelia/conf.d/main.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration | compose",
|
||||
"become": true,
|
||||
"ansible.builtin.command": {
|
||||
"cmd": "/usr/bin/authelia-conf-compose --main-file-path=/etc/authelia/conf.d/main.json --clients-directory-path=/etc/authelia/conf.d/clients --output-format=yaml --output-path=/etc/authelia/configuration.yml"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "setup log directory",
|
||||
"become": true,
|
||||
"ansible.builtin.file": {
|
||||
"state": "directory",
|
||||
"path": "{{var_authelia_log_file_path | dirname}}"
|
||||
"owner": "authelia",
|
||||
"group": "authelia",
|
||||
"path": "{{cfg_authelia.log_file_path | dirname}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "users | directory",
|
||||
"become": true,
|
||||
"ansible.builtin.file": {
|
||||
"state": "directory",
|
||||
"path": "{{var_authelia_users_file_path | dirname}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "users | initial file",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "users.yml.j2",
|
||||
"dest": "{{var_authelia_users_file_path}}",
|
||||
"force": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "users | management script",
|
||||
"become": true,
|
||||
"ansible.builtin.copy": {
|
||||
"src": "user-manage.py",
|
||||
"dest": "/usr/bin/authelia-user-manage",
|
||||
"mode": "0700"
|
||||
}
|
||||
"name": "users",
|
||||
"block": [
|
||||
{
|
||||
"name": "directory",
|
||||
"become": true,
|
||||
"ansible.builtin.file": {
|
||||
"state": "directory",
|
||||
"owner": "authelia",
|
||||
"group": "authelia",
|
||||
"path": "{{cfg_authelia.users_file_path | dirname}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "initial file",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "users.yml.j2",
|
||||
"dest": "{{cfg_authelia.users_file_path}}",
|
||||
"force": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "management script",
|
||||
"become": true,
|
||||
"ansible.builtin.copy": {
|
||||
"src": "user-manage.py",
|
||||
"dest": "/usr/bin/authelia-user-manage",
|
||||
"mode": "0700"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "apply",
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
"theme": "auto",
|
||||
"identity_validation": {
|
||||
"reset_password": {
|
||||
"jwt_secret": "{{var_authelia_jwt_secret}}"
|
||||
"jwt_secret": "{{cfg_authelia.jwt_secret}}"
|
||||
}
|
||||
},
|
||||
"default_2fa_method": "totp",
|
||||
"server": {
|
||||
"address": "{{var_authelia_listen_address}}:9091",
|
||||
"address": "{{cfg_authelia.listen_address}}:9091",
|
||||
"endpoints": {
|
||||
"enable_pprof": false,
|
||||
"enable_expvars": false
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
"log": {
|
||||
"level": "info",
|
||||
"format": "json",
|
||||
"file_path": "{{var_authelia_log_file_path}}",
|
||||
"file_path": "{{cfg_authelia.log_file_path}}",
|
||||
"keep_stdout": false
|
||||
},
|
||||
"telemetry": {
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
"user_verification": "preferred"
|
||||
},
|
||||
"ntp": {
|
||||
"address": "{{var_authelia_ntp_server}}",
|
||||
"address": "{{cfg_authelia.ntp_server}}",
|
||||
"version": 4,
|
||||
"max_desync": "3s",
|
||||
"disable_startup_check": false,
|
||||
|
|
@ -51,16 +51,16 @@
|
|||
},
|
||||
"authentication_backend": {
|
||||
"password_reset": {
|
||||
{% if var_authelia_password_reset_enabled %}
|
||||
{% if cfg_authelia.password_reset.enabled %}
|
||||
"disable": false,
|
||||
{% else %}
|
||||
"disable": true,
|
||||
{% endif %}
|
||||
"custom_url": "{{var_authelia_password_reset_custom_url}}"
|
||||
"custom_url": {{cfg_authelia.password_reset.custom_url | to_json}}
|
||||
},
|
||||
"refresh_interval": "5m",
|
||||
"file": {
|
||||
"path": "{{var_authelia_users_file_path}}",
|
||||
"path": "{{cfg_authelia.users_file_path}}",
|
||||
"watch": true,
|
||||
"search": {
|
||||
"email": false,
|
||||
|
|
@ -121,15 +121,15 @@
|
|||
"session": {
|
||||
"name": "authelia_session",
|
||||
"same_site": "lax",
|
||||
"secret": "{{var_authelia_session_secret}}",
|
||||
"secret": "{{cfg_authelia.session_secret}}",
|
||||
"expiration": "1h",
|
||||
"inactivity": "5m",
|
||||
"remember_me": "1M",
|
||||
"cookies": [
|
||||
{
|
||||
"domain": "{{var_authelia_session_domain}}",
|
||||
"authelia_url": "https://{{var_authelia_domain}}/",
|
||||
"default_redirection_url": "{{var_authelia_redirect_url}}"
|
||||
"domain": "{{cfg_authelia.session_domain}}",
|
||||
"authelia_url": "https://{{cfg_authelia.domain}}/",
|
||||
"default_redirection_url": "{{cfg_authelia.redirect_url}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -139,44 +139,44 @@
|
|||
"ban_time": "5m"
|
||||
},
|
||||
"storage": {
|
||||
"encryption_key": "{{var_authelia_storage_encryption_key}}",
|
||||
{% if var_authelia_storage_kind == "sqlite" %}
|
||||
"encryption_key": "{{cfg_authelia.storage_encryption_key}}",
|
||||
{% if cfg_authelia.storage.kind == "sqlite" %}
|
||||
"local": {
|
||||
"path": "{{var_authelia_storage_data_sqlite_path}}"
|
||||
"path": "{{cfg_authelia.storage.data.path}}"
|
||||
}
|
||||
{% endif %}
|
||||
{% if var_authelia_storage_kind == "postgresql" %}
|
||||
{% if cfg_authelia.storage.kind == "postgresql" %}
|
||||
"postgres": {
|
||||
"address": "{{var_authelia_storage_data_postgresql_host}}:{{var_authelia_storage_data_postgresql_port | string}}",
|
||||
"address": "{{cfg_authelia.storage.data.host}}:{{cfg_authelia.storage.data.port | string}}",
|
||||
"schema": "public",
|
||||
"username": "{{var_authelia_storage_data_postgresql_username}}",
|
||||
"password": "{{var_authelia_storage_data_postgresql_password}}",
|
||||
"database": "{{var_authelia_storage_data_postgresql_schema}}"
|
||||
"username": "{{cfg_authelia.storage.data.username}}",
|
||||
"password": "{{cfg_authelia.storage.data.password}}",
|
||||
"database": "{{cfg_authelia.storage.data.schema}}"
|
||||
}
|
||||
{% endif %}
|
||||
{% if var_authelia_storage_kind == "mariadb" %}
|
||||
{% if cfg_authelia.storage.kind == "mariadb" %}
|
||||
"mysql": {
|
||||
"host": "{{var_authelia_storage_data_mariadb_host}}",
|
||||
"port": {{var_authelia_storage_data_mariadb_port | string}},
|
||||
"username": "{{var_authelia_storage_data_mariadb_username}}",
|
||||
"password": "{{var_authelia_storage_data_mariadb_password}}",
|
||||
"database": "{{var_authelia_storage_data_mariadb_schema}}"
|
||||
"host": "{{cfg_authelia.storage.data.host}}",
|
||||
"port": {{cfg_authelia.storage.data.port | string}},
|
||||
"username": "{{cfg_authelia.storage.data.username}}",
|
||||
"password": "{{cfg_authelia.storage.data.password}}",
|
||||
"database": "{{cfg_authelia.storage.data.schema}}"
|
||||
}
|
||||
{% endif %}
|
||||
},
|
||||
"notifier": {
|
||||
"disable_startup_check": true,
|
||||
{% if var_authelia_notification_mode == "file" %}
|
||||
{% if cfg_authelia.notification.kind == "file" %}
|
||||
"filesystem": {
|
||||
"filename": "{{var_authelia_notification_file_path}}"
|
||||
"filename": "{{cfg_authelia.notification.data.path}}"
|
||||
}
|
||||
{% endif %}
|
||||
{% if var_authelia_notification_mode == "smtp" %}
|
||||
{% if cfg_authelia.notification.kind == "smtp" %}
|
||||
"smtp": {
|
||||
"address": "{{var_authelia_notification_smtp_host}}:{{var_authelia_notification_smtp_port | string}}",
|
||||
"username": "{{var_authelia_notification_smtp_username}}",
|
||||
"password": "{{var_authelia_notification_smtp_password}}",
|
||||
"sender": "{{var_authelia_notification_smtp_sender}}",
|
||||
"address": "{{cfg_authelia.notification.data.host}}:{{cfg_authelia.notification.data.port | string}}",
|
||||
"username": "{{cfg_authelia.notification.data.username}}",
|
||||
"password": "{{cfg_authelia.notification.data.password}}",
|
||||
"sender": "{{cfg_authelia.notification.data.sender}}",
|
||||
"disable_require_tls": false,
|
||||
"disable_html_emails": false,
|
||||
"tls": {
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
},
|
||||
"identity_providers": {
|
||||
"oidc": {
|
||||
"hmac_secret": "{{var_authelia_oidc_hmac_secret}}",
|
||||
"hmac_secret": "{{cfg_authelia.oidc.hmac_secret}}",
|
||||
"jwks": [
|
||||
{
|
||||
"algorithm": "RS256",
|
||||
|
|
@ -195,20 +195,15 @@
|
|||
}
|
||||
],
|
||||
"lifespans": {
|
||||
"access_token": "{{var_authelia_oidc_lifespan_access_token}}",
|
||||
"refresh_token": "{{var_authelia_oidc_lifespan_refresh_token}}",
|
||||
"custom": {
|
||||
"ocis": {
|
||||
"access_token": "2d",
|
||||
"refresh_token": "3d"
|
||||
}
|
||||
}
|
||||
"access_token": "{{cfg_authelia.oidc.lifespan.default.access_token}}",
|
||||
"refresh_token": "{{cfg_authelia.oidc.lifespan.default.refresh_token}}",
|
||||
"custom": {{cfg_authelia.oidc.lifespan.custom | to_json}}
|
||||
},
|
||||
"cors": {
|
||||
"allowed_origins_from_client_redirect_uris": true
|
||||
{% if var_authelia_oidc_cors_endpoints == None %}
|
||||
{% if cfg_authelia.oidc.cors_endpoints == None %}
|
||||
{% else %}
|
||||
,"endpoints": {{var_authelia_oidc_cors_endpoints | to_json}}
|
||||
,"endpoints": {{cfg_authelia.oidc.cors_endpoints | to_json}}
|
||||
{% endif %}
|
||||
},
|
||||
"clients": [
|
||||
|
|
|
|||
|
|
@ -1,169 +0,0 @@
|
|||
{
|
||||
"version": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"architecture": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"listen_address": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"jwt_secret": {
|
||||
"type": "string",
|
||||
"mandatory": true
|
||||
},
|
||||
"users_file_path": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"log_file_path": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"domain": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"redirect_url": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"session_domain": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"session_secret": {
|
||||
"type": "string",
|
||||
"mandatory": true
|
||||
},
|
||||
"storage_encryption_key": {
|
||||
"type": "string",
|
||||
"mandatory": true
|
||||
},
|
||||
"storage_kind": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_sqlite_path": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_postgresql_host": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_postgresql_port": {
|
||||
"type": "integer",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_postgresql_username": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_postgresql_password": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_postgresql_schema": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_mariadb_host": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_mariadb_port": {
|
||||
"type": "integer",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_mariadb_username": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_mariadb_password": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"storage_data_mariadb_schema": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"ntp_server": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"password_reset_enabled": {
|
||||
"type": "boolean",
|
||||
"mandatory": false
|
||||
},
|
||||
"password_reset_custom_url": {
|
||||
"nullable": true,
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"notification_mode": {
|
||||
"type": "string",
|
||||
"mandatory": false,
|
||||
"options": [
|
||||
"file",
|
||||
"smtp"
|
||||
]
|
||||
},
|
||||
"notification_file_path": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"notification_smtp_host": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"notification_smtp_port": {
|
||||
"type": "integer",
|
||||
"mandatory": false
|
||||
},
|
||||
"notification_smtp_username": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"notification_smtp_password": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"notification_smtp_sender": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"oidc_hmac_secret": {
|
||||
"type": "string",
|
||||
"mandatory": true
|
||||
},
|
||||
"oidc_lifespan_access_token": {
|
||||
"nullable": true,
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"oidc_lifespan_refresh_token": {
|
||||
"nullable": true,
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"oidc_cors_endpoints": {
|
||||
"nullable": true,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"authorization",
|
||||
"pushed-authorization-request",
|
||||
"token",
|
||||
"revocation",
|
||||
"introspection",
|
||||
"userinfo"
|
||||
]
|
||||
},
|
||||
"mandatory": false
|
||||
}
|
||||
}
|
||||
25
roles/nginx/cfg.schema.json
Normal file
25
roles/nginx/cfg.schema.json
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"auto_reload_interval": {
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"description": "in hours",
|
||||
"default": null
|
||||
},
|
||||
"dhparam_size": {
|
||||
"nullable": false,
|
||||
"type": "integer",
|
||||
"default": null
|
||||
},
|
||||
"improved_security": {
|
||||
"nullable": false,
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
]
|
||||
}
|
||||
|
|
@ -1,3 +1,6 @@
|
|||
{
|
||||
"var_nginx_auto_reload_interval": null
|
||||
"cfg_nginx_defaults": {
|
||||
"auto_reload_interval": null,
|
||||
"dhparam_size": 2048
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,11 @@
|
|||
[
|
||||
{
|
||||
"name": "show vars",
|
||||
"when": "switch_show_vars",
|
||||
"ansible.builtin.debug": {
|
||||
"var": "vars.cfg_nginx"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "install packages",
|
||||
"become": true,
|
||||
|
|
@ -12,9 +19,10 @@
|
|||
},
|
||||
{
|
||||
"name": "generate dhparams file",
|
||||
"when": "cfg_nginx.dhparam_size != None",
|
||||
"become": true,
|
||||
"ansible.builtin.command": {
|
||||
"cmd": "openssl dhparam -out /etc/nginx/dhparam 4096"
|
||||
"cmd": "openssl dhparam -out /etc/nginx/dhparam {{cfg_nginx.dhparam_size | string}}"
|
||||
},
|
||||
"args": {
|
||||
"creates": "/etc/nginx/dhparam"
|
||||
|
|
@ -23,49 +31,54 @@
|
|||
{
|
||||
"name": "place hardening config",
|
||||
"become": true,
|
||||
"ansible.builtin.copy": {
|
||||
"src": "ssl-hardening.conf",
|
||||
"ansible.builtin.template": {
|
||||
"src": "ssl-hardening.conf.j2",
|
||||
"dest": "/etc/nginx/ssl-hardening.conf"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ufw | check",
|
||||
"become": true,
|
||||
"check_mode": true,
|
||||
"community.general.ufw": {
|
||||
"state": "enabled"
|
||||
},
|
||||
"register": "ufw_enable_check"
|
||||
},
|
||||
{
|
||||
"name": "ufw | allow port 80",
|
||||
"when": "not ufw_enable_check.changed",
|
||||
"become": true,
|
||||
"community.general.ufw": {
|
||||
"rule": "allow",
|
||||
"port": "80",
|
||||
"proto": "tcp"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ufw | allow port 443",
|
||||
"when": "not ufw_enable_check.changed",
|
||||
"become": true,
|
||||
"community.general.ufw": {
|
||||
"rule": "allow",
|
||||
"port": "443",
|
||||
"proto": "tcp"
|
||||
}
|
||||
"name": "ufw",
|
||||
"block": [
|
||||
{
|
||||
"name": "check",
|
||||
"become": true,
|
||||
"check_mode": true,
|
||||
"community.general.ufw": {
|
||||
"state": "enabled"
|
||||
},
|
||||
"register": "ufw_enable_check"
|
||||
},
|
||||
{
|
||||
"name": "allow port 80",
|
||||
"when": "not ufw_enable_check.changed",
|
||||
"become": true,
|
||||
"community.general.ufw": {
|
||||
"rule": "allow",
|
||||
"port": "80",
|
||||
"proto": "tcp"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "allow port 443",
|
||||
"when": "not ufw_enable_check.changed",
|
||||
"become": true,
|
||||
"community.general.ufw": {
|
||||
"rule": "allow",
|
||||
"port": "443",
|
||||
"proto": "tcp"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "auto reload",
|
||||
"when": "var_nginx_auto_reload_interval == None",
|
||||
"when": "cfg_nginx.auto_reload_interval == None",
|
||||
"become": true,
|
||||
"ansible.builtin.cron": {
|
||||
"name": "nginx_auto_reload",
|
||||
"disabled": true,
|
||||
"minute": "0",
|
||||
"hour": "*/{{var_nginx_auto_reload_interval | string}}",
|
||||
"hour": "*/{{cfg_nginx.auto_reload_interval | string}}",
|
||||
"day": "*",
|
||||
"month": "*",
|
||||
"weekday": "*",
|
||||
|
|
@ -74,13 +87,13 @@
|
|||
},
|
||||
{
|
||||
"name": "auto reload",
|
||||
"when": "var_nginx_auto_reload_interval != None",
|
||||
"when": "cfg_nginx.auto_reload_interval != None",
|
||||
"become": true,
|
||||
"ansible.builtin.cron": {
|
||||
"name": "nginx_auto_reload",
|
||||
"disabled": false,
|
||||
"minute": "0",
|
||||
"hour": "*/{{var_nginx_auto_reload_interval | string}}",
|
||||
"hour": "*/{{cfg_nginx.auto_reload_interval | string}}",
|
||||
"day": "*",
|
||||
"month": "*",
|
||||
"weekday": "*",
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@ ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
|
|||
ssl_session_tickets off;
|
||||
|
||||
# curl https://ssl-config.mozilla.org/ffdhe2048.txt > /path/to/dhparam
|
||||
{% if cfg_nginx.dhparam_size != None %}
|
||||
ssl_dhparam /etc/nginx/dhparam;
|
||||
{% endif %}
|
||||
|
||||
# intermediate configuration
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"auto_reload_interval": {
|
||||
"description": "in hours",
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"mandatory": false
|
||||
}
|
||||
}
|
||||
|
|
@ -32,67 +32,78 @@
|
|||
"type": "string"
|
||||
},
|
||||
"authentication": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"internal",
|
||||
"authelia"
|
||||
],
|
||||
"default": "internal"
|
||||
},
|
||||
"data": {
|
||||
"anyOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": ["internal"]
|
||||
},
|
||||
"data": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"authelia": {
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
],
|
||||
"default": {
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"kind"
|
||||
]
|
||||
},
|
||||
{
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": ["authelia"]
|
||||
},
|
||||
"data": {
|
||||
"nullable": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url_base": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"web": {
|
||||
"nullable": true,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url_base": {
|
||||
"nullable": false,
|
||||
"type": "string"
|
||||
},
|
||||
"web": {
|
||||
"nullable": true,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"client_id": {
|
||||
"type": "string",
|
||||
"mandatory": false,
|
||||
"default": "owncloud_web"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
],
|
||||
"default": {
|
||||
}
|
||||
"client_id": {
|
||||
"type": "string",
|
||||
"mandatory": false,
|
||||
"default": "owncloud_web"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"url_base"
|
||||
]
|
||||
],
|
||||
"default": {
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"authelia"
|
||||
"url_base"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"kind",
|
||||
"data"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
],
|
||||
"default": {
|
||||
}
|
||||
]
|
||||
},
|
||||
"public_share": {
|
||||
"nullable": false,
|
||||
|
|
|
|||
|
|
@ -1,24 +1,18 @@
|
|||
{
|
||||
"cfg_owncloud_defaults": {
|
||||
"user": "owncloud",
|
||||
"directory": "/opt/owncloud",
|
||||
"version": "7.2.0",
|
||||
"platform": "linux-amd64",
|
||||
"domain": "owncloud.example.org",
|
||||
"authentication": {
|
||||
"kind": "internal",
|
||||
"data": {
|
||||
"authelia": {
|
||||
"url_base": "https://authelia.example.org",
|
||||
"web": {
|
||||
"client_id": "owncloud_web"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"public_share": {
|
||||
"password_necessity": "writable",
|
||||
"password_policy_active": true
|
||||
}
|
||||
}
|
||||
"var_owncloud_user": "owncloud",
|
||||
"var_owncloud_directory": "/opt/owncloud",
|
||||
"var_owncloud_version": "5.0.0",
|
||||
"var_owncloud_platform": "linux-amd64",
|
||||
"var_owncloud_domain": "owncloud.example.org",
|
||||
"var_owncloud_admin_password": "REPLACE_ME",
|
||||
"var_owncloud_authentication_kind": "internal",
|
||||
"var_owncloud_authentication_data_authelia_url_base": "https://authelia.example.org",
|
||||
"var_owncloud_authentication_data_authelia_web_client_id": "owncloud_web",
|
||||
"var_owncloud_authentication_data_authelia_web_client_secret": "REPLACE_ME",
|
||||
"var_owncloud_authentication_data_authelia_android_client_id": "owncloud_android",
|
||||
"var_owncloud_authentication_data_authelia_android_client_secret": "REPLACE_ME",
|
||||
"var_owncloud_authentication_data_authelia_ios_client_id": "owncloud_ios",
|
||||
"var_owncloud_authentication_data_authelia_ios_client_secret": "REPLACE_ME",
|
||||
"var_owncloud_public_share_password_necessity": "writable",
|
||||
"var_owncloud_public_share_password_policy_active": true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ Cloud-Plattform [ownCloud](https://owncloud.com/) (the rewrite in Go named "Infi
|
|||
|
||||
- [ownCloud-Dokumentation | How to install ownCloud Infinite Scale Tech Preview in three easy steps](https://owncloud.com/news/howto-install-owncloud-infinite-scale-tech-preview/)
|
||||
- [ownCloud-Dokumentation | oCIS](https://owncloud.dev/ocis/)
|
||||
- [ownCloud-Dokumentation | env var types](https://doc.owncloud.com/ocis/next/deployment/services/envvar-types-description.html)
|
||||
- [ownCloud-Dokumentation | Service | Proxy](https://doc.owncloud.com/ocis/next/deployment/services/s-list/proxy.html)
|
||||
- [ownCloud-Dokumentation | Service | Web](https://doc.owncloud.com/ocis/next/deployment/services/s-list/web.html)
|
||||
- [ownCloud-Dokumentation | Service | Sharing](https://doc.owncloud.com/ocis/next/deployment/services/s-list/sharing.html)
|
||||
|
|
@ -15,11 +14,6 @@ Cloud-Plattform [ownCloud](https://owncloud.com/) (the rewrite in Go named "Infi
|
|||
- [ownCloud-Foren | OCIS + Authelia](https://central.owncloud.org/t/ocis-authelia/44222)
|
||||
|
||||
|
||||
## Bermerkungen
|
||||
|
||||
- die Konfiguration ist zweistufig: man trägt Werte in die `.env`-Datei ein und lässt dann von owncloud auf Basis dessen eine vollwertige Konfiguration (`.ocis/config/ocis.yaml`) erstellen, welche nicht händisch angelegt oder geändert werden sollte
|
||||
|
||||
|
||||
## ToDo
|
||||
|
||||
- Download prüfen
|
||||
|
|
|
|||
|
|
@ -3,50 +3,37 @@
|
|||
"name": "user",
|
||||
"become": true,
|
||||
"ansible.builtin.user": {
|
||||
"name": "{{cfg_owncloud.user}}",
|
||||
"name": "{{var_owncloud_user}}",
|
||||
"create_home": true,
|
||||
"home": "{{cfg_owncloud.directory}}"
|
||||
"home": "{{var_owncloud_directory}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "download",
|
||||
"become": true,
|
||||
"become_user": "{{cfg_owncloud.user}}",
|
||||
"become_user": "{{var_owncloud_user}}",
|
||||
"ansible.builtin.get_url": {
|
||||
"url": "https://download.owncloud.com/ocis/ocis/stable/{{cfg_owncloud.version}}/ocis-{{cfg_owncloud.version}}-{{cfg_owncloud.platform}}",
|
||||
"dest": "{{cfg_owncloud.directory}}/ocis",
|
||||
"url": "https://download.owncloud.com/ocis/ocis/stable/{{var_owncloud_version}}/ocis-{{var_owncloud_version}}-{{var_owncloud_platform}}",
|
||||
"dest": "{{var_owncloud_directory}}/ocis",
|
||||
"mode": "u+rx"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "directories",
|
||||
"become": true,
|
||||
"become_user": "{{cfg_owncloud.user}}",
|
||||
"loop": [
|
||||
"log"
|
||||
],
|
||||
"ansible.builtin.file": {
|
||||
"state": "directory",
|
||||
"recurse": true,
|
||||
"path": "{{cfg_owncloud.directory}}/{{item}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "setup",
|
||||
"become": true,
|
||||
"become_user": "{{cfg_owncloud.user}}",
|
||||
"become_user": "{{var_owncloud_user}}",
|
||||
"ansible.builtin.shell": {
|
||||
"chdir": "{{cfg_owncloud.directory}}",
|
||||
"cmd": "rm -f {{cfg_owncloud.directory}}/.ocis/config/ocis.yaml && ./ocis init --insecure no --admin-password={{cfg_owncloud.admin_password}}"
|
||||
"chdir": "{{var_owncloud_directory}}",
|
||||
"cmd": "rm -f {{var_owncloud_directory}}/.ocis/config/ocis.yaml && ./ocis init --insecure no --admin-password={{var_owncloud_admin_password}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration",
|
||||
"become": true,
|
||||
"become_user": "{{cfg_owncloud.user}}",
|
||||
"become_user": "{{var_owncloud_user}}",
|
||||
"ansible.builtin.template": {
|
||||
"src": "env.j2",
|
||||
"dest": "{{cfg_owncloud.directory}}/.env"
|
||||
"dest": "{{var_owncloud_directory}}/.env"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
6
roles/owncloud/templates/csp.yaml.j2
Normal file
6
roles/owncloud/templates/csp.yaml.j2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
directives:
|
||||
connect-src:
|
||||
- '''self'''
|
||||
{% if cfg_owncloud.authentication.kind == 'authelia' %}
|
||||
- '{{cfg_owncloud.authentication.data.url_base}}'
|
||||
{% endif %}
|
||||
|
|
@ -1,57 +1,44 @@
|
|||
## web client
|
||||
WEB_LOG_LEVEL=info
|
||||
WEB_LOG_FILE={{cfg_owncloud.directory}}/log/web
|
||||
WEB_LOG_PRETTY=true
|
||||
WEB_LOG_COLOR=true
|
||||
{% if cfg_owncloud.authentication_kind == 'internal' %}
|
||||
{% endif %}
|
||||
{% if cfg_owncloud.authentication_kind == 'authelia' %}
|
||||
WEB_OIDC_AUTHORITY={{cfg_owncloud.authentication.data.authelia.url_base}}
|
||||
WEB_OIDC_CLIENT_ID={{cfg_owncloud.authentication.data.authelia.web.client_id}}
|
||||
WEB_OIDC_RESPONSE_TYPE=code
|
||||
WEB_OIDC_SCOPE=openid profile email groups
|
||||
WEB_OPTION_LOGIN_URL={{cfg_owncloud.authentication.data.authelia.url_base}}
|
||||
WEB_OPTION_LOGOUT_URL={{cfg_owncloud.authentication.data.authelia.url_base}}
|
||||
OCIS_URL="https://{{var_owncloud_domain}}"
|
||||
OCIS_INSECURE="false"
|
||||
|
||||
PROXY_TLS="false"
|
||||
|
||||
{% if var_owncloud_authentication_kind == 'internal' %}
|
||||
PROXY_AUTOPROVISION_ACCOUNTS="false"
|
||||
{% endif %}
|
||||
|
||||
## other clients
|
||||
PROXY_LOG_LEVEL=info
|
||||
PROXY_LOG_FILE={{cfg_owncloud.directory}}/log/proxy
|
||||
PROXY_LOG_PRETTY=true
|
||||
PROXY_LOG_COLOR=true
|
||||
PROXY_TLS=false
|
||||
{% if cfg_owncloud.authentication_kind == 'internal' %}
|
||||
PROXY_AUTOPROVISION_ACCOUNTS=false
|
||||
{% endif %}
|
||||
{% if cfg_owncloud.authentication_kind == 'authelia' %}
|
||||
PROXY_OIDC_ISSUER={{cfg_owncloud.authentication.data.authelia.url_base}}
|
||||
PROXY_OIDC_REWRITE_WELLKNOWN=true
|
||||
PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD=none
|
||||
PROXY_OIDC_SKIP_USER_INFO=false
|
||||
PROXY_AUTOPROVISION_ACCOUNTS=true
|
||||
PROXY_AUTOPROVISION_CLAIM_USERNAME=preferred_username
|
||||
PROXY_AUTOPROVISION_CLAIM_EMAIL=email
|
||||
PROXY_AUTOPROVISION_CLAIM_DISPLAYNAME=name
|
||||
PROXY_AUTOPROVISION_CLAIM_GROUPS=groups
|
||||
PROXY_USER_OIDC_CLAIM=preferred_username
|
||||
PROXY_USER_CS3_CLAIM=username
|
||||
{% if var_owncloud_authentication_kind == 'authelia' %}
|
||||
OCIS_OIDC_CLIENT_ID="{{var_owncloud_authentication_data_authelia_web_client_id}}"
|
||||
OCIS_OIDC_ISSUER="{{var_owncloud_authentication_data_authelia_url_base}}"
|
||||
|
||||
PROXY_AUTOPROVISION_ACCOUNTS="true"
|
||||
PROXY_OIDC_REWRITE_WELLKNOWN="true"
|
||||
PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD="none"
|
||||
PROXY_OIDC_INSECURE="false"
|
||||
PROXY_USER_OIDC_CLAIM="name"
|
||||
PROXY_USER_CS3_CLAIM="username"
|
||||
|
||||
WEB_OIDC_AUTHORITY="{{var_owncloud_authentication_data_authelia_url_base}}"
|
||||
WEB_OIDC_METADATA_URL="{{var_owncloud_authentication_data_authelia_url_base}}/.well-known/openid-configuration"
|
||||
WEB_OIDC_CLIENT_ID="{{var_owncloud_authentication_data_authelia_web_client_id}}"
|
||||
WEB_OIDC_SCOPE="openid profile email groups"
|
||||
{% endif %}
|
||||
|
||||
## sharing
|
||||
{% if cfg_owncloud.public_share.password_necessity == 'nothing' %}
|
||||
OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD=false
|
||||
OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD=false
|
||||
{% if var_owncloud_public_share_password_necessity == 'nothing' %}
|
||||
OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD="false"
|
||||
OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD="false"
|
||||
{% endif %}
|
||||
{% if cfg_owncloud.public_share.password_necessity == 'writable' %}
|
||||
OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD=false
|
||||
OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD=true
|
||||
{% if var_owncloud_public_share_password_necessity == 'writable' %}
|
||||
OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD="false"
|
||||
OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD="true"
|
||||
{% endif %}
|
||||
{% if cfg_owncloud.public_share.password_necessity == 'all' %}
|
||||
OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD=true
|
||||
OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD=true
|
||||
{% if var_owncloud_public_share_password_necessity == 'all' %}
|
||||
OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD="true"
|
||||
OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD="true"
|
||||
{% endif %}
|
||||
{% if cfg_owncloud.public_share.password_policy_active %}
|
||||
OCIS_SHARING_PASSWORD_POLICY_DISABLED=false
|
||||
|
||||
{% if var_owncloud_public_share_password_policy_active %}
|
||||
OCIS_SHARING_PASSWORD_POLICY_DISABLED="false"
|
||||
{% else %}
|
||||
OCIS_SHARING_PASSWORD_POLICY_DISABLED=true
|
||||
OCIS_SHARING_PASSWORD_POLICY_DISABLED="true"
|
||||
{% endif %}
|
||||
|
|
|
|||
75
roles/owncloud/vardef.json
Normal file
75
roles/owncloud/vardef.json
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"user": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"directory": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"platform": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"domain": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"admin_password": {
|
||||
"type": "string",
|
||||
"mandatory": true
|
||||
},
|
||||
"authentication_kind": {
|
||||
"type": "string",
|
||||
"mandatory": false,
|
||||
"options": [
|
||||
"internal",
|
||||
"authelia"
|
||||
]
|
||||
},
|
||||
"authentication_data_authelia_url_base": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"authentication_data_authelia_web_client_id": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"authentication_data_authelia_web_client_secret": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"authentication_data_authelia_android_client_id": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"authentication_data_authelia_android_client_secret": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"authentication_data_authelia_ios_client_id": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"authentication_data_authelia_ios_client_secret": {
|
||||
"type": "string",
|
||||
"mandatory": false
|
||||
},
|
||||
"public_share_password_necessity": {
|
||||
"type": "string",
|
||||
"mandatory": false,
|
||||
"options": [
|
||||
"nothing",
|
||||
"writable",
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"public_share_password_policy_active": {
|
||||
"type": "boolean",
|
||||
"mandatory": false
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue