• Hello,

    I set up the CAS server connection in the wordpress setup.
    The user gets verified, but the plugin returns only the username and the assigned role to the user.
    For some reason i can’t get the First Name, the Last Name and some extra metadata i need from the CAS server.
    Any help about it ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ysintos,

    Your CAS server probably has at least two endpoints, a CAS-2-compatible one that doesn’t have attributes (other than username) and a CAS-3-compatible one.

    If your CAS server is configured correctly (ours is not, unfortunately, but that is another story), you should be able to point to the CAS 3 version protocol endpoint and get attributes.

    https://apereo.github.io/cas/5.0.x/protocol/CAS-Protocol.html
    “Among all features, the most noticeable update between versions 2.0 and 3.0 is the ability to return the authentication/user attributes through the new /p3/serviceValidate response, in addition to the /serviceValidate endpoint from CAS 2.0 protocol.”

    Most CAS servers also have a third CAS endpoint, a SAML 1.1 one (with attributes returned in an XML SOAP response) at /samlValidate; however, WP Cassify doesn’t support the SAML one.

    Michael

    Thread Starter ysintos

    (@ysintos)

    Unfortunatelly, it only has SAML 1_1.
    Thank you for your responce.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only username passed from cas server’ is closed to new replies.