feat: add ability to provision entra login sources using blueprints

This commit is contained in:
Bert-Jan Fikse 2026-01-14 15:35:18 +01:00
parent 0106e8801f
commit 359622d17a
Signed by: bert-jan
GPG key ID: C1E0AB516AC16D1A
4 changed files with 100 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# yaml-language-server: $schema=https://goauthentik.io/blueprints/schema.json
version: 1
metadata:
name: "login-sources"
labels:
blueprints.goauthentik.io/instantiate: "true"
blueprints.goauthentik.io/description: "Set sources on the identification stage"
entries:
- model: authentik_stages_identification.identificationstage
identifiers:
name: "{{ authentik_identification_stage_name }}"
attrs:
# NOTE: this SETS the sources list (it doesnt append).
sources:
{% for src_id in authentik_login_source_ids %}
- !KeyOf {{ src_id }}
{% endfor %}