authentik: add vpgen group, change default enrollment group to vpgen
This commit is contained in:
parent
2b265620d4
commit
278839fdba
@ -10,7 +10,6 @@ traefik_subnet: 172.16.122.0
|
|||||||
# Authentik
|
# Authentik
|
||||||
authentik_db_password: "{{ vault_authentik_db_password }}"
|
authentik_db_password: "{{ vault_authentik_db_password }}"
|
||||||
authentik_secret_key: "{{ vault_authentik_secret_key }}"
|
authentik_secret_key: "{{ vault_authentik_secret_key }}"
|
||||||
|
|
||||||
authentik_sendgrid_api_key: "{{ vault_authentik_sendgrid_api_key }}"
|
authentik_sendgrid_api_key: "{{ vault_authentik_sendgrid_api_key }}"
|
||||||
|
|
||||||
auth_grafana_client_secret: "{{ vault_auth_grafana_client_secret }}"
|
auth_grafana_client_secret: "{{ vault_auth_grafana_client_secret }}"
|
||||||
@ -20,6 +19,8 @@ auth_nextcloud_client_secret: "{{ vault_auth_nextcloud_client_secret }}"
|
|||||||
arrstack_password: "{{ vault_arrstack_password }}"
|
arrstack_password: "{{ vault_arrstack_password }}"
|
||||||
auth_vpgen_client_secret: "{{ vault_auth_vpgen_client_secret }}"
|
auth_vpgen_client_secret: "{{ vault_auth_vpgen_client_secret }}"
|
||||||
|
|
||||||
|
auth_default_enrollment_group: vpgen
|
||||||
|
|
||||||
# Minio
|
# Minio
|
||||||
minio_password: "{{ vault_minio_password }}"
|
minio_password: "{{ vault_minio_password }}"
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ entries:
|
|||||||
id: enrollment-user-write
|
id: enrollment-user-write
|
||||||
attrs:
|
attrs:
|
||||||
user_type: internal
|
user_type: internal
|
||||||
create_users_group: !Find [authentik_core.group, [name, users]]
|
create_users_group: !Find [authentik_core.group, [name, {{ auth_default_enrollment_group }}]]
|
||||||
- identifiers:
|
- identifiers:
|
||||||
name: alpina-enrollment-email-verify
|
name: alpina-enrollment-email-verify
|
||||||
model: authentik_stages_email.emailstage
|
model: authentik_stages_email.emailstage
|
||||||
|
@ -38,3 +38,8 @@ entries:
|
|||||||
return {
|
return {
|
||||||
"policy": policy,
|
"policy": policy,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- identifiers:
|
||||||
|
name: "vpgen"
|
||||||
|
model: authentik_core.group
|
||||||
|
id: "vpgen"
|
||||||
|
@ -76,4 +76,4 @@ entries:
|
|||||||
model: authentik_stages_user_write.userwritestage
|
model: authentik_stages_user_write.userwritestage
|
||||||
attrs:
|
attrs:
|
||||||
user_type: internal
|
user_type: internal
|
||||||
create_users_group: !Find [authentik_core.group, [name, users]]
|
create_users_group: !Find [authentik_core.group, [name, {{ auth_default_enrollment_group }}]]
|
||||||
|
@ -38,7 +38,7 @@ entries:
|
|||||||
"icon": "https://vpgen."~ domain ~"/favicon.png",
|
"icon": "https://vpgen."~ domain ~"/favicon.png",
|
||||||
"client_secret": auth_vpgen_client_secret,
|
"client_secret": auth_vpgen_client_secret,
|
||||||
"ui_group": "Apps",
|
"ui_group": "Apps",
|
||||||
"allowed_for_groups": ["admins", "users"],
|
"allowed_for_groups": ["admins", "users", "vpgen"],
|
||||||
},
|
},
|
||||||
} -%}
|
} -%}
|
||||||
{% for app in apps.keys() -%}
|
{% for app in apps.keys() -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user