I’m implementing LDAP authentication in Pega where:
- A React application passes a case ID as a query parameter in the login URL: https://abc.xyz.com/prweb/PRWebLdap2//STANDARD?CaseId=I-12345
- After the user logs in with their operator ID, Pega should automatically resume/open that Interaction case
Current Setup:
- I have an LDAPAuthentication activity that validates credentials
- I have a separate resumeIcase activity (in my custom ruleset) that opens the I case
- I’m trying to call resumeIcase from within LDAPAuthentication to open the case after successful login
Problem:
The LDAPAuthentication activity runs under the unauthenticated access group (which has limited rulesets for security). Since my resumeIcase activity is in a custom ruleset, the unauthenticated group can’t access it, causing the case resume to fail.
Questions:
- How do I read the CaseId query parameter from the login URL inside the LDAPAuthentication activity?
- What’s the best practice for calling application-level activities (that require custom rulesets) during the login/authentication phase?
- Should I include my custom rulesets in the unauthenticated access group to allow this, or is there a better approach?