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

Using appKey to avoid log in when launching mashup

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

Using appKey to avoid log in when launching mashup

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.



Using appKey to avoid log in when launching mashup

Thanks Pai

Using appKey to avoid log in when launching mashup

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