Skip to main content
Solved

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

  • January 28, 2021
  • 6 replies
  • 121 views

mperrott
Hero
Forum|alt.badge.img+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"
                ]

Best answer by Anne Buit

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

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

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

6 replies

Jasper
Superhero
  • 678 replies
  • January 29, 2021

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?


mperrott
Hero
Forum|alt.badge.img+12
  • Author
  • Hero
  • 99 replies
  • January 29, 2021

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.


Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 653 replies
  • Answer
  • January 29, 2021

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

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


mperrott
Hero
Forum|alt.badge.img+12
  • Author
  • Hero
  • 99 replies
  • January 29, 2021

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

Added additional info in previous comment.


mperrott
Hero
Forum|alt.badge.img+12
  • Author
  • Hero
  • 99 replies
  • January 29, 2021

Hi Anne Buit,

 

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


mperrott
Hero
Forum|alt.badge.img+12
  • Author
  • Hero
  • 99 replies
  • January 29, 2021

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings