OpenShift
Using Hanzo IAM for authentication in OpenShift
OpenShift supports OIDC, so we can integrate Hanzo IAM with OpenShift. The following steps demonstrate how to integrate Hanzo IAM with OpenShift Local using the online demo of Hanzo IAM.
Step 1: Create a Hanzo IAM application
In Hanzo IAM add an application. Note Client ID and Client secret. Set Redirect URL to https://oauth-openshift.apps.<cluster_name>.<cluster_domain>/* (adjust for your cluster).

Step 2: OpenShift OAuth Configuration
Now log into the OpenShift Console as Kubeadmin. Once you are logged in, browse to the side menu and locate the Cluster settings.

Under Global Configuration, open OAuth.

In Identity Provider → ADD, select OpenID Connect.

Enter Client ID and Client secret from step 1. Set Issuer URL to https://<iam-host> (HTTPS required).

Step 3: Test OIDC Authentication
Open the OpenShift console in a browser. Select the Hanzo IAM login option (the name configured above); you are redirected to the Hanzo IAM login page.

How is this guide?
Last updated on