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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Anonymous or Public access.

tvandenb
7-Bedrock

Anonymous or Public access.

How to allow anonymous access for a mashup? Or in other words, how do I create a mashup that is viewable for the public without login.

ACCEPTED SOLUTION

Accepted Solutions
Aanjan
12-Amethyst
(To:tvandenb)

You can create a user with permissions to that specific Mashup (along with any related entities), and then create an appKey based on that user. Once you have an appKey, you can access the Mashup at, for example,


localhost/Thingworx/Mashups/Name_of_Mashup?&appKey=appKey_you_created&x-thingworx-session=true


The x-thingworx-session parameter here would persist the user session across the Mashup and others attached to it.

Once again, please note that the created appKey, based on the user, will have access to everything that user has. So, it would be a bad practice to create one based on the Administrator, as it would have pretty much have complete access.

View solution in original post

1 REPLY 1
Aanjan
12-Amethyst
(To:tvandenb)

You can create a user with permissions to that specific Mashup (along with any related entities), and then create an appKey based on that user. Once you have an appKey, you can access the Mashup at, for example,


localhost/Thingworx/Mashups/Name_of_Mashup?&appKey=appKey_you_created&x-thingworx-session=true


The x-thingworx-session parameter here would persist the user session across the Mashup and others attached to it.

Once again, please note that the created appKey, based on the user, will have access to everything that user has. So, it would be a bad practice to create one based on the Administrator, as it would have pretty much have complete access.

Announcements


Top Tags