VIP Auth Hub - How to change the FQDN of an already deployed Sample app?
search cancel

VIP Auth Hub - How to change the FQDN of an already deployed Sample app?

book

Article ID: 269020

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction

How to change the FQDN of an already deployed VIP Authentication Hub OOTB Sample app?

Environment

Release : 2.1

VIP Authentication Hub

Cause

Request For Information (RFI)

Resolution

The data is stored in a ConfigMap with "envjs" at the end of the name.

For example, in test environment:

$ kubectl get cm -n sample-app sample-app-ssp-sample-app-envjs -o go-template='{{ index .data "env.js" }}'
(function(window) {
    window.__env = window.__env || {};

    // Host url to connect to
    window.__env.baseServiceUrl = 'https://_host.example.com/default/';
    //Client id of connecting application
  window.__env.clientId = 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee';
    //client secret
  window.__env.clientSecret = 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee';

}(this));

Please edit the ConfigMap in your environment to change the URL, client ID, and client secret.

A restart of the sample app deployment will be required for the change to take place.

 

Additional Information

None.