Steve Fox
02/13/2023, 8:19 PMPeter Plochan
02/14/2023, 5:50 AMPeter Plochan
02/14/2023, 5:50 AMname
attribute (claim) is mandatory for the GD.CN or Cloud platforms. This claim should be obtained in the OpenID ID Token and the inclusion of this claim should be easily configurable in any provider.Steve Fox
02/14/2023, 9:15 AMPeter Plochan
02/14/2023, 10:00 AMThe following example shows a custom identity resource called profile that represents the display name, email address and website claim:
public static IEnumerable<IdentityResource> GetIdentityResources()
{
return new List<IdentityResource>
{
new IdentityResource(
name: “profile”,
userClaims: new[] { “name”, “email”, “website” },
displayName: “Your profile data”)
};
}
Steve Fox
02/14/2023, 12:47 PM