Set up SSO with OpenShift
Single Sign-On (SSO) is an authentication scheme, allowing users to log-in with a single pair of credentials to multiple, independent software systems.
This article explains the procedure to configure single sign-on to NVIDIA Run:ai using the OpenID Connect protocol in OpenShift V4.
Prerequisites
Before starting, make sure you have the following available from your OpenShift cluster:
ClientID - The ID used to identify the client with the Authorization Server.
Client Secret - A secret password that only the Client and Authorization Server know.
Base URL - The OpenShift API Server endpoint (for example, https://api.<cluster-url>:6443)
Setup
Adding the identity provider
Go to General settings
Open the Security section and click +IDENTITY PROVIDER
Select OpenShift V4
Enter the Base URL, Client ID, and Client Secret from your OpenShift OAuth client.
Copy the Redirect URL to be used in your OpenShift OAuth client
(Optional) Enter the user attributes and their value in the identity provider as shown in the below table
Click SAVE
User role groups
GROUPS
If it exists in the IDP, it allows you to assign NVIDIA Run:ai role groups via the IDP. The IDP attribute must be a list of strings.
Linux User ID
UID
If it exists in the IDP, it allows researcher containers to start with the Linux User UID. Used to map access to network resources such as file systems to users. The IDP attribute must be of type integer.
Linux Group ID
GID
If it exists in the IDP, it allows researcher containers to start with the Linux Group GID. The IDP attribute must be of type integer.
Supplementary Groups
SUPPLEMENTARYGROUPS
If it exists in the IDP, it allows researcher containers to start with the relevant Linux supplementary groups. The IDP attribute must be a list of integers.
Defines the user attribute in the IDP holding the user's email address, which is the user identifier in NVIDIA Run:ai
User first name
firstName
Used as the user’s first name appearing in the NVIDIA Run:ai platform
User last name
lastName
Used as the user’s last name appearing in the NVIDIA Run:ai platform
Testing the setup
Open the NVIDIA Run:ai platform as an admin
Add access rules to an SSO user defined in the IDP
Open the NVIDIA Run:ai platform in an incognito browser tab
On the sign-in page click CONTINUE WITH SSO You are redirected to the OpenShift IDP sign-in page
In the identity provider sign-in page, log in with the SSO user who you granted with access rules
If you are unsuccessful signing-in to the identity provider, follow the Troubleshooting section below
Editing the identity provider
You can view the identity provider details and edit its configuration:
Go to General settings
Open the Security section
On the identity provider box, click Edit identity provider
You can edit either the Base URL, Client ID, Client Secret, or the User attributes
Removing the identity provider
You can remove the identity provider configuration:
Go to General settings
Open the Security section
On the identity provider card, click Remove identity provider
In the dialog, click REMOVE to confirm
Troubleshooting
If testing the setup was unsuccessful, try the different troubleshooting scenarios according to the error you received.
Troubleshooting scenarios
Last updated