After a SAML Module upgrade Im not able to make a new working SAML Configuration (and trigger Custom User Provisioning microflow correctly).

0
Hello Fellow Mendix Developers,   I have upgraded my Client's APP to LTS version 10.24.4 and updated all marketplace modules to the latest/compatible versions, solved all errors.   The existing SAML Configuration and SSO functionality are working as expected, however, I'm not able to create a new working SAML Configuration.   I tried to make a new identical Configuration to the existing one and when I log in with SSO the Assertion Attribute List comes empty in the "Custom User Provisioning microflow". Same flow, same metadata XML file, same everything.   The strange part is that with the new Configuration SSO functionality is still working (If I don't go through Custom User Provisioning). It lets me log in with my adequate user role, but it's going through the "Custom User Provisioning microflow" with some errors. I have the constants in place, the problem is that empty Assertion Attributes List.   My concerns: 1. I can go to production with this "issue" because in the existing Configuration I can update the Metadata XML file (when it expires), so there's no need for a new Configuration.   2. If something happens and I need to make a new Configuration in production I will not be able to do so and APP will have downtime because of failed SSO login functionality.   3. I'm not able to make a new working Configuration which means I did not update the Module correctly thus NO GO to production.   Many thanks, looking forward to any thoughts and ideas.   Have a great day, Horea   p.s. 10.24.4 version for sure.
asked
1 answers
1

Hi Horea Tibu,

Starting from version 4.0.0 of the SAML module, the CustomUserProvisioning microflow has been deprecated. It is no longer available in new SAML configurations, though existing configurations using it will continue to work as expected.

For new configurations, please move the existing logic from your old CustomUserProvisioning microflow into a new one that:

  • Has a name starting with UC_CustomProvisioning.

  • Includes the following parameters:

    • UserInfoParameter (UserCommons.UserInfoParam)

    • User (System.User)

Ensure that this new microflow is selected in the Custom User Provisioning field under the User Provisioning tab.

answered