• Hello,

    I’m using this plugin in comporate enviroment with ADFS 2.0 and i would like to pass more attributes to wordpress. currently there are only login, email, first and last name and role. Is there any possibility to add for example employeeNumber. On ASFS side I can passtrough Employee-ID but on SAML side is no custom attribute for this. Or am I wrong?

    https://www.ads-software.com/plugins/saml-20-single-sign-on/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Matejap,

    i’m looking to do the same … did you get a solution to this?

    Where are you planning on putting this employeeNumber value? in the saml_client.php you will see in the new_user function, how the SAML attributes are referenced in order to populate the object that is passed into the wp_insert_user method to create the user. You may want to look at making your modifications there. However, according to the documentation I find on the wp_insert_user method, it can only insert values into certain fields on the user record. See – https://codex.www.ads-software.com/Function_Reference/wp_insert_user. Not sure how this would work if you are putting this employeeNumber somewhere else related to the user.

    Dear All,

    i’ve been trying to extend my SAML installation … i want to copy the following from my active directory.

    – address
    – department
    – office location

    how do i extend the SAML definition to do this, and insert the information into the extended user profile?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom attributes’ is closed to new replies.