Community
Fusion Team, Data, & Project Management
Need help managing your Fusion (formerly Fusion 360) Team Hub? Have questions about adding or removing team members, or permissions? Get help from the collaboration experts.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iFrame embed 3d model cookies issue on Chrome

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Emanuele_Pinton
466 Views, 3 Replies

iFrame embed 3d model cookies issue on Chrome

I'm embedding a model on a website through the iFrame HTML code but unfortunately it's stuck on an endless loading loop.

I'm not web savy but the console gave the ''Failed to read the 'localStorage' property from 'Window': Access is denied for this document'' error back; after a research I quickly found out me having the ''block third party cookies and site data'' setting activated is what's causing the issue.

Unchecking the box solves the problem but one can only wonder how many people will actually bother changing their own browser settings, so I was wondering if there are any workarounds that can be done directly from fusion (as I have no issues with other embedded content from other web sources) or if I should just look for help on web development related forums.

 

Cheers

Labels (3)
3 REPLIES 3
Message 2 of 4
jodom4
in reply to: Emanuele_Pinton

Hey @gasevsm , can you take a look at this issue?


Jonathan Odom
Community Manager + Content Creator
Oregon, USA

Become an Autodesk Fusion Insider



Message 3 of 4
gasevsm
in reply to: Emanuele_Pinton

The shared iFrame using our cloud URLs requires cookies and scripts to operate a interactive model viewer though which users collaborate on the rendered design. As such those, cookies and/or scripts will be [tried to be] established with our ADSK‘S website’s context and this suggests cross-origin matter - basic internet behavior kicks in. Many browsers block this by default for last several years to ensure user privacy where cookies or scripts can go outside their iframe and read host data info - such is the nature of malware. Meaning, these cookies will run outside the context of your hosted website where you wish to embed to, hence from your hosted page’s point of view, Chrome sees our iframe’s cookies as external 3rd party and engages. This is a light non-technical approximation of what might be happening under the covers based on the symptoms.
  Specifically setting autodesk’s base url website in the exclusion rule from 3rd party blocking suggests your host page to trust the cookies and scripts we bring with the iframe. Unblocking all carte blanche like you did is definitely not recommended as I explained other things the site embeds or interacts with may not be well-intended as our viewer to stay within its cone.. 
  Is it possible that you might be embedding other iframes that either bring cookies that are non-essential and they do get blocked yet those iframes run, or they do not require cookies and/or scripts whatsoever.  Another possibility is those other vendor sites and your host site support what is called CORS where each can allow-list domains/ip addresses etc telling scripts to run from respective external domains and things would work. Not sure what setup you have as this might be your IT matter. Nevertheless, Cross-Origin Resource Sharing is not available in Fusion currently.


Martin Gasevski | Fusion 360 Team Product Manager
Message 4 of 4
Emanuele_Pinton
in reply to: gasevsm

Thank you very much for the detailed explanation!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report