Nicole Lopez
05/23/2022, 9:42 AMJiri Zajic
05/24/2022, 4:57 AMNicole Lopez
05/24/2022, 6:09 AMJiri Zajic
05/25/2022, 8:35 PMsrc/constants.js
file as you correctly pointed out. You should also check out package.json
for build-with-explicit-hostname
that sets REACT_APP_SET_HOSTNAME
variable to true
for the build process. Look for occurrences of REACT_APP_SET_HOSTNAME
in the codebase to understand what's happening.
Assuming there is only one shared session in your browser (same browser instance, two tabs), it should be enough to log in in either one (frontend app, or GoodData portal URL). Once you authenticate in one, the other will be authenticated as well. When you log out in one, the other will log out as well.
The cookies (GDCAuthTT and GDCAuthSST) are shared on the domain level, so once you're authenticated in frontend app, you are also authenticated in GoodData portal, and vice versa. Once you log out from either one, you will be logged out in both.Jiri Zajic
05/25/2022, 8:35 PMNicole Lopez
05/31/2022, 7:03 AM