OpenID Login – Username Format Issue

Hello,

I have a quick technical question regarding the usernames assigned to members logging in via OpenID.

Currently, when a user logs in, their username is automatically set to the first part of their email address (e.g., morit_z@domain.com results in the username morit_z). However, we would prefer the username to reflect the user’s full name (e.g., Max Mustermann), as stored in their profile.

Do you have any idea what might be causing this behavior? Is there a configuration setting we’re missing, or could this be an issue with how the user data is being transmitted via OpenID?

Thanks in advance for your help!

This is how the username looks like

image

These are the infos that are comming from easyVerein (this is not the same mail I used for the first picture)

Many thanks

I think it is because easyVerein’s username looks like this:

{

“username”: “FREILab_<MY_MAIL>.de”,

}

If it would be a normal name it should be right e.g. Max Mustermann?! But anyway mattermost is not correctly parsing this username, why is this? I am getting the feeling this is a mattermost bug, or am I wrong?