Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

PRSecurityException: Unknown Application error on Mashup login



An application is accessed through a mashup. The page hosting the mashup is generated in an Angular 5 application. The Angular application performs lazy loading. PRSecurityException occurs when accessing the URL.

Error Messages

Error message in the log:

Unknown Application <AppName> (or) verify the environment variable "/Authentication/RedirectGuests" is set to false if you are using gateway.

Steps to Reproduce

  1. Access the required application through a mashup
  2. Generate the page hosting the masuhp, in an Angular 5 application. The Angular application performs lazy loading.
  3. In Angular, load the DIV, for use by the Pega application, and the mashup scripts.
  4. Initiate the addGadget and doAction load are called as below after loading the above.

    // console.log((<any>window).pega.web.api);
    (<any>window).pega.web.api.addGadget("pegaMashUp", window);
    (<any>window).pega.web.api.doAction(this.dataPegaGadgetName, "load");

  5. In the mashup arguments, set the defer load to true. At this point, the browser requests the passivation activity.


Root Cause

The mashup requestor has a dependency on the Browser type requestor rule. The default access group selected in this requestor rule attempted to validate the application name passed from the mashup code.
Exception occurred when the application referred by the default access group did not match with the application name referred in the data-pega-applicationname mashup parameter.


Perform the following local-change:
  1. Update the Browser requestor type
  2. Select an access group that points to the required application.

Published October 11, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us