Hey we experienced this we had to add an empty “samlidp-attribute-definitions.json” in your build the path src/main/resources/ . 
Sent from my iPhone

On Aug 9, 2025, at 2:50 AM, 'Derek Badge' via CAS Community <[email protected]> wrote:

Hello everyone,

We are in the middle of a migration from CAS v6.6.x to v7.2.x and are completely stuck on a SAML attribute release issue. We've been troubleshooting this and would be grateful for any insight the community can offer.

Our Goal is very simple:

Take the source directory attribute cn and release it in the SAML assertion with the Name uid.  I have two SP's now where they require a specific Name and will not read FriendlyName.  

The Problem:
In 6.6.x, mapping cn to uid results in:
<saml2:Attribute FriendlyName="uid" Name="uid" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">

in 7.0.x and up it reads the attribute definition and overwrites Name,
<saml2:Attribute FriendlyName="uid" Name="urn:oid:0.9.2342.19200300.100.1.1" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">

I'm sure there's probably some easy way of doing this that I'm completely missing. 

Best Regards,

Derek

--
- 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/c4ba2a72-1240-4b3e-a4ce-19fb9e4490e8n%40apereo.org.

--
- 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/6E5DEAFD-A9C8-4D8B-9AF1-FF51E3213633%40gmail.com.

Reply via email to