Question
BPM Company
NL
Last activity: 19 Sep 2018 5:02 EDT
Issue while setting up SAML authentication: ArrayIndexOutOfBoundsException in java method populatePOSTBodyParams / processSSOResponse
Issue
We are setting up SAML authentication in Pega 7.4.0 with an external Identity Provider on Dev environment. Pega succesfully routes the user to the identity provider and the user also gets succesfully redirected back to the Service Provider (our Pega application).
Then the OOTB REST service AssertionConsumerService (for POST method) gives a 500 status code (Internal Server error). While analyzing, we found out that the OOTB service activity pzAssertionConsumerServiceV2Activity gives an ArrayIndexOutOfBoundsException in step 1. This activity only contains java:
SAMLUtils samlutils = pega.getSAMLUtils();
samlutils.processSSOResponse(tools, myStepPage);
The stack trace indicates the ArrayIndexOutOfBoundsException happens in java method populatePOSTBodyParams. We are a bit stuck now.
Issue
We are setting up SAML authentication in Pega 7.4.0 with an external Identity Provider on Dev environment. Pega succesfully routes the user to the identity provider and the user also gets succesfully redirected back to the Service Provider (our Pega application).
Then the OOTB REST service AssertionConsumerService (for POST method) gives a 500 status code (Internal Server error). While analyzing, we found out that the OOTB service activity pzAssertionConsumerServiceV2Activity gives an ArrayIndexOutOfBoundsException in step 1. This activity only contains java:
SAMLUtils samlutils = pega.getSAMLUtils();
samlutils.processSSOResponse(tools, myStepPage);
The stack trace indicates the ArrayIndexOutOfBoundsException happens in java method populatePOSTBodyParams. We are a bit stuck now.