Skip to content
Snippets Groups Projects
Verified Commit 28857305 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

tf-stage2: Make specifying a last name optional

We have a few staff and users who prefer using a alias/mononym, so let's
make it optional.

Since our custom Keycloak theme does not use v3[1][2] of the account
console yet, it is not aware that the last name is optional, so
unfortunately the user cannot change "personal info" in the account
console without also specifying the last name. This only affects the
account console, the initial user configuration can be done without
specifying a last name.

[1] https://gitlab.archlinux.org/archlinux/keycloak-archlinux-theme/-/blob/238889fb36d512f0baa328fad00531ef53c14c1f/lib/src/main/resources/theme/archlinux/account/theme.properties#L1
[2] https://www.keycloak.org/2023/04/keycloak-2110-released#_experimental_account_console_version_3
parent c673b22a
No related branches found
No related tags found
1 merge request!730keycoak: Make last name optional and enable v3 of the account console
......@@ -213,8 +213,6 @@ resource "keycloak_realm_user_profile" "archlinux" {
name = "lastName"
display_name = "$${lastName}"
required_for_roles = ["user"]
permissions {
view = ["admin", "user"]
edit = ["admin", "user"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment