Accessing vIDM fails with Error: "You do not have permission to access this page: /hc/xxxx/authenticate/"
search cancel

Accessing vIDM fails with Error: "You do not have permission to access this page: /hc/xxxx/authenticate/"

book

Article ID: 396017

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • Login failure while accessing vIDM:
    You do not have permission to access this page: /hc/xxxx/authenticate/

  • Adding Identity Manager FQDN from the admin portal fails.

Environment

vIDM 3.3.7

Cause

IDP configuration value null in vIDM node's configuration file config-state.json causing authentication to fail.

"idp" : {
    "isConfigured" : false,
    "host" : null,

Resolution

Workaround:

Note: Before following the steps below, make sure to take cold snapshot of all the nodes.
Make note of the worker ID from the error message. For example 9999 is the worker ID from the following error message.
You do not have permission to access this page: /hc/9999/authenticate/
  1. SSH to VMware Identity Manager Appliance(s) using root credentials. Run following command and validate which node holds the error message worker Id previously noted.
    find / -iname config-state.json

  2. Stop the service ONLY on node which has the error message worker Id.
    service horizon-workspace stop

  3. Back up the current configuration file by running the command.
    mv config-state.json config-state.json.bkp

  4. Access Identity manager over UI using local credentials directly to the node.
    Go to "Identity and Access Management", Under "Directory Sync and Authentication" section.
    If the affected node connector is in use, switch to any other connector.

  5. From IDP Configuration, remove affected connector.
    And, Add the deleted connector, save the IDP configuration.

  6. Validate whether config-state.json has IDP configured as true after adding the connector back.

  7. Start horizon-service.
    service horizon-workspace start

  8. Restart opensearch service.
    /etc/init.d/opensearch restart

  9. Validate Directory Sync is successful.