"Invalid access policy" SSO login failure when accessing VCF Operations
search cancel

"Invalid access policy" SSO login failure when accessing VCF Operations

book

Article ID: 427108

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • SSO login to Management and Workload vCenters is not working.
  • Users are unable to authenticate in VMware Cloud Foundation (VCF) Operations.
  • When attempting to log in via SSO, the UI displays the following error:
    • Error: VCF Identity Broker encountered an issue during authentication. Please contact your VCF Admin with the below resolution.
    • Message: Invalid access policy 
  • The log file file-log-.log on the vIDB appliance contains a message similar to: com.vmware.vidm.accesscontrol.OAuth2ClientService - [getValidatedClient] Unable to verify client secret. Log Location: /var/log/services-logs/vidb-external/vidb-service/file-logs/file-log-##########.log

Environment

VCF Operations 9.0.x

SDDC Manager 9.x

vCenter Server 9.x

Resolution

  1. Pre-requisite Snapshots: Before proceeding, ensure you have taken snapshots of the vCenter Server and VCF Operations Fleet Manager appliances to allow for a rollback if necessary.
  2. Rotate OAuth2 Client Secret: Use Method 2 (Manually rotate the VC's OAuth2 client secret) as described in Unable to authenticate. Check your credentials - Login failure on 9.0 VCs due to invalid OAuth2 client .
  3. Cleanup SSO Configuration: If the issue persists or the VCF Identity Broker is down, follow the steps in Cleanup SSO configuration if VCF Identity Broker is down