User Provisioning in OIDC

0
Hello everyone, I have a question regarding the OIDC module version 4.4.0.I am explicitly using the constant OIDC.CustomUserProvisioning and point it to a copy of the UserProvisioning_Sample microflow within my own SSO module.I have now observed a strange behavior: the UserProvisioning_Sample microflow is executed twice — once via the call inside the OIDC flow CUSTOM_UserProvisioning, and once via the call configured through the constant.Is this intended behavior? I had assumed that the CUSTOM_UserProvisioning flow would not be executed when the constant is set.
asked
1 answers
1

In OIDC module 4.4.0, this behavior is expected.


When OIDC.CustomUserProvisioning is configured, it does not replace CUSTOM_UserProvisioning.

Both can run in the same login flow:

  1. CUSTOM_UserProvisioning runs as part of the main user provisioning process.
  2. After the user record is created/updated, the configured CustomUserProvisioning microflow is executed as an additional post-provisioning step.

So if the same microflow is referenced in both places, it can be executed twice.

answered