Compare commits
2 commits
b00a051b9d
...
7f639e8191
| Author | SHA1 | Date | |
|---|---|---|---|
| 7f639e8191 | |||
| 5ed12c64d0 |
3 changed files with 14 additions and 3 deletions
|
|
@ -99,6 +99,12 @@ authentik_login_source_ids: []
|
||||||
# - "source-entra-entra-id"
|
# - "source-entra-entra-id"
|
||||||
authentik_identification_stage_name: default-authentication-identification
|
authentik_identification_stage_name: default-authentication-identification
|
||||||
|
|
||||||
|
# Local login fields to show on login screen (username, email, upn)
|
||||||
|
# Set to empty list to hide local login form entirely
|
||||||
|
authentik_login_user_fields:
|
||||||
|
- username
|
||||||
|
- email
|
||||||
|
|
||||||
# Local users to provision
|
# Local users to provision
|
||||||
authentik_local_users: []
|
authentik_local_users: []
|
||||||
# - username: admin
|
# - username: admin
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,19 @@ metadata:
|
||||||
name: "login-sources"
|
name: "login-sources"
|
||||||
labels:
|
labels:
|
||||||
blueprints.goauthentik.io/instantiate: "true"
|
blueprints.goauthentik.io/instantiate: "true"
|
||||||
blueprints.goauthentik.io/description: "Set sources on the identification stage"
|
blueprints.goauthentik.io/description: "Set sources and user fields on the identification stage"
|
||||||
|
|
||||||
entries:
|
entries:
|
||||||
- model: authentik_stages_identification.identificationstage
|
- model: authentik_stages_identification.identificationstage
|
||||||
identifiers:
|
identifiers:
|
||||||
name: "{{ authentik_identification_stage_name }}"
|
name: "{{ authentik_identification_stage_name }}"
|
||||||
attrs:
|
attrs:
|
||||||
# NOTE: this SETS the sources list (it doesn’t append).
|
# Local login fields (username, email, upn)
|
||||||
|
user_fields:
|
||||||
|
{% for field in authentik_login_user_fields %}
|
||||||
|
- {{ field }}
|
||||||
|
{% endfor %}
|
||||||
|
# OAuth/social login sources
|
||||||
sources:
|
sources:
|
||||||
{% for src_id in authentik_login_source_ids %}
|
{% for src_id in authentik_login_source_ids %}
|
||||||
- !KeyOf {{ src_id }}
|
- !KeyOf {{ src_id }}
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
|
lock_timeout: 180
|
||||||
when: ansible_facts["os_family"] == "Debian"
|
when: ansible_facts["os_family"] == "Debian"
|
||||||
|
|
||||||
- name: Install required packages for Docker
|
- name: Install required packages for Docker
|
||||||
|
|
@ -20,7 +21,6 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_facts["os_family"] == "Debian"
|
when: ansible_facts["os_family"] == "Debian"
|
||||||
|
|
||||||
|
|
||||||
- name: Install convenience packages
|
- name: Install convenience packages
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name:
|
name:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue