Hello, Is it possible to authenticate viac injecte...
# gooddata-cn
t
Hello, Is it possible to authenticate viac injected API token for embedded dashboard iframes? According to docs and our tests it is only possible for Analytical Designer embed, however we would want to authenticate this way an embedded dashboard iframe as well. If it is not possible, will it be possible in the near future?
m
Hello @Tomáš Kačur, this functionality is available only for AD. Dashboards is possible to embed using dashboard component from GD.UI SDK. It is possible to inject API token also to the SDK. We have noticed multiple questions about the injecting API token to embedded Dashboards via iframe. I will take it to product team to consider added this add the injecting API token feature also there.
p
🎉 New note created.
t
@Martin Burian thanks for the explanation. We tried separately to embed dashboard via GD UI SDK, found out it works but the SDK doesn’t support react 18 which is the version our production uses. So now we will have to wait either for: 1. support of api token injection in iframe 2. support of react 18 in gooddata-ui-sdk Can you tell which one could be sooner and when?
m
Understood. React 18 support planed in SDK ver. 9 and planned released in Q2 API support in Dashboards iframe is not planned, but today I spoke with product and it could happen and if so, it could be faster than SDK 9.
👍 1
t
we finally tried render the react dashboard component on react 18 and it seem to be working with some warnings which is ok for us. However we would appreciate if it is fully supported on react 18 as well or supported in iframe with token injection. thank you!