Files
computer-playbook/roles/web-app-peertube/vars/oidc-settings.yml
Kevin Veen-Birkenbach 5cdcc18a99 Fix PeerTube OIDC plugin automation
- Store oidc_settings as proper YAML dict with correct keys
- Ensure plugin is installed only if missing
- Update DB settings as jsonb and enforce enabled/uninstalled state
- Add CLI enforcement for plugin activation
- Correct task conditions (enable/disable logic) with boolean filters

Ref: https://chatgpt.com/share/68dd1d16-9b34-800f-b2bf-a3fe058f25b1
2025-10-01 14:23:07 +02:00

10 lines
395 B
YAML

oidc_settings:
discover-url: "{{ OIDC.CLIENT.DISCOVERY_DOCUMENT }}"
client-id: "{{ OIDC.CLIENT.ID }}"
client-secret: "{{ OIDC.CLIENT.SECRET }}"
scope: "openid email profile"
username-property: "{{ OIDC.ATTRIBUTES.USERNAME }}"
display-name-property: "{{ OIDC.ATTRIBUTES.USERNAME }}"
mail-property: "email"
auth-display-name: "{{ OIDC.BUTTON_TEXT }}"
signature-algorithm: "RS256"