digitalboard.core/roles/authentik/templates/blueprints/blueprint-login-sources.yaml.j2

23 lines
732 B
Django/Jinja

# 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 and user fields on the identification stage"
entries:
- model: authentik_stages_identification.identificationstage
identifiers:
name: "{{ authentik_identification_stage_name }}"
attrs:
# Local login fields (username, email, upn)
user_fields:
{% for field in authentik_login_user_fields %}
- {{ field }}
{% endfor %}
# OAuth/social login sources
sources:
{% for src_id in authentik_login_source_ids %}
- !KeyOf {{ src_id }}
{% endfor %}