Verified Commit d0712657 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

keycloak: Switch to new account management page

parent c33da3ad
feature.account2=enabled
feature.account_api=enabled
...@@ -8,6 +8,11 @@ ...@@ -8,6 +8,11 @@
notify: notify:
- restart keycloak - 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 - 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 }}" command: /opt/keycloak/bin/add-user-keycloak.sh -r master -u "{{ vault_keycloak_admin_user }}" -p "{{ vault_keycloak_admin_password }}"
args: args:
......
...@@ -52,6 +52,8 @@ resource "keycloak_realm" "archlinux" { ...@@ -52,6 +52,8 @@ resource "keycloak_realm" "archlinux" {
login_with_email_allowed = true login_with_email_allowed = true
password_policy = "length(8) and notUsername" password_policy = "length(8) and notUsername"
account_theme = "keycloak-preview"
browser_flow = "Arch Browser" browser_flow = "Arch Browser"
registration_flow = "Arch Registration" registration_flow = "Arch Registration"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment