Eugene Lee
10/16/2023, 10:06 AM@gooddata/sdk-ui@9.0.1
Our GD is hosted on a subdomain <https://prod.analytics.company.com>
Our application is on <https://www.company.com>
which is a React application with an embedded react GD dashboard component on the /dashboard
route. We use TigerBackend
with ContextDeferredAuthProvider
Since upgrading from 2.4.0
to 2.5.0
of <http://GoodData.CN|GoodData.CN>
it seems like our silent login no longer works.
When the user first hits /dashboard
they are redirected to <https://prod.analytics.company.com>
and immediately sees the list of workspaces. (We do not want them to use the dashboard outside of the embedded react app)
The second time the user hits /dashboard
this is no longer the case. No redirection happens and the embedded dashboard loads. This is probably because there is now a cookie set for <https://prod.analytics.company.com>
. I can confirm that removing this cookie reverts to the first behaviour.
Doing a little troubleshooting, I can see that internally, createTigerAuthenticationUrl
is redirecting me to <https://prod.analytics.company.com/appLogin?redirectTo=https://www.company.com/dashboard>
However this never happens the first time around.
Has anything changed in GD.CN since 2.4.0? I have tried updating the reactsdk to 9.2
but it doesn't work entirely due to a different error.
Can anybody please assist?Eugene Kim
10/16/2023, 2:26 PMEugene Kim
10/16/2023, 2:32 PMconst backend = tigerFactory()
.onHostname(GD_BASE_URL)
// redirect authentication flow
.withAuthentication(new ContextDeferredAuthProvider(redirectToTigerAuthentication));
Eugene Lee
10/16/2023, 2:43 PMJan Kos
10/17/2023, 12:50 PM2.4.0
to 2.5.0
was the only change when it started to behave like you are describing?Eugene Lee
10/17/2023, 4:28 PMJan Kos
10/25/2023, 3:03 PM3.0
would you be able to test if the described behaviour persists?Ant贸nio Bezerra
11/13/2023, 10:40 AMEugene Lee
11/13/2023, 1:34 PMAnt贸nio Bezerra
11/13/2023, 2:19 PMBoris
11/13/2023, 10:38 PMBoris
11/15/2023, 11:40 AMEugene Lee
12/04/2023, 1:38 AMBoris
12/06/2023, 12:35 PM