where name’s value equals {given_name} {family_name}. But in our country, user’s name should be {family_name} {given_name}. Is there a way to change user’s name format to {family_name} {given_name}?
result = user.lastName + " " + user.firstName;
result;
should be enough and return the desired value. Configure the mapper to write the returned value to the “name” claim of the userinfo in the mappers configuration.