ARD Hub login gives "Invalid Parameter: redirect_uri" error OR getting "Unknown Communication error: 401" message and projects are not loaded

book

Article ID: 186034

calendar_today

Updated On:

Products

CA Agile Requirements Designer

Issue/Introduction

When using localhost for ARD HUB console login url, inside ARD HUB machine, getting "Unknown Communication error: 401" message and projects are not loaded. When using ip address in the console login url getting "Invalid Parameter: redirect_uri" error.

Cause

The reason for the error was that, during KeyCloak installation, the "KEYCLOAK_ADDR" was given value as localhost and then all configurations were done internally by server with localhost making it unable to understand the IP address when used in the console URL.

Environment

Release : 3.0

Component : CA Agile Requirements Designer

Resolution

First make sure that the environment variables for KEYCLOAK_ADDR and ARD_ADDR are using IP address for the ARD HUB to be functioning from remote ARD Studio components.

- https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/continuous-testing/agile-requirements-designer/3-0/installing/install-ard-hub/install-ard-hub-using-docker/install-ard-hub-manually.html

Then, configure the Valid Redirect URLs to add the same URL as existing one but has IP address in it.

Here is the reference link keycoak configuration: https://www.keycloak.org/docs/5.0/server_admin/#oidc-clients