cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy React app as HTML5 in Build work zone - with Custom domain

sreehari_vpillai
Active Contributor
0 Kudos
227

I have a React app deployed in HTML5 repository and provisioned as a URL app in Build work zone , standard edition. After assigning a custom domain, all the normal UI5 apps work as expected, but the react app is not opening. As this is running in an iframe, its redirecting to the cloud identity services - that's URL is blocked in the iframe. 

anyone already tried these ? 

 

gregorw
Active Contributor
0 Kudos
Is your React app served via it's own custom approuter?
sreehari_vpillai
Active Contributor
0 Kudos

No , managed app router in HTML5 repository .
To add, when I access any app directly from HTML5 repo , the custom domain configured for launchpad is not showing up - Its shows https://<subdomain>.launchpad.cfapps.eu10.hana.ondemand.com.... 

I changed it to https://subd.mydomain.com/<Appid> and it redirects to login screen, comes back with "

Uh oh.
Something went amiss.

" Perhaps its something missing configurations ?

 

View Entire Topic
sreehari_vpillai
Active Contributor
0 Kudos

I managed to find the route cause. 
1 - I replaced my URL tiles target URL with the custom domain one

2 - Added https://<subdomain>.authentication.hana....com url in trusted domains in Cloud Identity services ( this was blocking the iframe to redirect to login screen ) 

So - Now I can access the apps directly from HTML5 repo and from Build work zone 

 

Sree

Sankara1
Product and Topic Expert
Product and Topic Expert
Hello Sreehari, Thanks for your confirmation and sharing Root cause.