Post Authentication activity - DisplayHarnessWithClass issue
I need to display screen containing security compliance text with accept and reject button based on localization when the user successfull log-in to pega for the first time. When he click on accept, it redirect into actual portal. Due to custom requirement, I am not able to use user consent option available in securities policies tab in authentication service. I am using post authentication activity option available in advance configurations in authentication service. I have designed harness for above requirement and in activity I am using "DisplayHarnessWithClass" OOTB to call harness. When I am logging into application, harness screen is calling but showing blank screen. When I checked logs, it is showing "post activity authentication terminated due to security policies".
Could you please help me to understand why section is not displayed when calling harness in activity with OOTB "DisplayHarnessWithClass".