Hi team.

When I worked with with SAML between CAS as IDp and Keycloak as SP , i 
cannot add addition attribute like firstName, lastName

my cas seetings

cas.authn.attributeRepository.jdbc[0].singleRow=true
cas.authn.attributeRepository.jdbc[0].requireAllAttributes=true

cas.authn.attributeRepository.jdbc[0].sql=SELECT * FROM ml_emp WHERE {0}
cas.authn.attributeRepository.jdbc[0].username=USERNAME
cas.authn.attributeRepository.jdbc[0].driverClass=oracle.jdbc.OracleDriver
cas.authn.attributeRepository.jdbc[0].user=${DB_USERNAME}
cas.authn.attributeRepository.jdbc[0].password=${DB_PASSWORD}
cas.authn.attributeRepository.jdbc[0].url=${DB_URL}

cas.authn.attributeRepository.jdbc[0].attributes.FIRST_NAME=firstName
cas.authn.attributeRepository.jdbc[0].attributes.LAST_NAME=lastName

my json file

{
  "@class": "org.apereo.cas.support.saml.services.SamlRegisteredService",
  "serviceId": "service-id-here",
  "name": "name-here",
  "id": 10000010,
  "evaluationOrder": 1,
  "metadataLocation": "file:/etc/cas/saml/saml.xml",
  "attributeReleasePolicy": {
    "@class": "org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy",
    "allowedAttributes": [
      "firstName",
      "lastName"
    ]
  }
}


But when i redirect to Keycloak  I dont see any additional attributes in 
SAMLReponse, could you please assist


-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/4af199e7-82f0-454f-880a-7346f6e5d2b5%40apereo.org.

Reply via email to