Compare commits

...

8 Commits

Author SHA1 Message Date
tolerryan
a9aed98130 updating the rest of the cojnfig from 1Y to 12M 2026-10-07 05:10:48 +00:00
tolerryan
4ac07e10fd set consent to 12 months, 1Y is not supported 2026-10-07 05:04:38 +00:00
tolerryan
914b018e21 tesing sync to git 2026-10-02 13:31:27 +00:00
tolerryan
386bf8e5d7 oidc update to not request consent each login 2026-10-02 13:04:26 +00:00
tolerryan
18baf6aa7c fix dns inside docker 2026-10-02 05:37:28 +00:00
tolerryan
29ee25fbef adding slskd 2026-10-02 05:17:58 +00:00
tolerryan
067a9bf39b oidc update 2026-09-28 03:46:08 +00:00
tolerryan
679fcc75be Authelia ODIC update for wikijs 2026-09-28 02:50:10 +00:00
4 changed files with 36 additions and 6 deletions

View File

@@ -80,4 +80,4 @@ ansible-playbook site.yml --limit vps1 -u root --ask-pass
``` ```
After that first run creates `deploy_user` and installs your SSH key, After that first run creates `deploy_user` and installs your SSH key,
subsequent runs will use `deploy_user` automatically via `ansible.cfg`. subsequent runs will use `deploy_user` automatically via `ansible.cfg`.

View File

@@ -20,7 +20,6 @@ semaphore.frantecrt.duckdns.org {
git.frantecrt.duckdns.org { git.frantecrt.duckdns.org {
# Import the auth configuration block # Import the auth configuration block
import authelia_auth
# Route the traffic to your backend application if authenticated # Route the traffic to your backend application if authenticated
reverse_proxy gitea.netbird.cloud:3000 reverse_proxy gitea.netbird.cloud:3000
@@ -37,4 +36,20 @@ vault.frantecrt.duckdns.org {
reverse_proxy wikijs.netbird.cloud:8080 reverse_proxy wikijs.netbird.cloud:8080
reverse_proxy /notifications/hub* wikijs.netbird.cloud:3012 reverse_proxy /notifications/hub* wikijs.netbird.cloud:3012
reverse_proxy /notifications/anonymous_hub* wikijs.netbird.cloud:3012 reverse_proxy /notifications/anonymous_hub* wikijs.netbird.cloud:3012
}
slskd.frantecrt.duckdns.org {
# Import the auth configuration block
import authelia_auth
# Route the traffic to your backend application if authenticated
reverse_proxy navidrome.netbird.cloud:5030
}
navidrome.frantecrt.duckdns.org {
# Import the auth configuration block
import authelia_auth
# Route the traffic to your backend application if authenticated
reverse_proxy navidrome.netbird.cloud:4533
} }

View File

@@ -64,6 +64,14 @@ identity_providers:
- alt_emails - alt_emails
- preferred_username - preferred_username
- name - name
wikijs_claims_policy:
id_token:
- groups
- email
- email_verified
- alt_emails
- preferred_username
- name
clients: clients:
- client_id: semaphore - client_id: semaphore
client_name: Semaphore client_name: Semaphore
@@ -71,6 +79,8 @@ identity_providers:
claims_policy: semaphore_claims_policy claims_policy: semaphore_claims_policy
public: false public: false
authorization_policy: two_factor authorization_policy: two_factor
consent_mode: 'pre-configured'
pre_configured_consent_duration: '12M' # Reask consent for data share 1 year after first login
redirect_uris: redirect_uris:
- https://semaphore.{{ authelia_domain }}/api/auth/oidc/authelia/redirect - https://semaphore.{{ authelia_domain }}/api/auth/oidc/authelia/redirect
scopes: scopes:
@@ -81,16 +91,20 @@ identity_providers:
- client_id: wikijs - client_id: wikijs
client_name: Wiki client_name: Wiki
client_secret: {{ wikijs_client_secret }} client_secret: {{ wikijs_client_secret }}
claims_policy: wikijs_claims_policy
public: false public: false
authorization_policy: 'two_factor' authorization_policy: two_factor
consent_mode: 'pre-configured'
pre_configured_consent_duration: '12M' # Reask consent for data share 1 year after first login
require_pkce: false require_pkce: false
pkce_challenge_method: '' pkce_challenge_method: ''
redirect_uris: redirect_uris:
- 'https://wikijs.{{ authelia_domain }}/login/{{ wikijs_uuid }}/callback' # Note this must be copied during step 7 of the Application configuration. - 'https://wikijs.{{ authelia_domain }}/login/{{ wikijs_uuid }}/callback' # Note this must be copied during step 7 of the Application configuration.
scopes: scopes:
- 'openid' - openid
- 'profile' - profile
- 'email' - email
- groups
response_types: response_types:
- 'code' - 'code'
grant_types: grant_types:

View File

@@ -16,6 +16,7 @@ services:
restart: unless-stopped restart: unless-stopped
network_mode: host network_mode: host
volumes: volumes:
- /etc/resolv.conf:/etc/resolv.conf:ro
- {{ authelia_base_dir }}/Caddyfile:/etc/caddy/Caddyfile - {{ authelia_base_dir }}/Caddyfile:/etc/caddy/Caddyfile
- {{ authelia_data_dir }}/caddy_data:/data - {{ authelia_data_dir }}/caddy_data:/data
- {{ authelia_data_dir }}/caddy_config:/config - {{ authelia_data_dir }}/caddy_config:/config