WordPress.org

Ready to get started?Download WordPress

Forums

SAML 2.0 Single Sign-On
Custom attributes (4 posts)

  1. matejap
    Member
    Posted 10 months ago #

    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?

    http://wordpress.org/plugins/saml-20-single-sign-on/

  2. spencerghd
    Member
    Posted 5 months ago #

    Hi Matejap,

    i'm looking to do the same ... did you get a solution to this?

  3. CGaryDesigns
    Member
    Posted 5 months ago #

    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 - http://codex.wordpress.org/Function_Reference/wp_insert_user. Not sure how this would work if you are putting this employeeNumber somewhere else related to the user.

  4. spencerghd
    Member
    Posted 4 months ago #

    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?

Reply

You must log in to post.

About this Plugin

About this Topic