Skip Navigation

[Resolved] Adding custom fields to users coming from a SAML 1_1 server

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Yannis Sintos 5 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1249019

Tell us what you are trying to do?
Hello, I have an SSO server that i ask users to login to my website.
The server supports SAML version 1_1.
I set up the authentication procedure with Authorizer Plugin (https://wordpress.org/plugins/authorizer/) and it works great.
I get the First Name, Last Name and email of the saml server user and set them to the wordpress user corresponding user fields.

Now what i want to do is use Toolset to create a form that i will have some more infromation coming from the SAML server, like the user ID, the age, the department etc and then ask the user to give me some extra information that i need like lessons he want to take. These extra information will not be saved to the SAML server, justoto the database and be exported after that to an excel sheet.

I have seen the article how to add extra user fields (https://toolset.com/documentation/user-guides/user-fields/) but what i don't know is hot to set some of these fields to get the information from the SAML server and some of them to be filled by the user in a form.
Is that possible?

#1249063

Hello,

There isn't such kind of built-in feature within Toolset plugins:
set some of these fields to get the information from the SAML server and some of them to be filled by the user in a form

Toolset plugins supports standard WordPress user fields, for example:
https://codex.wordpress.org/Function_Reference/get_user_meta

But does not support SAML server data.

I suggest you check it with author of Authorizer Plugin, check if it supports synchronize the WordPress user field with SAML server data.

#1249135

Authorizer Plugin supports sync with WordPress user field but only the standard ones, not any extra fields that might be set with the use of plugins like Toolset.

#1250569

That is a problem of the Authorizer Plugin, it is out the range of Toolset support, have you checked it with the author of the Authorizer Plugin?

And you can also check with our Toolset contractors for it:
https://toolset.com/contractors/

#1250615

Thank you very much for your help.
I will try to find a solution with a developer.