cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to prevent thingworx login in hyperlink of a logged in mashup

MDUser
6-Contributor

How to prevent thingworx login in hyperlink of a logged in mashup

Hi,

We are having a mashup showing grid column. The numeric values in grid are hyperlinked(using <a href=""></a> tag of HTML in thingworx service) to show a new mashup from it.On click on the numeric value, the new mashup opens but it asks for thingworx user credentials the first time. In order to prevent the same we are planning to pass application key along with the url in hyperlink. But the url including the appkey will be displayed in the mashup url, please let us know if there is any other option to prevent entering the credentials.

2 REPLIES 2
PaiChung
22-Sapphire I
(To:MDUser)

I'm not totally confident this is possible, but what you need is to establish a client side session before hand.

So potentially invoking a url 'silently' with the session switch to true and the appkey might do the trick

sorry never actually done it, so you may have to experiment.

maybe do it with a hidden webframe widget if it has to be a mashup

Please note that any of these client side methods will be visible if someone has the developer tool open.

the proper secure way would be to use SSO or to make them login

MDUser
6-Contributor
(To:PaiChung)

Hi Pai,

Thanks for the response. Our requirement is to open a mashup on clicking a cell in grid (selected row will not suffice, we want a particular cell only). For the same we have made the cells as html links (which points to a mashup) programatically. But since this mashup is already loaded from a Formlogin page, we don't want to enable login once more on clicking the cell of the grid. Can you suggest any other options that would help us here. As you mentioned appkey passing on the link might not be a good option.

Announcements


Top Tags