diff --git a/tasks/main.yml b/tasks/main.yml index c4adc03..99cad97 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -34,6 +34,10 @@ ingress: host: element.eom.dev + elementAdmin: + ingress: + host: element-admin.eom.dev + matrixAuthenticationService: ## Additional configuration to provide to Matrix Authentication Service. @@ -66,6 +70,26 @@ password: "{{ matrix_auth_service_admin_password }}" upstream_oauth2: providers: + - id: 01K96AQEZKKABW34PY3R6BVNJ4 + human_name: Dex + brand_name: dex + issuer: https://dex.eom.dev/ + client_id: "{{ matrix_dex_oidc_client_id }}" + client_secret: "{{ matrix_dex_oidc_client_secret }}" + token_endpoint_auth_method: client_secret_basic + scope: openid profile email + claims_imports: + localpart: + action: suggest + template: "{{ '{{ user.uid }}' }}" + displayname: + action: require + template: "{{ '{{ user.name }}' }}" + email: + action: require + template: "{{ '{{ user.email }}' }}" + account_name: + template: "{{ '{{ user.email }}' }}" - id: 01JG22H4F0G8PYCZ5HVTQVHBC4 human_name: Google brand_name: google