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
-
Download the applicable version of the PingIDM Legacy Admin UI
.ziparchive from the Backstage download site. -
Extract the
.ziparchive: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/.
-
Install Nginx using the package manager for your operating system. For example:
-
Debian/Ubuntu
-
RHEL/CentOS/Fedora
sudo apt update sudo apt install nginxsudo yum install nginx -
-
Copy the contents of the
www/directory from the PingIDM Legacy Admin UI extracted archive into the Nginxhtmlwebroot:cp -r /Downloads/tmp/www/* /usr/share/nginx/html/The default Nginx web root varies by distribution (commonly /usr/share/nginx/htmlor/var/www/html). -
If you want to disable the API Explorer, delete the
api/directory from your Nginxhtmlwebroot. -
Edit the
nginx.conffile from the PingIDM Legacy Admin UI extracted archive:-
Update the
rootdirective to point to your Nginx web root. For example,/usr/share/nginx/html. -
Update the
proxy_passdirective to point to your IDM instance. For example,http://localhost:8080/openidm.
Examplenginx.confexcerpt... 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 8082to avoid conflicts with IDM, which typically runs on port8080. -
-
Copy the modified
nginx.confto the Nginx configuration directory:cp /Downloads/tmp/nginx.conf /etc/nginx/nginx.confIf 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. -
Test the modified
nginx.confconfiguration 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 -
Restart Nginx:
systemctl restart nginx