Hi! I have created a react app following your guid...
# gd-beginners
s
Hi! I have created a react app following your guide: https://sdk.gooddata.com/gooddata-ui/docs/create_new_application.html When running the app locally, I am able to login and view my insights. Now I have deployed the app on Firebase hosting, the page loads but the login feature does not work. Has this something to do with CORS or white labeling? On production environment i get the following warnings
b
Hi Shaon, by the nature of the errors it seems that the app is not proxing requests from hb-gd-brandr.web.app to your gooddata domain. The accelerator toolkit sets this up automatically only for localhost. But to get full functionality you need to set proper backend…. please see https://sdk.gooddata.com/gooddata-ui/docs/platform_integration.html (especially step 3).
s
Thank you! Will look
j
Hello @Shaon Ahmed, @Boris is right. I would further recommend for you to see
build-with-explicit-hostname
in your package.json and search for
REACT_APP_SET_HOSTNAME
in your application to see what it does.
1
s
Thank you!