mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Solved OIDC sociallogin bug
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
- name: Flush all handlers immediately so that occ can be used
|
||||
meta: flush_handlers
|
||||
|
||||
- name: enable oidc_login plugin
|
||||
- name: disable oidc_login plugin
|
||||
command: "docker exec -u www-data {{nextcloud_application_container_name}} {{nextcloud_docker_path}}occ app:disable oidc_login"
|
||||
ignore_errors: true
|
||||
when:
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
- name: Configure Sociallogin
|
||||
loop: "{{ nextcloud_sociallogin_configuration}}"
|
||||
# The | to_json function is necessary to escape custom_providers correct.
|
||||
command: >
|
||||
docker exec -u www-data {{ nextcloud_application_container_name }}
|
||||
php occ config:app:set {{ item.appid }} {{ item.configkey }} --value "{{ item.configvalue }}"
|
||||
php occ config:app:set {{ item.appid }} {{ item.configkey }} --value '{{ item.configvalue | to_json if item.configvalue is mapping else item.configvalue }}'
|
Reference in New Issue
Block a user