Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asian name transferred inverted from Keycloak to GLv3 #5814

Open
hiroshisuga opened this issue May 18, 2024 · 3 comments
Open

Asian name transferred inverted from Keycloak to GLv3 #5814

hiroshisuga opened this issue May 18, 2024 · 3 comments

Comments

@hiroshisuga
Copy link
Contributor

hiroshisuga commented May 18, 2024

For external authentication we use Keycloak, which requires "first name" and "last name" when the account is created. They are compulsory fields; I cannot login GLv3 if leaving these fields blank.

It seems these first and last name will be transferred to GLv3 to show the user's name. In my case "Hiroshi" is the first name and "Suga" is the last name, and I see "Hiroshi Suga" nicely at the right top corner of GLv3. So far so good.

Now a problem happens when I enter Japanese name. My first name is "裕" and my last name is "菅", which is shown like "裕 菅" on GLv3. However, in Japanese we express our name in the "last name" "first name" order. So it has to be shown as "菅  裕".

I know western countries accept both order in some occasions, but Asian countries do not. The first name - last name order looks very strange when written in local letters.

Would it be possible to transfer the "Username" field of Keycloak to GLv3? If yes, I would propose to make the "first name" and "last name" fields optional because they seem not to be used any other place (am I correct?).

@hiroshisuga
Copy link
Contributor Author

This is the case for Microsoft365 authentication. I have not tested other external authentications.

@hiroshisuga
Copy link
Contributor Author

I asked ChatGPT:

What is the countries/regions where they arrange last name first?

ChatGPT
In several countries and regions, it is common practice to arrange names with the last name (surname) first, followed by the first name (given name). Here are some notable examples:

East Asia
China: Names are traditionally written with the family name first, followed by the given name. For example, "Mao Zedong" (Mao is the family name, Zedong is the given name).
Japan: Japanese names are typically written with the family name first. For example, "Tanaka Hiroshi" (Tanaka is the family name, Hiroshi is the given name). However, in international contexts, Japanese people may reverse the order to align with Western conventions.
Korea: Both South Korea and North Korea follow the practice of placing the family name first. For example, "Kim Jong-un" (Kim is the family name, Jong-un is the given name).
Southeast Asia
Vietnam: Vietnamese names are usually written with the family name first, followed by the given name. For example, "Nguyen Thi Minh Khai" (Nguyen is the family name, Thi Minh Khai is the given name).
Hungary
Hungary: In Hungarian, names are traditionally written with the family name first, followed by the given name. For example, "Nagy István" (Nagy is the family name, István is the given name).
Other Examples
Mongolia: Names are written with the family name first. For example, "Bat-Erdene Badmaanyambuu" (Bat-Erdene is the family name, Badmaanyambuu is the given name).
Basque Country (Spain): Basque names sometimes follow the surname-first format, though this is less common today.
Summary
The practice of arranging the last name first is predominantly found in East Asian countries such as China, Japan, and Korea, as well as in Vietnam and Hungary. It reflects cultural norms and traditions regarding family and personal identity. When interacting with individuals from these cultures, it's respectful to be aware of and follow these naming conventions.

@hiroshisuga hiroshisuga changed the title Japanese name transferred inverted from Keycloak to GLv3 Asian name transferred inverted from Keycloak to GLv3 May 18, 2024
@hiroshisuga
Copy link
Contributor Author

A workaround is to let users to change the name freely. See #5817 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant