Select to view content in your preferred language

WAB 2.1 authorizedCrossOriginDomains in config.json how to set

4722
11
08-09-2016 11:23 AM
DavidColey
Honored Contributor

Hi - there is a json key value pair in the config for the WAB

"authorizedCrossOriginDomains": [],

Is this set the same way we set corsEnabledServers in the api e.g.

esriConfig.defaults.io.corsEnabledServers.push("agsdev.scgov.net");

Thanks-

David

Tags (1)
0 Kudos
11 Replies
RobertScheitlin__GISP
MVP Emeritus

Thanos Of Titan,

  Sorry I am not a Portal user so I do not have that info. Maybe  Derek Law​ would have some input on the portal component.

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Robert,

Apologies for the late reply, I was out on vacation the last couple of weeks.

@Chris: Can you please see my response to your thread on this topic here,
Why wab dev 2.0 doesn't work with portal but 1.3 version does? 

Derek

0 Kudos