SSO and NSX Authentication Issues Post-Upgrade - VCF
search cancel

SSO and NSX Authentication Issues Post-Upgrade - VCF

book

Article ID: 461301

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Users are unable to log in with SSO credentials following an upgrade of VCF from 5.2 to 9.1.1: 

    Invalid redirect URL https://##############/login/oauth2/code/ws_one_VCF_SSO specified in authorize request
  • Users may report authentication errors, and access to NSX integration may fail.

  • Navigation to Manage > Identity & Access > VCF SSO Overview > [VIDB instance] > Component Configuration reveals that the NSX component has failed with the following error:
    API call https://<nsxfqdn>/api/vi/trust-management/oidc-uris/action/configure-vidb-oidc-endpoint failed with status 403 and error ("httpStatus":
    "FORBIDDEN", "error_code": 401, "module_name" : "common-services", "error_message":"User is not authorized to perform this operation on the application. Please contact the system administrator to get access."}

Environment

VMware Cloud Foundation 9.1.1

Cause

This issue is typically caused by one or both of the following:

  • Incorrect SSO configuration following the platform upgrade.
  • Misconfigured system-managed credentials for the NSX adapter within VCF, which disrupts the authentication flow between VCF and NSX.

Resolution

  1. Reconfigure SSO and Resync Groups:

    1. Login to VCF Operations UI
    2. Verify the current SSO configuration settings in the VCF environment by navigating to Manage > Identity & Access > VCF SSO Overview
    3. Reconfigure SSO settings if necessary.
    4. Run a synchronization for the SSO groups to ensure user permissions are correctly mapped post-upgrade.
  2. Verify and Reconfigure NSX Adapter Credentials:

    1. Login to VCF Operations UI
    2. Navigate to Operate > Administration > Integrations > Locate NSX adapter Instance >  Click on 3 dots beside the instance > Click Edit.
    3. Check for incorrect or outdated system-managed credentials.
    4. Reconfigure the credentials for the NSX adapter to ensure proper authentication between VCF and the NSX instance.
  3. Verification:

    1. Attempt to log in using an SSO user account.
    2. Verify that the NSX integration is accessible and that there are no remaining warnings regarding certificate thumbprints or connectivity.