Getting various popup toast messages in the Modern UX on the SSO app instance
search cancel

Getting various popup toast messages in the Modern UX on the SSO app instance

book

Article ID: 255266

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Most of the Modern UX works, but some pages return a popup toast message.  The text of the popup may be different for each error.

Environment

Release : 16.0.2

 

Cause

In an environment with Single Sign On (classic, not SAML) a Reverse Proxy is used.  This URL or hostname may be different than the clarity hostname.

As a result, Clarity may block the request due to  CORS policies

Resolution

Open the web browser Developer Tools and go to "Network"

Reproduce the problem and look for any 403 errors in the Network tab.

Review the Response from the server for 403 errors.

If you see a "CORS Origin Not Allowed" message, please proceed with the following

Identify the hostname / URL of your Reverse Proxy.  In this example: "clarity.example.com"

Run these commands as the clarity administrator or as root from the clarity\bin\ folder

admin system-options -add CORS_ALLOW_ORIGIN 'https://clarity.example.com' -multi
admin system-options -add CONTENT_SECURITY_DOMAINS clarity.example.com -multi

Restart the clarity app services and re-test