Solved

Can we have more than 1 url specified in config.json serviceUrl for Universal GUI ?

  • 28 January 2021
  • 6 replies
  • 113 views

Userlevel 3
Badge +12

We want to access our Universal GUI application from multiple domains and would like to know if this is possible.

We have set in our Azure env the FD to handle second domain, and all works ok into seeing the login screen.

The Universal GUI however only supports to be configured 1 to 1 in the config.json → serviceurl parameter with the same domain of the url is accessed from.

Is it possible that we specify an array of service urls like below ? 

"serviceUrl": ["https://sub.domain.com/indicium/iam/iam",
                 "https://subdomain.azurefd.net/indicium/iam/iam"
                ]

icon

Best answer by Anne Buit 29 January 2021, 10:28

View original

6 replies

Userlevel 7
Badge +11

Hi mperrott,

This is not possible, but if it were possible, how would you specify which url to use? 

Can you explain what you are trying to achieve with this setup?

Userlevel 3
Badge +12

Hi Jasper,

 

Since we will use a single login to server multiple user groups from the same App, we would like to create a sudo feeling and uniqueness that each one has it’s one application, even though it is the exact same.

User group 1 will access via App1.somedomain.com

User group 2 will access via App2.somedomain.com

 

The URL used for accessing the Universal GUI login should replace the domain dynamically in the Meta Server Url in the login page, and also add it to be allowed by CORS policy in Indicium.

Userlevel 7
Badge +5

Would support for a relative serviceUrl be a good solution for you?

E.g. ./indicium/iam/iam.

Userlevel 3
Badge +12

Yes, getting the relative URL should be the best and would work I suppose.

Added additional info in previous comment.

Userlevel 3
Badge +12

Hi Anne Buit,

 

Should I open an idea for it ? or is there already an open one ?

Userlevel 3
Badge +12

 

Reply