How can I display an "operator does not exist" message when using authentication via SSO / SAML 2.0?

I have single sign-on configured via SAML 2.0 and I am turning off operator provisioning, but I want to show a friendly message to the user to explain that an operator id does not exist on Pega for them rather than getting "Unable to process the SAML WebSSO request : Unable to derive operator from SAML assertion". How can I achieve this?


Keep up to date on this post and subscribe to comments

May 23, 2019 - 2:31am


If you are using Pega 7.4 and above, you can configure the login in pre-auth activity in advance tab.

Write a login to do obj-open of operator id and if the operator does not exist you can use following logic to stop the flow.

October 21, 2019 - 8:44am
Response to reachanuj


Could you please tell me from where I can retrieve the id of the user who tries to login into Pega using SSO in the preauthentication activity?

Many thanks in advance.