Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookieless Embed: Each new LookerEmbedSDK.createDashboardWithId creates a new session #209

Open
francispoole opened this issue Dec 20, 2024 · 0 comments

Comments

@francispoole
Copy link

I currently have cookieless embed dashboards being shown on multiple pages in our NextJS site. Looking at network requests, it seems that each time I navigate to a different page with a new dashboard it makes a new call to /acquire-embed-session to refetch the tokens.

This means that each page change needs to wait for the session to the recreated which can mean additional loading times for the dashboard. This also occurs if I have multiple dashboards on the same page - each makes it's own call to /acquire-embed-session.

My assumption was that, given valid tokens already exist, it would not need to do this for each new dashboard? Is this an error in my implementation or are the tokens directly tied to each dashboard and new ones are needed for each?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant