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 the Allowed origins, using the host name and HTTPS listener port for the PingDirectory server.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.