Setting cross-origin resource sharing (CORS) settings
The CORS settings can be set through the PingFederate admin console.
Steps
-
Sign on to the PingFederate admin console.
-
Click SYSTEM → OAuth Settings → Authorization Server Settings.
-
Go to the Cross-Origin Resource Sharing Settings section.
-
Add
https://${directoryServer:httpPort}to Allowed Origin, using the host name and HTTPS listener port for the PingDirectory server.Don’t include
/delegatorin the Allowed Origin field. Doing so causes Delegated Admin to throw a token validation error when you attempt to sign on.For example, consider the following table:
For Delegated Admin on a PingDirectory server or a PingDirectoryProxy server
https://<server-host>:<server-port>For Delegated Admin on a web server hosted locally
http://localhost:5000/* -
Click Save.