Eugene shared this with me and it fixed it for me: "Hey we experienced
this we had to add an empty “samlidp-attribute-definitions.json” in your
build the path src/main/resources/ . "
On Friday, September 19, 2025 at 6:13:50 PM UTC-4 Richard Frovarp wrote:
> Something changed in 7+. It is now mapping known attributes to the URN
> for the Name of the attribute. I have at least one service that despite
> saying it needs the friendly name, isn't using that property to find the
> attribute.
>
> So I need:
>
> <saml2:Attribute FriendlyName="mail"
> Name="urn:oid:0.9.2342.19200300.100.1.3">
>
> to be
>
> <saml2:Attribute FriendlyName="mail" Name="mail">
>
> for this one service (and maybe others). Mapping the attribute doesn't
> work. I've tried
>
> "attributeNameFormats": {
> "@class": "java.util.HashMap",
> "urn:oid:0.9.2342.19200300.100.1.3": "basic"
> },
>
>
> but that hasn't worked either. I could probably change the SP to look
> for the URNs, but I would really like to take care of this via IdP
> service config for the legacy ones that are going to give me trouble.
>
> Thanks,
>
> Richard
>
>
--
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/7d0cf2a6-fd0d-4ff4-a51a-656c802fc21fn%40apereo.org.