CAS 7.0.3: SAML problem with returning attribute

98 views
Skip to first unread message

Łukasz Woźniak

unread,
Apr 11, 2024, 5:38:26 AM4/11/24
to CAS Community
Hello,

We upgrade CAS from version 6.5.9 to 7.0.3 and CAS in SAML stop returning givenName in attributes. Example configuration below. Any idea why is it stop working ?

"attributeReleasePolicy": {
    "@class": "org.apereo.cas.services.ReturnMappedAttributeReleasePolicy",
    "excludeDefaultAttributes": true,
    "allowedAttributes": {
      "@class": "java.util.TreeMap",
      "email": "mail",
      "upn": "upn",
      "userPrincipalName": "upn",
      "given_name": "givenName",
      "givenName": "givenName",
      "family_name": "sn"
    }
  }

Thanks for any idea and help.

Issaka Rabo Moutari

unread,
Jul 4, 2024, 1:48:39 PM7/4/24
to CAS Community, Łukasz Woźniak
Good morning,

Lukaz, my door went from version 6.6.x to 7.0.x and there are a lot of overrides java classes.
Can you help me because I really have no idea. and sorry for your problem, I hope you have already found a solution
Reply all
Reply to author
Forward
0 new messages