By: Pradeep Vara user 04 Oct 2018 at 10:41 p.m. CDT

4 Responses
Pradeep Vara gravatar
Our application acts as as an SP and we are using GLUU as its IDP We need certain user details to be retrieved from the user database of gluu during the assertion Example as below: 'givenName' => 'First_Name', 'sn' => 'Last_Name', 'userPrincipalName' => 'Email_Address', 'memberOf' => 'memberOf', Here First_Name, Last_Name, Email_Address and memberOf are attributes of the SP to which the corresponding attributes from the IDP (GLUU) are mapped. In the document i have read that from 3.1.4 openLDAP is also depreciated, so how to map the attribute values from IDP to SP

By Michael Schwartz Account Admin 05 Oct 2018 at 1:13 p.m. CDT

Michael Schwartz gravatar
I'm not sure how to answer your question. Gluu 3.1.4 ships with OpenDJ by default. We have deprecated OpenLDAP, but the Gluu Server still uses LDAP to store user claims. You can release these attributes as normal using the "SAML/Trust Relationship" mechanism. If your question is about how to handle a mis-match of attribute names between the SP and IDP, you may have to do some experimenting. Normally SAML attributes are referenced by the SP using the SAML 2.0 URI for the attribute (not the name of the attribute). For example, see this screenshot ![attribute-screenshot](https://www.gluu.org/blog/wp-content/uploads/2018/10/attribute_saml2_uri.png)

By Mohib Zico Account Admin 05 Oct 2018 at 2:02 p.m. CDT

Mohib Zico gravatar
Pradeep, You can take a look at [this](https://gluu.org/docs/ce/3.1.4/integration/saas/webex/) doc; there we are creating some custom attribute for 'Cisco WebEx' SSO with Gluu Server.

By Pradeep Vara user 07 Oct 2018 at 7:18 a.m. CDT

Pradeep Vara gravatar
Hi Mohib, Thank you for you swift response , when i try to create a new attribute from GLUU UI, i am getting the below error "Attribute not defined in LDAP schema" How to define attributes in LDAP schema in 3.1.4

By William Lowe user 08 Oct 2018 at 11:57 a.m. CDT

William Lowe gravatar
Hi Pradeep, The doc for adding attributes to Schema is [here](https://gluu.org/docs/ce/3.1.4/admin-guide/attribute/#custom-attributes). Thanks, Will