Skip to main content
Solved

Embedding Thinkwise in another application


NickJanssen
Captain
Forum|alt.badge.img+5

Hi,

We have another application (say application X) where development is done to integrate our Thinkwise application in another web application. I was wondering if this is possible and if so, how to approach this. We currently have the following problem:

  1. User clicks a specific button in application X, which triggers a popup in application X showing the Thinkwise application in Application X:

     

  2. User logs into Thinkwise (Open ID), but still via application X. User cannot see anything of the Thinkwise application:

 


What can we do in order to solve this problem?

 

Thanks in advance!

Best answer by NickJanssen

Hi,

Sorry for the late update.

We did not manage to get this working quickly enough, so chose for a solution where our thinkwise application is opened in another tab.

Thanks for the replies.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

8 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Nick,

I believe you can embed the Universal GUI if you make sure both the Universal GUI and the other application run on the same domain; due to CORS. Not sure though.


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 973 replies
  • July 2, 2024

@NickJanssen could it be that you have the Security Headers configured according to the recommendations in the Docs? IIS configuration | Thinkwise Documentation (thinkwisesoftware.com)

If so, it might be that you need to change the value for the X-Frame-Options in order to allow the Universal GUI to be displayed within an iframe of another application.

Check this link for options:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

 


NickJanssen
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • 43 replies
  • July 3, 2024

Thanks for the replies. I can see my screenshot does not contain all the info:

 

Is it maybe the case that the redirect URL configured in the Azure Portal does not comply with the URL the user is coming from? Is there any workaround for this or will this method simply not work?


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 973 replies
  • July 3, 2024

@NickJanssen Check, then the issue is with the https://login.microsoftonline.com, for which you cannot control the Security settings. However, they don't seem to use the X-Frame-Options (Scan results for https://login.microsoftonline.com/ (securityheaders.com)), so perhaps you can get it working.

I recommend searching on the error ‘login.microsoftonline.com refused to connect’, it does give quite a number of results. Some of these you might be able to review and test. See some suggestions here, the ‘Block third-party cookies’ setting in your browser is probably the easiest to check and test:

login.microsoftonline.com refused to connect on xFrame - Microsoft Q&A


NickJanssen
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • 43 replies
  • July 4, 2024

We are going to investigate. I’ll post an update here when I have one. Thanks for all the suggestions.


Forum|alt.badge.img+3

Also, the ‘other’ application might have a Content-Security-Policy containing a frame-src. So you might get an error like:

 

In most cases, the browser developer tools show an error which might give a clue. 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi @NickJanssen, any updates on this? Do you still require our assistance?


NickJanssen
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • 43 replies
  • Answer
  • October 15, 2024

Hi,

Sorry for the late update.

We did not manage to get this working quickly enough, so chose for a solution where our thinkwise application is opened in another tab.

Thanks for the replies.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings