I have an Angular Web application. I was following this process for setting up Sketchfab Login without leaving your app.
I am having trouble executing the
"without leaving" portion of the login that is referenced in the Sketchfab Login example. I have been trying to use an iframe but run into these errors:
Refused to display ‘https://sketchfab.com/’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’
ERROR Error: unsafe value used in a resource URL context
I resolved the unsafe issue via
bypassSecurityTrustResourceUrl() function. However, I cannot seem to make the iframe happy with the origin.
How might I successfully open the Sketchfab Login link in an iframe?
OR how else can I do Sketchfab Login without leaving the web app?