Unable to Reconfigure SSO in PCD UI Using the Same Entity ID

Problem

After disabling SSO in the Platform9 PCD UI, attempting to reconfigure SSO with the same entity ID is not allowed. The UI displays an error "Identity provider already exists" or does not permit using the previous entity ID for SSO setup.

Environment

  • Private Cloud Director Virtualization - till 2025.7-47

  • Private Cloud Director Kubernetes – till 2025.7-47

  • Self-Hosted Private Cloud Director Virtualization - till 2025.7-47

  • Self-Hosted Private Cloud Director Kubernetes - till 2025.7-47

  • Component - SSO

Cause

Disabling SSO from the PCD UI removes the SSO settings from the backend service (Consul) but does not delete the Identity Provider (IDP) object from OpenStack. This means the entity ID stays in OpenStack, stopping reuse during reconfiguration.

This was a known issue which is tracked under PCD-3227 and is now fixed starting with the August release (v2025.8-92) and higher.

Diagnostics

To allow SSO to be reconfigured with the same entity ID

Step 1: List existing identity provider:

Step 2: Verify Existing IDP Configuration:

Use the following commands to check the current IDP state (replace <IDP1_VALUE> with the actual identity provider name):

Run these commands to review and confirm the existing identity provider (IDP) configuration including its details, associated federation protocols, mappings, and any related OpenStack groups.

The above step is to ensure that you are deleting the correct identity provider and do not accidentally remove configurations that may be used by other SSO integrations, mappings, or user groups. Proceed with deletion only if you are certain that the information shown matches the identity provider you intend to remove.

Workaround

Delete the stale identity provider using the below Openstack command:

Validation

After deleting the identity provider, refresh the PCD UI and reconfigure SSO with the desired entity ID.

Last updated