Setting cross-origin resource sharing (CORS) settings
The CORS settings can be set through the PingFederate administrative console.
Steps
-
Sign on to the PingFederate administrative 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
/delegator
in 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.