• Resolved ysintos

    (@ysintos)


    Hello,
    I have assigned a CAS server to allow users to login to a website.
    The CAS server probide extra fields through SAML version 1_1.
    I would like to assign some of these extra fields to custom user fields that i can create with some custom fields plugin, likt Toolset or Advance Custom Fields.
    Is that possible ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • mmcglynn

    (@mmcglynn)

    We’ve been through this same issue. I do not believe it is possible. The SAML request comes in a SOAP envelop that is not accessible by Authorizer.

    Plugin author could correct me, but I believe that is the case.

    Plugin Author Paul Ryan

    (@figureone)

    We do this regularly with SAML attributes, but each CAS server configuration may be different, so I can’t say for sure in your environment.

    Currently, you will have to hook into authorizer_custom_role to inspect the attributes coming back from CAS, and do things like assign a custom role or update usermeta based on those attributes. You can find more detail on that hook here:
    https://ww.wp.xz.cn/support/topic/saving-cas-attributes-as-usermeta/
    https://github.com/uhm-coe/authorizer/issues/52

    In the future we hope to build a UI to do the mappings in the WordPress Dashboard, instead of in code. Progress for that is tracked here:
    https://github.com/uhm-coe/authorizer/issues/75

    Thread Starter ysintos

    (@ysintos)

    thank you very much for your time.
    I am not familiar with coding, so it will be really hard for me to do so, but i will try it.
    Thank you for your time and efforts.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Extra user fields assigned through SAML integration’ is closed to new replies.