consent and displayName for OIDC claims

Tom Zeller tzeller at dragonacea.biz
Mon Apr 26 13:32:01 UTC 2021


> I can't seem to get the consent page to show displayName for OICD claims
> on the consent page. The attribute ID is shown instead.
>
> Debug logging confirms that PopulateAttributeReleaseContext does not
> populate displayNames or displayDescriptions. Doesn't matter if the
> whole attribute including displayNames, descpriptions and the encoder is
> defined in the resolver or the attribute registry is used for
> displayNames, descriptions and the transcoder.

I wonder if this is a locale issue.

PopulateAttributeReleaseContext populates IdPAttribute - the
displayNames or displayDescriptions are not separate from the class.

The name of the attribute in the view is controlled by
AttributeDisplayNameFunction, and I see code there handling locale.

Tom


More information about the users mailing list