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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Using appKey to avoid log in when launching mashup

andrewtim
1-Newbie

Using appKey to avoid log in when launching mashup

I've created an appKey, and tested that it passes browser authentication:

 

http://localhost:8080/Thingworx/Mashups?appKey=a0f4f7c7-de62-4bfb-bccf-ab7dea22c187 takes me to the listing of mashups without a prompt - which I would have seen without the appKey parameter on the URL.

 

I would like to launch my mashup:

 

This doesn't work.  Is there a way to use an appKey to allow the mashup to know who I want logged in without being prompted?

 

Thank you, Andy



3 REPLIES 3
paic
1-Newbie
(To:andrewtim)

Hi Andy, this is actually something that you can find in the FAQ

http://localhost:8080/Thingworx/Mashups/YourMashupName?appKey=[YourKeyHere]&x-thingworx-session=true

So you need to make sure you create a session.



Thanks Pai

Keep in mind that your appKey is visible in that address bar now. That could be undesirable, depending on your application.

Top Tags