1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-23 03:27:16 +02:00

keycloak: Switch to new account management page

This commit is contained in:
Sven-Hendrik Haase 2020-07-30 04:06:24 +02:00
parent c33da3ad78
commit d0712657b9
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,2 @@
feature.account2=enabled
feature.account_api=enabled

View File

@ -8,6 +8,11 @@
notify:
- restart keycloak
- name: copy profile.properties
copy: src=profile.properties dest=/etc/keycloak/profile.properties owner=keycloak group=keycloak mode=600
notify:
- restart keycloak
- name: create an admin user
command: /opt/keycloak/bin/add-user-keycloak.sh -r master -u "{{ vault_keycloak_admin_user }}" -p "{{ vault_keycloak_admin_password }}"
args:

View File

@ -52,6 +52,8 @@ resource "keycloak_realm" "archlinux" {
login_with_email_allowed = true
password_policy = "length(8) and notUsername"
account_theme = "keycloak-preview"
browser_flow = "Arch Browser"
registration_flow = "Arch Registration"