Michael DeWulf
06/15/2024, 2:59 PMRadek Novacek
06/17/2024, 1:13 PMMichael DeWulf
06/17/2024, 1:48 PMRadek Novacek
06/17/2024, 2:33 PMMichael DeWulf
06/17/2024, 3:02 PMMichael DeWulf
06/17/2024, 3:04 PMWe will provide a lightweight JavaScript library to make JWT-based authentication easier to use while maintaining the simplicity of iframe embedding. This method also supports authentication methods not natively supported by GoodData (e.g., SAML, LDAP, custom authentication).
Michael DeWulf
06/17/2024, 3:40 PMRadek Novacek
06/17/2024, 3:45 PMMichael DeWulf
06/17/2024, 6:27 PMContextDeferredAuthProvider
with redirectToTigerAuthentiaction
. Did I miss a step in setting up auth?Radek Novacek
06/18/2024, 8:08 AMMichael DeWulf
06/18/2024, 11:04 AMgrep gooddata package.json
"@gooddata/api-client-tiger": "^10.3.0",
"@gooddata/sdk-backend-tiger": "^10.3.0",
"@gooddata/sdk-model": "^10.3.0",
"@gooddata/sdk-ui-charts": "^10.3.0",
"@gooddata/sdk-ui-dashboard": "^10.3.0",
"@gooddata/sdk-ui-ext": "^10.3.0",
"@gooddata/sdk-ui-geo": "^10.3.0",
"@gooddata/sdk-ui-pivot": "^10.3.0",
Michael DeWulf
06/18/2024, 11:04 AMRadek Novacek
06/18/2024, 11:22 AMMichael DeWulf
06/18/2024, 2:16 PMMichael DeWulf
06/19/2024, 1:18 PMRadek Novacek
06/19/2024, 1:38 PMMichael DeWulf
06/19/2024, 3:08 PMMichael DeWulf
06/19/2024, 3:10 PMMichael DeWulf
06/19/2024, 6:13 PMMichael DeWulf
06/19/2024, 6:19 PMimport { ShowBase } from "react-admin";
import { ErrorBoundary } from "react-error-boundary";
import { AxiosInstance } from "axios";
import tigerFactory, {
ContextDeferredAuthProvider,
redirectToTigerAuthentication,
} from "@gooddata/sdk-backend-tiger";
import { BackendProvider, WorkspaceProvider } from "@gooddata/sdk-ui";
import { Dashboard } from "@gooddata/sdk-ui-dashboard";
import "@gooddata/sdk-ui-dashboard/styles/css/main.css";
import "@gooddata/sdk-ui-filters/styles/css/main.css";
import "@gooddata/sdk-ui-charts/styles/css/main.css";
import "@gooddata/sdk-ui-geo/styles/css/main.css";
import "@gooddata/sdk-ui-pivot/styles/css/main.css";
import "@gooddata/sdk-ui-kit/styles/css/main.css";
import "@gooddata/sdk-ui-ext/styles/css/main.css";
const DashboardEmbed: React.FC = () => {
// Setup GoodData.
const gdAuthProvider = new ContextDeferredAuthProvider(
redirectToTigerAuthentication
);
const backend = tigerFactory()
.onHostname("<https://dashboards.goarrowsup.com>")
.withAuthentication(gdAuthProvider);
return (
<BackendProvider backend={backend}>
<WorkspaceProvider workspace={"arrows-up"}>
<Dashboard dashboard={"af05374e-58ab-4603-ae93-62ad99351059"} />
</WorkspaceProvider>
</BackendProvider>
);
};
export const GoodDataDashboardShow = (api: AxiosInstance) => {
return (
<ShowBase resource="gooddata-dashboard-config">
<ErrorBoundary fallback={<div>Something went wrong</div>}>
<DashboardEmbed />
</ErrorBoundary>
</ShowBase>
);
};
Radek Novacek
06/20/2024, 1:43 PMMichael DeWulf
06/24/2024, 6:38 PMMichael DeWulf
06/27/2024, 3:58 PMJan Kos
06/28/2024, 12:32 PM/api/v1/actions/workspaces/WS_ID/execution/afm/execute
and
corresponding result fetch
api/v1/actions/workspaces/WS_ID/execution/afm/execute/result/EXEC_HASH?offset=0%2C0&limit=100%2C1000
do you see the calls?Michael DeWulf
07/03/2024, 7:55 PMMichael DeWulf
07/03/2024, 7:57 PMRadek Novacek
07/08/2024, 12:33 PMMichael DeWulf
07/08/2024, 1:40 PMMichael DeWulf
07/08/2024, 1:41 PMRadek Novacek
07/08/2024, 1:43 PMMichael DeWulf
07/08/2024, 1:43 PMMichael DeWulf
07/08/2024, 1:46 PMMichael DeWulf
07/08/2024, 6:18 PMThird-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
in Chrome and I have nothing working in safari. This is when using the InsightView
directly. I'm looking into this. Obviously need a solution that doesn't use third-party cookies since those are going away everywhere (otherwise I'd keep using iframes).
I'll keep you updated if I find anything on my end.Michael DeWulf
07/08/2024, 6:30 PMMichael DeWulf
07/09/2024, 6:54 PMMichael DeWulf
07/09/2024, 7:49 PMMichael DeWulf
07/09/2024, 7:50 PMRadek Novacek
07/11/2024, 10:44 AMMichael DeWulf
07/12/2024, 2:22 AM