PingDirectory

Setting cross-origin resource sharing (CORS) settings

The CORS settings can be set through the PingFederate administrative console.

Steps

  1. Sign on to the PingFederate administrative console.

  2. Click SYSTEM → OAuth Settings → Authorization Server Settings.

  3. Go to the Cross-Origin Resource Sharing Settings section.

  4. 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/*

  5. Click Save.