PingIDM

Install the legacy admin UI

The legacy IDM admin UI is deprecated and will be removed in a future release.

Starting with IDM 8.1, the legacy admin UI and API Explorer are no longer bundled with the IDM .zip distribution. They are available as a standalone artifact that you deploy behind an Nginx reverse proxy.

Before you begin

  • IDM is installed and running on localhost:8080 (adjust for the host and port of your deployment).

  • You have administrator privileges to install packages on the host.

Download and extract the artifact

  1. Download the applicable version of the PingIDM Legacy Admin UI .zip archive from the Backstage download site.

  2. Extract the .zip archive:

    unzip ~/Downloads/PingIDM-Legacy-AdminUI-8.1.0.zip -d /Downloads/tmp/

    The archive contains the following structure:

    PingIDM-Legacy-Admin-UI/
    ├── nginx.conf
    └── www/
        ├── admin/    (1)
        ├── api/      (2)
        └── errors/   (3)
    1 The legacy admin UI
    2 The API Explorer
    3 Error pages

Install and configure Nginx

Consult the Nginx documentation for your operating system, as you might need to adjust the instructions in this overview. Examples include nesting the server block inside the http block of your main /etc/nginx/nginx.conf or placing nginx.conf as a standalone file in /etc/nginx/conf.d/.

  1. Install Nginx using the package manager for your operating system. For example:

    • Debian/Ubuntu

    • RHEL/CentOS/Fedora

    sudo apt update
    sudo apt install nginx
    sudo yum install nginx
  2. Copy the contents of the www/ directory from the PingIDM Legacy Admin UI extracted archive into the Nginx html webroot:

    cp -r /Downloads/tmp/www/* /usr/share/nginx/html/
    The default Nginx web root varies by distribution (commonly /usr/share/nginx/html or /var/www/html).
  3. If you want to disable the API Explorer, delete the api/ directory from your Nginx html webroot.

  4. Edit the nginx.conf file from the PingIDM Legacy Admin UI extracted archive:

    1. Update the root directive to point to your Nginx web root. For example, /usr/share/nginx/html.

    2. Update the proxy_pass directive to point to your IDM instance. For example, http://localhost:8080/openidm.

    Example nginx.conf excerpt
    ...
    server {
        listen       8082;        (1)
        server_name  localhost;
    
        root /usr/share/nginx/html;
        ...
        location /openidm {
            proxy_pass http://localhost:8080/openidm;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }
    }
    1 The server listens on port 8082 to avoid conflicts with IDM, which typically runs on port 8080.
  5. Copy the modified nginx.conf to the Nginx configuration directory:

    cp /Downloads/tmp/nginx.conf /etc/nginx/nginx.conf
    If you’re already using Nginx for other site configurations, do not overwrite your existing nginx.conf. Read about managing Nginx configuration files for guidance on integrating additional server blocks into your existing setup.
  6. Test the modified nginx.conf configuration for syntax errors:

    nginx -t
    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    nginx: configuration file /etc/nginx/nginx.conf test is successful
  7. Restart Nginx:

    systemctl restart nginx

Verify the installation

Make sure IDM is running and then go to the UIs:

  • Admin UI: http://localhost:8082/admin

  • API Explorer: http://localhost:8082/api

  • API Explorer (from Admin): http://localhost:8082/admin/#apiExplorer