Issues with implementing Sketchfab Login api without leaving application; Refused to display 'https://sketchfab.com/' in a frame

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 DomSanitizer's bypassSecurityTrustResourceUrl() function. However, I cannot seem to make the iframe happy with the origin.

Questions:

  1. How might I successfully open the Sketchfab Login link in an iframe?

  2. OR how else can I do Sketchfab Login without leaving the web app?

I have registered the app with Sketchfab already

If there is any idea as to how to achieve Sketchfab login without leaving a web application, I am still interested in finding an answer to this.

Same issue! @JonKartorium Were you able to resolve it ?

I wasn’t. We shelved it until further notice. I would still love to know if there is an answer.

I am also having this issue, is this still unresolved? As you state the iframe implicit flow do-not-leave-website approach is mentioned in their documentation. I was sure I was missing something until I found your post.