Hi Team,
I am setting the embeded dashboards into react application.
I have setup the single sign on using auth0 using same client Id (same for my application & gooddata) when I am signed in on my app it does not need login for good data as well. But when I embeb dashboard using iframe in my app it cannot authenticate as the api for profile etc. fail with 401(Not Authenticated). Is there any context setup needed for the iframe so that it can work. I am not using React SDK.
j
Joseph Heun
01/22/2025, 2:41 PM
Hello Siraj, You can find how to authenticate when embedding with iframes, HERE
Essentially, If you are using an OpenID Connect (OIDC) identity provider for authentication, the authentication process should be automatic. However, if you want to use API tokens for authentication, you will need to handle this type of authentication manually.
s
Siraj Ur Rahman
01/23/2025, 5:29 AM
The issue is that the automatic authentication is not working getting back 401 from the api calls that were made by the iframe. That's the reason I was asking what context or any specific parameters needs setting up for the iframe.
j
Joseph Heun
01/27/2025, 1:05 PM
Could you please provide the traceID from the attempt to login so we can reference our logs with it?
m
Mauricio Cabezas
02/03/2025, 8:19 AM
Hi Siraj, we’re just wondering if you've had a chance to review my colleague's latest update about provide to us the traceID. Please let us know if you still need any further assistance.