Hello,
I added a comment to Unsupported type for the scope openid as well.
In addition to my comment, the return of the /userinfo endpoint will look like,
{
"sub":"Cxzv0mnBaOQIoh8qkC76pMxsqsjqiDXpZhP4_BbaOPk",
"name":"Darth",
"family_name":"Vader",
"nickname":"Master-of-the-dark-force",
"preferred_username":"admin",
"email":"darth.vader@deathstar.space",
"phone_number":"+1-555-123-1234",
"address":{
"region": "Space",
"country": "NONE"}
}
As mentioned, the user attributes are dummy values by default,
but the 'sub', 'preferred_username' and 'user_role' are real,
see the comments of /userinfo endpoint
You can use the 'preferred_username' field.