fix(authentik): grant the embedded outpost access to its providers
ansible-core-net / deploy (push) Successful in 41s
ansible-core-net / deploy (push) Successful in 41s
The outpost service account could not see the Traefik provider, so the forward-auth path stayed on Django and returned Not Found. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
9e0dfa74c1
commit
a243ae281c
1 file changed
+24
@@ -62,4 +62,28 @@
|
||||
delay: 10
|
||||
until: authentik_blueprint_apply.rc == 0
|
||||
|
||||
- name: Обновить права сервисного аккаунта встроенного outpost
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- docker
|
||||
- compose
|
||||
- -f
|
||||
- "{{ authentik_dir }}/compose.yaml"
|
||||
- exec
|
||||
- -T
|
||||
- authentik-worker
|
||||
- ak
|
||||
- shell
|
||||
- -c
|
||||
- >-
|
||||
from authentik.outposts.models import Outpost;
|
||||
from authentik.outposts.tasks import _outpost_single_update;
|
||||
outpost = Outpost.objects.get(name="authentik Embedded Outpost");
|
||||
_outpost_single_update(outpost)
|
||||
register: authentik_outpost_perms
|
||||
changed_when: true
|
||||
retries: 6
|
||||
delay: 5
|
||||
until: authentik_outpost_perms.rc == 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user